I have been getting this error. I am currently running xubuntu 8.04.4 on a really old laptop. I can't seem to solve it the way apt is asking me to. Here is what I am getting: kevin@kevin-laptop:~$ sudo dpkg --configure -a [sudo] password for kevin: Setting up linux-ubuntu-modules-2.6.24-28-generic (2.6.24-28.47) ... update-initramfs: Generating /boot/initrd.img-2.6.24-28-generic touch: cannot touch `/boot/initrd.img-2.6.24-28-generic.new': No such file or directory /usr/sbin/mkinitramfs: 279: cannot create /boot/initrd.img-2.6.24-28-generic.new: Directory nonexistent update-initramfs: failed for /boot/initrd.img-2.6.24-28-generic dpkg: error processing linux-ubuntu-modules-2.6.24-28-generic (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: linux-ubuntu-modules-2.6.24-28-generic Any help in solving this problem would be greatly appreciated.
What happened initially for you to have to use sudo dpkg --configure -a?
a failed update of the same package
Okay, seems like I've already answered this question once tonight, so it should be simple. Open a terminal and type: Code: cd /var/lib/dpkg/updates sudo rm -rf ./* sudo apt-get update && sudo apt-get upgrade
cd /var/lib/dpkg/updates sudo rm -rf ./* sudo apt-get update && sudo apt-get upgrade
thanks so much for your quick reply still no dice though. there was nothing in that directory but I tried anyways, error returned: update-initramfs: Generating /boot/initrd.img-2.6.24-28-generic touch: cannot touch `/boot/initrd.img-2.6.24-28-generic.new': No such file or directory /usr/sbin/mkinitramfs: 279: cannot create /boot/initrd.img-2.6.24-28-generic.new: Directory nonexistent update-initramfs: failed for /boot/initrd.img-2.6.24-28-generic dpkg: error processing linux-ubuntu-modules-2.6.24-28-generic (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: linux-ubuntu-modules-2.6.24-28-generic E: Sub-process /usr/bin/dpkg returned an error code (1)
yea... still haven't figured this one out. I might just do a clean install if I can't figure anything else out
no hope? I'll probably just do a clean install. How is lubuntu as a replacement for what I currently have.
View Tag Cloud
Ubuntu Forums Code of Conduct