Broken dependency, unable to update or install packages

Bug #1168801 reported by Luther
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When using apt-get install:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 python3 : Depends: python3-minimal (= 3.2.3-5ubuntu1) but 3.2.3-5ubuntu1.1 is to be installed
 python3-dev : Depends: python3 (= 3.2.3-5ubuntu1.1) but 3.2.3-5ubuntu1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

It looks like the '=' should be '>='. If I run 'apt-get -f install', it tries to uninstall a very large number of packages.

Ubuntu 12.10

Revision history for this message
Daniel Hartwig (wigs) wrote : Re: [Bug 1168801] [NEW] Broken dependency, unable to update or install packages

On 14 April 2013 13:25, Luther <email address hidden> wrote:
> Public bug reported:
>
> When using apt-get install:

What is the complete command line issued?

>
> You might want to run 'apt-get -f install' to correct these:
> The following packages have unmet dependencies:
> python3 : Depends: python3-minimal (= 3.2.3-5ubuntu1) but 3.2.3-5ubuntu1.1 is to be installed
> python3-dev : Depends: python3 (= 3.2.3-5ubuntu1.1) but 3.2.3-5ubuntu1 is to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
>
> It looks like the '=' should be '>='.

The dependencies are correct. Why is python3 being installed at a
lesser version than the others?

> If I run 'apt-get -f install', it
> tries to uninstall a very large number of packages.

As suggested in parenthesis, you can possibly bypass whatever is the
problem by running the original command and appending
“python3=3.2.3-5ubuntu1.1”.

 status incomplete

Changed in apt (Ubuntu):
status: New → Incomplete
Revision history for this message
Luther (lutheroto) wrote :

NOTE: Today, 'apt-get -f install' gave me different results. It upgraded
'python3 python3-dev python3-minimal' instead of trying to uninstall
apparently everything that depends on python3. My current problem seems
to be fixed, but I don't know the bug that caused it.

NOTE2: Today is the first time I ran 'sudo apt-get update' from the
command line, though I assume that must have been happening
automatically. (I was unable to update for several days.)

> What is the complete command line issued?

I got the same error message from the following commands:
sudo apt-get install libncurses5-dev
sudo apt-get upgrade
sudo apt-get upgrade python3=3.2.3-5ubuntu1.1

I also got a similar error from the Update Manager, which was trying to
update python3 and python3-minimal, among others.

> > You might want to run 'apt-get -f install' to correct these:
> > The following packages have unmet dependencies:
> > python3 : Depends: python3-minimal (= 3.2.3-5ubuntu1) but 3.2.3-5ubuntu1.1 is to be installed
> > python3-dev : Depends: python3 (= 3.2.3-5ubuntu1.1) but 3.2.3-5ubuntu1 is to be installed
> > E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
> >
> > It looks like the '=' should be '>='.
>
> The dependencies are correct. Why is python3 being installed at a
> lesser version than the others?

I didn't ask for it. I can only assume there must have been a mismatched
version number in the package list.

Anyway, thanks for the guidance.

Revision history for this message
Daniel Hartwig (wigs) wrote :

On 15 April 2013 00:41, Luther <email address hidden> wrote:
> My current problem seems
> to be fixed, but I don't know the bug that caused it.

 status invalid

Changed in apt (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.