[Bug 524942] Re: FATAL: Could not open '/boot/System.map-2.6.32-13-generic': No such file or directory
sharky6000
lanctot at ualberta.ca
Fri Apr 23 00:42:38 UTC 2010
Hi, I got a similar problem problem when upgrading from Karmic to Lucid
Lynx (beta 2) with some alsa packages..
For me, it couldn't find some required directories
(/lib/modules/2.6.31-17-generic and /lib/modules/2.6.31-19-generic), so
I just created empty ones .. see mkdir below, then ran apt-get
autoremove and that finally worked. At least this is a temporary fix, it
seems:
After this operation, 40.4MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 234336 files and directories currently installed.)
Removing linux-backports-modules-alsa-2.6.31-17-generic ...
FATAL: Could not open '/boot/System.map-2.6.31-17-generic': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.31-17-generic
Cannot find /lib/modules/2.6.31-17-generic
update-initramfs: failed for /boot/initrd.img-2.6.31-17-generic
dpkg: error processing linux-backports-modules-alsa-2.6.31-17-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Removing linux-backports-modules-alsa-2.6.31-19-generic ...
FATAL: Could not open '/boot/System.map-2.6.31-19-generic': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.31-19-generic
Cannot find /lib/modules/2.6.31-19-generic
update-initramfs: failed for /boot/initrd.img-2.6.31-19-generic
dpkg: error processing linux-backports-modules-alsa-2.6.31-19-generic (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-backports-modules-alsa-2.6.31-17-generic
linux-backports-modules-alsa-2.6.31-19-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at host:~# mkdir /lib/modules/2.6.31-17-generic
root at host:~# mkdir /lib/modules/2.6.31-19-generic
root at host:~# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libicu40 linux-backports-modules-alsa-2.6.31-17-generic linux-backports-modules-alsa-2.6.31-19-generic
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 32.8MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 234336 files and directories currently installed.)
Removing linux-backports-modules-alsa-2.6.31-17-generic ...
FATAL: Could not open '/boot/System.map-2.6.31-17-generic': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.31-17-generic
Removing linux-backports-modules-alsa-2.6.31-19-generic ...
FATAL: Could not open '/boot/System.map-2.6.31-19-generic': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.31-19-generic
Removing libicu40 ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root at host:~# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root at host:~#
--
FATAL: Could not open '/boot/System.map-2.6.32-13-generic': No such file or directory
https://bugs.launchpad.net/bugs/524942
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.
More information about the kernel-bugs
mailing list