[Bug 727633] [NEW] Failed upgrade to udev

2 views
Skip to first unread message

Jonathan Lange

unread,
Mar 2, 2011, 2:56:00 AM3/2/11
to ubunt...@lists.ubuntu.com
Public bug reported:

Binary package hint: udev

Description: Ubuntu Natty (development branch)
Release: 11.04

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
udev
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
49 not fully installed or removed.
Need to get 0 B/416 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ...
dpkg: warning: files list file for package `libstdc++5:i386' missing, assuming package has no files currently installed.

dpkg: warning: files list file for package `palm-novacom:i386' missing,
assuming package has no files currently installed.

dpkg: warning: files list file for package `palm-sdk:i386' missing, assuming package has no files currently installed.
(Reading database ... 512881 files and directories currently installed.)
Preparing to replace udev 166-0ubuntu2 (using .../udev_166-0ubuntu3_amd64.deb) ...
dpkg-divert: error: `diversion of /sbin/udevadm to /sbin/udevadm.upgrade by udev' clashes with `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
dpkg: error processing /var/cache/apt/archives/udev_166-0ubuntu3_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
dpkg-divert: error: mismatch on package
when removing `diversion of /sbin/udevadm to /sbin/udevadm.upgrade by udev'
found `local diversion of /sbin/udevadm to /sbin/udevadm.upgrade'
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/udev_166-0ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

** Affects: udev (Ubuntu)
Importance: Undecided
Status: New

--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/727633

Title:
Failed upgrade to udev

--
ubuntu-bugs mailing list
ubunt...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Jonathan Lange

unread,
Mar 2, 2011, 2:56:00 AM3/2/11
to ubunt...@lists.ubuntu.com

Jonathan Lange

unread,
Mar 2, 2011, 2:56:20 AM3/2/11
to ubunt...@lists.ubuntu.com

Martin Pitt

unread,
Mar 2, 2011, 3:36:27 AM3/2/11
to ubunt...@lists.ubuntu.com
*** This bug is a duplicate of bug 727211 ***
https://bugs.launchpad.net/bugs/727211

This is the very bug that the 0ubuntu3 version fixed, i. e. bug 727211.
But if you already had the older version installed (< 0ubuntu3) _and_
already got the new dpkg which introduced this behaviour change (which
was true for a time window of about 12 hours), then you are in a
situation which is hard to recover from, until the dpkg side of bug
727211 is fixed (already done in trunk).

For now, can you please do

sudo dpkg-divert --local --rename --divert /sbin/udevadm.upgrade --remove /sbin/udevadm
sudo apt-get -f install

? This should clean up.

** This bug has been marked a duplicate of bug 72721
Installation problem - Install Progress Error
* You can subscribe to bug 72721 by following this link: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/72721/+subscribe

** This bug is no longer a duplicate of bug 72721
Installation problem - Install Progress Error
** This bug has been marked a duplicate of bug 727211
package udev 166-0ubuntu2 failed to install/upgrade: dpkg-divert: error: mismatch on package
* You can subscribe to bug 727211 by following this link: https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/727211/+subscribe

Reply all
Reply to author
Forward
0 new messages