gratcliffe
September 30th, 2009, 04:53 PM
E: linux-restricted-modules-2.6.28-15-server: subprocess post-removal script returned error exit status 1
The above is the error I get when trying to remove the listed packed. As a result I cannot remove or install anything using synaptic, or thru terminal either.
output from terminal is below
gary@gary-desktop:~$ cd /var/cache/apt/archives/
gary@gary-desktop:/var/cache/apt/archives$ ls linux-restricted-modules-2.6.28*linux-restricted-modules-2.6.28-15-server_2.6.28-15.20_i386.deb
gary@gary-desktop:/var/cache/apt/archives$ sudo dpkg -r Linux-restricted-modules-2.6.28-15-server
[sudo] password for gary:
dpkg: status database area is locked by another process
gary@gary-desktop:/var/cache/apt/archives$ sudo dpkg -r Linux-restricted-modules-2.6.28-15-server
(Reading database ... 313759 files and directories currently installed.)
Removing linux-restricted-modules-2.6.28-15-server ...
rmdir: failed to remove `/lib/modules/2.6.28-15-server/volatile/': No such file or directory
FATAL: Could not open '/boot/System.map-2.6.28-15-server': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.28-15-server
Cannot find /lib/modules/2.6.28-15-server
update-initramfs: failed for /boot/initrd.img-2.6.28-15-server
dpkg: error processing linux-restricted-modules-2.6.28-15-server (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
linux-restricted-modules-2.6.28-15-server
gary@gary-desktop:/var/cache/apt/archives$
I am fairly new to ubuntu, so my knowledge is limited. Any help is appreciated.
The above is the error I get when trying to remove the listed packed. As a result I cannot remove or install anything using synaptic, or thru terminal either.
output from terminal is below
gary@gary-desktop:~$ cd /var/cache/apt/archives/
gary@gary-desktop:/var/cache/apt/archives$ ls linux-restricted-modules-2.6.28*linux-restricted-modules-2.6.28-15-server_2.6.28-15.20_i386.deb
gary@gary-desktop:/var/cache/apt/archives$ sudo dpkg -r Linux-restricted-modules-2.6.28-15-server
[sudo] password for gary:
dpkg: status database area is locked by another process
gary@gary-desktop:/var/cache/apt/archives$ sudo dpkg -r Linux-restricted-modules-2.6.28-15-server
(Reading database ... 313759 files and directories currently installed.)
Removing linux-restricted-modules-2.6.28-15-server ...
rmdir: failed to remove `/lib/modules/2.6.28-15-server/volatile/': No such file or directory
FATAL: Could not open '/boot/System.map-2.6.28-15-server': No such file or directory
update-initramfs: Generating /boot/initrd.img-2.6.28-15-server
Cannot find /lib/modules/2.6.28-15-server
update-initramfs: failed for /boot/initrd.img-2.6.28-15-server
dpkg: error processing linux-restricted-modules-2.6.28-15-server (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
linux-restricted-modules-2.6.28-15-server
gary@gary-desktop:/var/cache/apt/archives$
I am fairly new to ubuntu, so my knowledge is limited. Any help is appreciated.