[Lxc-users] precise update in container
Papp Tamas
tompos at martos.bme.hu
Mon Apr 2 11:19:18 UTC 2012
hi,
I guess something is still not good.
Setting up util-linux (2.20.1-1ubuntu3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
(Reading database ... 12314 files and directories currently installed.)
Preparing to replace udev 175-0ubuntu6 (using
.../udev_175-0ubuntu8_amd64.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)
root at lists:~# apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure
-a' to correct the problem.
root at lists:~# apt-get upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure
-a' to correct the problem.
root at lists:~# dpkg --configure -a
dpkg: dependency problems prevent configuration of initramfs-tools:
initramfs-tools depends on udev (>= 147~-5); however:
Package udev is not installed.
dpkg: error processing initramfs-tools (--configure):
dependency problems - leaving unconfigured
Setting up libklibc (1.5.25-1ubuntu2) ...
dpkg: dependency problems prevent configuration of console-setup:
console-setup depends on initramfs-tools (>= 0.85eubuntu12); however:
Package initramfs-tools is not configured yet.
dpkg: error processing console-setup (--configure):
dependency problems - leaving unconfigured
Setting up initramfs-tools-bin (0.99ubuntu12) ...
Setting up klibc-utils (1.5.25-1ubuntu2) ...
dpkg: dependency problems prevent configuration of kbd:
kbd depends on console-setup; however:
Package console-setup is not configured yet.
kbd depends on initramfs-tools; however:
Package initramfs-tools is not configured yet.
dpkg: error processing kbd (--configure):
dependency problems - leaving unconfigured
Setting up keyboard-configuration (1.70ubuntu4) ...
Couldn't get a file descriptor referring to the console
Couldn't get a file descriptor referring to the console
Couldn't get a file descriptor referring to the console
Couldn't get a file descriptor referring to the console
update-initramfs: deferring update (trigger activated)
Setting up busybox-initramfs (1:1.18.5-1ubuntu3) ...
Setting up cpio (2.11-7ubuntu3) ...
Setting up libglib2.0-0 (2.32.0-1ubuntu1) ...
No schema files found: doing nothing.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
initramfs-tools
console-setup
kbd
root at lists:~# apt-get upgra^C
root at lists:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
udev
Suggested packages:
watershed
The following packages will be upgraded:
udev
1 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.
4 not fully installed or removed.
Need to get 0 B/325 kB of archives.
After this operation, 18.4 kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 12315 files and directories currently installed.)
Preparing to replace udev 175-0ubuntu6 (using
.../udev_175-0ubuntu8_amd64.deb) ...
Leaving 'diversion of /sbin/udevadm to /sbin/udevadm.upgrade by fake-udev'
Unpacking replacement udev ...
Processing triggers for ureadahead ...
Setting up initramfs-tools (0.99ubuntu12) ...
update-initramfs: deferring update (trigger activated)
Setting up console-setup (1.70ubuntu4) ...
Couldn't get a file descriptor referring to the console
Couldn't get a file descriptor referring to the console
Couldn't get a file descriptor referring to the console
Couldn't get a file descriptor referring to the console
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-initramfs: deferring update (trigger activated)
Setting up kbd (1.15.2-3ubuntu4) ...
Setting up udev (175-0ubuntu8) ...
udev stop/waiting
udev start/running, process 1747
Removing 'diversion of /sbin/udevadm to /sbin/udevadm.upgrade by fake-udev'
update-initramfs: deferring update (trigger activated)
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)
root at lists:~# dpkg --configure -a
Processing triggers for initramfs-tools ...
Setting up udev (175-0ubuntu8) ...
udev stop/waiting
udev start/running, process 1790
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
root at lists:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 50 not upgraded.
So it's OK after a couple of dpkg 'corrections'.
tamas
More information about the lxc-users
mailing list