'apt-get install -f' tries to configure multiarch:same packages when mismatched versions are installed

Bug #947500 reported by androld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
Unassigned

Bug Description

I upgrade from xubuntu 11.10 to xubuntu 12.04LTS beta1

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: libgudev-1.0-0 1:175-0ubuntu6
ProcVersionSignature: Ubuntu 3.2.0-18.28-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 1.94-0ubuntu1
Architecture: amd64
Date: Mon Mar 5 23:00:45 2012
ErrorMessage: libgudev-1.0-0:amd64 1
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: udev
Title: package libgudev-1.0-0 1:175-0ubuntu6 failed to install/upgrade: libgudev-1.0-0:amd64 1
UpgradeStatus: Upgraded to precise on 2012-03-05 (0 days ago)

Revision history for this message
androld (androld-b) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

The error in the logs is:

dpkg: не удалось обработать параметр libudev0 (--configure):
 libudev0:amd64 175-0ubuntu5 cannot be configured because libudev0:i386 is in a different version (175-0ubuntu6)
dpkg: не удалось обработать параметр libudev0:i386 (--configure):
 libudev0:i386 175-0ubuntu6 cannot be configured because libudev0:amd64 is in a different version (175-0ubuntu5)

The history log shows aptdaemon has been called to install libgudev-1.0-0:i386 automatically, but libgudev1.0-0:amd64 is at a different version and there's no mention of upgrading libgudev1.0-0:amd64. This may be a bug in aptdaemon or in whatever is invoking aptdaemon.

The history log subsequently shows an 'apt-get install -f' run that wants to upgrade libgudev1.0-0:amd64, but the term log instead shows an attempt to configure libudev0:amd64 and libudev:i386. This is either a bug in apt or dpkg for trying to configure them when they're not ready.

Unfortunately we don't appear to have any logs attached showing why the first upgrade failed, only why the 'apt-get install -f' failed, so it's difficult to figure out what package to blame for the root bug here.

androld, to work around this you probably need to run 'sudo dpkg -i /var/cache/apt/archives/libudev0_175-0ubuntu6_amd64.deb' from the commandline.

affects: udev (Ubuntu) → apt (Ubuntu)
Changed in apt (Ubuntu):
importance: Undecided → High
Steve Langasek (vorlon)
summary: - package libgudev-1.0-0 1:175-0ubuntu6 failed to install/upgrade:
- libgudev-1.0-0:amd64 1
+ 'apt-get install -f' tries to configure multiarch:same packages when
+ mismatched versions are installed
tags: added: multiarch
tags: added: rls-mgr-p-tracking
Changed in apt (Ubuntu Precise):
status: New → Confirmed
merck (merckmoon)
Changed in apt (Ubuntu Precise):
status: Confirmed → Fix Released
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.