Hi guys,
I've been trying to download and install other kernels, and i'm having about the same thing on 2 computers, one with Mint 11 main edition running MATE and the other one with Mint 12 LXDE (+ MATE installed).
So here it goes... (just for the computer with Mint 12 LXDE + MATE installed)
I can't uninstall linux-image-3.3.0-rt.vhacker-davalan-celeron
I'm not booting 3.3 that i want to remove, but 3.2:
uname -a
Linux Cagalhaes 3.2.0-2-486 #1 Mon Mar 5 00:55:40 UTC 2012 i686 i686 i386 GNU/Linux
I've done everything as root...
If i try to purge it:
apt purge linux-image-3.3.0-rt.vhacker-davalan-celeron
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-image-3.3.0-rt.vhacker-davalan-celeron
0 upgraded, 0 newly installed, 1 to remove and 19 not upgraded.
2 not fully installed or removed.
After this operation, 105 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 149903 files and directories currently installed.)
Removing linux-image-3.3.0-rt.vhacker-davalan-celeron ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.3.0-rt.vhacker-davalan-celeron /boot/vmlinuz-3.3.0-rt.vhacker-davalan-celeron
update-initramfs: Deleting /boot/initrd.img-3.3.0-rt.vhacker-davalan-celeron
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.3.0-rt.vhacker-davalan-celeron /boot/vmlinuz-3.3.0-rt.vhacker-davalan-celeron
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.2.0-2-486...
P: Writing config for Windows XP on /dev/sda1...
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.3.0-rt.vhacker-davalan-celeron.postrm line 271.
dpkg: error processing linux-image-3.3.0-rt.vhacker-davalan-celeron (--remove):
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-image-3.3.0-rt.vhacker-davalan-celeron
E: Sub-process /usr/bin/dpkg returned an error code (1)
If i try to reinstall extlinux:
apt reinstall extlinux
The following packages will be REINSTALLED:
extlinux
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 19 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
E: I wasn't able to locate a file for the linux-image-3.3.0-rt.vhacker-davalan-celeron package. This might mean you need to manually fix this package.
E: I wasn't able to locate a file for the linux-image-3.3.0-rt.vhacker-davalan-celeron package. This might mean you need to manually fix this package.
E: Internal error: couldn't generate list of packages to download
I've downloaded extlinux manually and when i try to install it using the -deb installer i get:
Unpacking replacement extlinux ...
Setting up extlinux (2:4.04+dfsg-1ubuntu1) ...
P:Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.2.0-2-486...
P: Writing config for Windows XP on /dev/sda1...
E: /usr/share/syslinux/debian/extlinux: no such file or directory
pdkg: error processing extlinux (--install):
subprocess installed post-instalation script returned error exit status 1
Processing triggers dor man-db ...
Errors were encontered while processing:
extlinux
I've googled around and found out
http://ubuntugenius.wordpress.com/2011/ ... d-modules/
They recommend running
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
Got this output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-headers-3.2.0-2-486* linux-headers-3.2.0-2-common* linux-image-3.3.0-rt.vhacker-davalan-celeron linux-kbuild-3.2*
0 upgraded, 0 newly installed, 4 to remove and 19 not upgraded.
2 not fully installed or removed.
After this operation, 132 MB disk space will be freed.
(Reading database ... 149903 files and directories currently installed.)
Removing linux-image-3.3.0-rt.vhacker-davalan-celeron ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.3.0-rt.vhacker-davalan-celeron /boot/vmlinuz-3.3.0-rt.vhacker-davalan-celeron
update-initramfs: Deleting /boot/initrd.img-3.3.0-rt.vhacker-davalan-celeron
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.3.0-rt.vhacker-davalan-celeron /boot/vmlinuz-3.3.0-rt.vhacker-davalan-celeron
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.2.0-2-486...
P: Writing config for Windows XP on /dev/sda1...
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.3.0-rt.vhacker-davalan-celeron.postrm line 271.
dpkg: error processing linux-image-3.3.0-rt.vhacker-davalan-celeron (--remove):
subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
linux-image-3.3.0-rt.vhacker-davalan-celeron
E: Sub-process /usr/bin/dpkg returned an error code (1)
And that's the end of my line...
I've noticed this is the Xfce forum and i'm using other versions, but apart of this... I'm clueless!
Does anyone have any idea?
Thanks!