← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #57712]: I Cannot update anything

 

Question #57712 on update-manager in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/update-manager/+question/57712

Tim posted a new comment:
Sorry to revive an old thread, but I have been reading through it trying
to solve a problem.

Ok, so I'm running Ubuntu 9.04 (which in the few days I've been running
it as a replacement for Fedora Core 11 seems wonderful):

tim@scally:~$ uname -a
Linux scally 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51 UTC 2009 i686 GNU/Linux

An installation (using apt-get) failed earlier. All my attempts to
unlock/unblock dpkg have failed in the following circular fashion:

tim@scally:~$ sudo dpkg --configure -a && sudo apt-get -f install

Setting up initramfs-tools (0.92bubuntu29) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.28-13-generic
cpio: ./bin/udevinfo: Function stat failed: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.28-13-generic
dpkg: subprocess post-installation script returned error exit status 1
tim@scally:~$ 
tim@scally:~$ sudo apt-get install foo
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
tim@scally:~$ sudo dpkg --configure -a
Setting up initramfs-tools (0.92bubuntu29) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.28-13-generic
cpio: ./bin/udevinfo: Function stat failed: No such file or directory
update-initramfs: failed for /boot/initrd.img-2.6.28-13-generic
dpkg: subprocess post-installation script returned error exit status 1

Soooo, I had a quick check that I had enough diskspace on /boot and I'm
fairly sure I have:

tim@scally:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda4             116G  3.8G  107G   4% /
tmpfs                1007M     0 1007M   0% /lib/init/rw
varrun               1007M  128K 1007M   1% /var/run
varlock              1007M     0 1007M   0% /var/lock
udev                 1007M  172K 1007M   1% /dev
tmpfs                1007M   84K 1007M   1% /dev/shm
lrm                  1007M  2.2M 1005M   1% /lib/modules/2.6.28-13-generic/volatile
/dev/sda1             149G   80G   70G  54% /cdrive
tim@scally:~$ df /boot
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda4            121254660   3919236 111176032   4% /

So I checked that the /boot/initrd...-13-generic file exists, which it
does.

tim@scally:~$ ls /boot/init*
/boot/initrd.img-2.6.28-11-generic  /boot/initrd.img-2.6.28-13-generic
tim@scally:~$ ls -l /boot/init*
-rw-r--r-- 1 root root 7549683 2009-07-12 16:21 /boot/initrd.img-2.6.28-11-generic
-rw-r--r-- 1 root root 7559890 2009-07-12 16:45 /boot/initrd.img-2.6.28-13-generic

But it would be the "./bin/udevinfo" that C3P0 is choking on.

tim@scally:~$ locate udevinfo
tim@scally:~$

Any ideas?

You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.