FATAL: Could not open '/boot/System.map-2.6.32-13-generic': No such file or directory

Bug #524942 reported by kikoloche
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

package linux-backports-modules-nouveau-2.6.32-13-generic (not installed) failed to install/upgrade: el subproceso script post-removal instalado devolvió el código de salida de error 1

ProblemType: Package
AptOrdering:
 linux-backports-modules-nouveau-2.6.32-13-generic: Purge
 xserver-xorg-video-nouveau: Purge
Architecture: amd64
Date: Sat Feb 20 16:52:55 2010
DistroRelease: Ubuntu 10.04
ErrorMessage: el subproceso script post-removal instalado devolvió el código de salida de error 1
InstallationMedia: Kubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100112.3)
NonfreeKernelModules: nvidia
Package: linux-backports-modules-nouveau-2.6.32-13-generic (not installed)
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: initramfs-tools
Title: package linux-backports-modules-nouveau-2.6.32-13-generic (not installed) failed to install/upgrade: el subproceso script post-removal instalado devolvió el código de salida de error 1
Uname: Linux 2.6.32-14-generic x86_64

Revision history for this message
kikoloche (kikoloche) wrote :
Revision history for this message
Daniel Hermansson (daniel.h) wrote :

still present in 2.6.32-14

Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
summary: - package linux-backports-modules-nouveau-2.6.32-13-generic (not
- installed) failed to install/upgrade: el subproceso script post-removal
- instalado devolvió el código de salida de error 1
+ FATAL: Could not open '/boot/System.map-2.6.32-13-generic': No such file
+ or directory
Revision history for this message
useResa (rdrijsen) wrote :

Experiencing the same.
Now have packages linux-backports-modules-2.6.32-14-generic and linux-backports-modules-2.6.32-15-generic as residual config in Synaptic.
When I try to completely remove these packages I come across the same error message for each of the packages.

Revision history for this message
Marc Lanctot (lanctot) wrote :

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@host:~# mkdir /lib/modules/2.6.31-17-generic
root@host:~# mkdir /lib/modules/2.6.31-19-generic
root@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@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@host:~#

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.