[Bug 936981] Re: apt-get dist-upgrade fails to upgrade udev in lxc container
Stéphane Graber
stgraber at stgraber.org
Mon Feb 20 15:06:18 UTC 2012
Could it be that this container already had a udev upgrade failure in
the past, likely caused by the bind mounts we used to have in /dev?
Running "dpkg --configure -a" and then "apt-get dist-upgrade" will most
likely fix your container though (if you didn't do it already).
I'm also subscribing Serge as this might also have been caused by
apparmor.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/936981
Title:
apt-get dist-upgrade fails to upgrade udev in lxc container
Status in “udev” package in Ubuntu:
New
Bug description:
$ sudo apt-get update && sudo apt-get -y dist-upgrade
:
:
Unpacking replacement libglib2.0-0 ...
Preparing to replace udev 175-0ubuntu4 (using .../udev_175-0ubuntu5_i386.deb) ...
Adding 'diversion of /sbin/udevadm to /sbin/udevadm.upgrade by fake-udev'
dpkg: unrecoverable fatal error, aborting:
failed to fstat previous diversions file: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)
james at precise:~$ ls -al /sbin/udevadm*
-rwxr-xr-x 1 root root 396 Feb 20 14:07 /sbin/udevadm
-rwxr-xr-x 1 root root 169324 Feb 6 08:22 /sbin/udevadm.upgrade
$
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/936981/+subscriptions
More information about the foundations-bugs
mailing list