starling
February 7th, 2009, 07:28 AM
I've been having troubles with various packages not configuring properly after install after upgrading to 8.10. Generally I've just removed them using dpkg -r, but in this case that doesn't work.
starling@starling-desktop:~$ sudo dpkg --remove linux-restricted-modules-2.6.27-9-generic
(Reading database ... 131575 files and directories currently installed.)
Removing linux-restricted-modules-2.6.27-9-generic ...
rmdir: failed to remove `/lib/modules/2.6.27-9-generic/volatile/': No such file or directory
FATAL: Could not open '/boot/System.map-2.6.27-9-generic': No such file or directory
/usr/sbin/update-initramfs: 547: awk: not found
dpkg: error processing linux-restricted-modules-2.6.27-9-generic (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
linux-restricted-modules-2.6.27-9-generic
apt won't uninstall it, and dpkg --configure -a doesn't think there is a problem. What's going on?
starling@starling-desktop:~$ sudo dpkg --remove linux-restricted-modules-2.6.27-9-generic
(Reading database ... 131575 files and directories currently installed.)
Removing linux-restricted-modules-2.6.27-9-generic ...
rmdir: failed to remove `/lib/modules/2.6.27-9-generic/volatile/': No such file or directory
FATAL: Could not open '/boot/System.map-2.6.27-9-generic': No such file or directory
/usr/sbin/update-initramfs: 547: awk: not found
dpkg: error processing linux-restricted-modules-2.6.27-9-generic (--remove):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
linux-restricted-modules-2.6.27-9-generic
apt won't uninstall it, and dpkg --configure -a doesn't think there is a problem. What's going on?