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)
r...@host:~# mkdir /lib/modules/2.6.31-17-generic
r...@host:~# mkdir /lib/modules/2.6.31-19-generic
r...@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
r...@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.
r...@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 Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to