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

Bug #487398 reported by damvcoool
54
This bug affects 11 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

recently applied updates, and then removed old kernel information. all packages removed fine except for this one.

ProblemType: Package
AptOrdering: linux-backports-modules-2.6.31-14-generic: Purge
Architecture: amd64
Date: Mon Nov 23 21:17:58 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-removal script returned error exit status 1
NonfreeKernelModules: fglrx
Package: linux-backports-modules-2.6.31-14-generic (not installed)
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: initramfs-tools
Title: package linux-backports-modules-2.6.31-14-generic (not installed) failed to install/upgrade: subprocess installed post-removal script returned error exit status 1
Uname: Linux 2.6.31-15-generic x86_64

Revision history for this message
damvcoool (damvcoool) wrote :
Revision history for this message
Markus Nicolussi (mcwimpy) wrote :

i used the "old kernel cleanup" functionlity in Ubuntu-Tweak the get rid of old kernel stuff after upgrading to the latest 2.6.31-20 Kernel. I assume that Ubuntu Tweak just did the same as if i would have manually forgotten to deinstall this package in Synaptic. (That's why i try Ubuntu Tweak ... it's always to tedious to clean out old kernel stuff in Synaptic...)

probably everything excpet this package was deinstalled and once it was alone and couldn't fumble around on the initrd (amongst others) on deinstall it didn't want to deinstall. error: package linux-backports-modules-2.6.31-19-generic (not installed) failed to install/upgrade: Unterprozess installiertes post-removal-Skript gab den Fehlerwert 1 zurück ...

I don't regard it much as a bug - but more of sthg. i did wrong only that some kind of monitoring/crash reporting SW showed a problem and asked me to report it here. Actually it seems that Ubuntu tweak did uninstall the backports modles but didn't purge it. so i installed it again (+ol kernel as a dependancy) just to purge it afterwards - including old kernel - problem solved for me.

hmmmm ... one thing pops to mind though. Is it possible to make this package able to remove the config files / purge the package after deinstall completely, even when kernel is already gone?

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The relevant error is
---
Purging configuration files for linux-backports-modules-2.6.31-14-generic ...
FATAL: Could not open '/boot/System.map-2.6.31-14-generic': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.31-14-generic
Cannot find /lib/modules/2.6.31-14-generic
update-initramfs: failed for /boot/initrd.img-2.6.31-14-generic
dpkg: error processing linux-backports-modules-2.6.31-14-generic (--purge):
 subprocess installed post-removal script returned error exit status 1

summary: - package linux-backports-modules-2.6.31-14-generic (not installed) failed
- to install/upgrade: subprocess installed post-removal script returned
- error exit status 1
+ FATAL: Could not open '/boot/System.map-2.6.31-14-generic': No such file
+ or directory
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.