[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg will not remove old kernel



First off, if this isn't where I should be asking for help, please let me know.

I'm running Sid and running 'sudo apt-get dist-upgrade' prompts me with a couple of errors:

grub-probe: error: unknown filesystem.
/usr/sbin/grub-probe: error: unknown filesystem.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.2.0-4-amd64.postrm line 212.
dpkg: error processing package linux-image-3.2.0-4-amd64 (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 linux-image-3.2.0-4-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)


If the issues aren't related, grub-probe and removing linux-image-3.2*, I'd like to tackle the removal of the old kernel, as that is preventing me from updating my system. I've restarted since, so the grub error isn't causing much issue. At least as far as I can tell. 

dpkg -l linux-image\* output:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  linux-image    <none>       <none>       (no description available)
rc  linux-image-3. 3.11.10-1    amd64        Linux 3.11 for 64-bit PCs
ii  linux-image-3. 3.12.9-1     amd64        Linux 3.12 for 64-bit PCs
ii  linux-image-3. 3.13.5-1     amd64        Linux 3.13 for 64-bit PCs
rH  linux-image-3. 3.2.51-1     amd64        Linux 3.2 for 64-bit PCs
ii  linux-image-am 3.13+56      amd64        Linux for 64-bit PCs (meta-packag

Let me know if there's anything I can do or if I should just cut my losses and revert to my last working backup.

Thanks,

Eddie

Reply to: