Results 1 to 7 of 7

Thread: Keep running into unresolved dependencies

  1. #1
    Join Date
    Jul 2011
    Beans
    2

    Exclamation [SOLVED] Keep running into unresolved dependencies

    Hi,
    I've been using Kubuntu for about a year and a half by now.
    One of the main problems I keep encountering is unresolved dependencies which prevent me from updating my packages or installing new ones.
    Typically I install things only from the repos so I don't understand why this should happen. Some packages regularly cause problems: skype, pgl and crossover but often also removing and reinstalling them doesn't help.
    I'm also aware of the --full-resolver option in aptitude. I typically try to get around the issue of unresolved packages by running
    Code:
    sudo aptitude --full-resolve upgrade
    but this doesn't always work. Now for instance (and this happened before as well) the --full-resolver solution is to delete over 200 packages! all of them btw are of 32 bit versions (i386). I cannot imagine that this is the best way to solve this (and i find it hard to believe that my system will run again if I ever choose to do that). Prob. what's causing the problem is one or two packages. How could it be then that the solution such an overkill?

    I'd appreciate tips on how to resolve my current situation and how to avoid it in the future.

    Thanks in advance,
    Roey

    p.s
    I'm running kubuntu 12.04.1 64 bit, but had the same issue with previous versions.
    Last edited by roey.angel; October 4th, 2012 at 07:58 AM. Reason: Issue is resolved

  2. #2
    Join Date
    Sep 2012
    Beans
    21

    Re: Keep running into unresolved dependencies

    I've had that problem with aptitude before as well; I tend to stick with apt-get and it generally works just fine.

  3. #3
    Join Date
    Apr 2011
    Location
    Maryland
    Beans
    1,461
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Keep running into unresolved dependencies

    It might be helpful to see what's bogging down the works. Maybe posting the output of:

    Code:
    sudo apt-get update && sudo apt-get upgrade
    so we can see what packages are causing the problems and what dependencies are needed.

  4. #4
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Keep running into unresolved dependencies

    Quote Originally Posted by roey.angel View Post
    Hi,
    I've been using Kubuntu for about a year and a half by now.
    One of the main problems I keep encountering is unresolved dependencies which prevent me from updating my packages or installing new ones.
    This is a known bug with aptitude and multiarch: https://bugs.launchpad.net/ubuntu/+s...de/+bug/831768

    Best solution I've found is to use apt-get instead, as sigmatht suggested.

  5. #5
    Join Date
    Apr 2010
    Location
    PNW on E-side Cascades
    Beans
    363
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Keep running into unresolved dependencies

    I ran into this problem with apt-get, as well. I kept editing the /etc/apt/sources.list file and made sure ppa's were correct and functional until I got rid of the errors.

    Aside @ olsos2er: I've seen your handle other forums, no?
    Nonsense is an assertion of man's spiritual freedom in spite of all the oppressions of circumstance-- Aldous Huxley
    The real power of Linux lies in the command line

  6. #6
    Join Date
    Jul 2011
    Beans
    2

    Re: Keep running into unresolved dependencies

    Thanks a lot drmrgd and the rest.
    Running apt-get instead of aptitude managed to update all packages without complaining (and following that running aptitude stopped complaining as well).
    I know that the common wisdom is that it's a bad habit to be using both interchangeably. Would you recommend me to switch to using apt-get only now?
    I thought aptitude is supposed to be superior to apt-get in maintaining proper dependencies (installing and uninstalling), apart from the helpful UI.

    Roey

  7. #7
    Join Date
    Apr 2011
    Location
    Maryland
    Beans
    1,461
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Keep running into unresolved dependencies

    Not being an Aptitude user, and given the bug that oldos2er pointed out, I would say using the Apt system might give you better results. I can say that I've used Apt for a while and never had any problems - well any that I didn't create for myself that is!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •