Полуустановленный пакет кошмар – как исправить?

Я недавно (пытался) обновить систему Linux Mint (18.3, x64). Все прошло нормально, но я получил ошибку с помощью скриптов конфигурации для linux-image-extra-4.13.0-41-generic и linux-image-extra-4.13.0-41-generic . Некоторое время я мог устанавливать другие пакеты, но после попытки удалить их, я больше не мог ничего устанавливать. Чтобы удалить их, я попытался:

  sudo apt remove linux-image-extra-4.13.0-41-generic linux-image-extra-4.13.0-41-generic sudo apt purge linux-image-extra-4.13.0-41-generic linux-image-extra-4.13.0-41-generic sudo apt install -f sudo dpkg --remove --force-remove-reinstreq --dry-run linux-image-extra-4.13.0-41-generic linux-image-extra-4.13.0-41-generic sudo dpkg --remove --force-remove-reinstreq linux-image-extra-4.13.0-41-generic linux-image-extra-4.13.0-41-generic 

Никто из них не удалил пакеты.

Я также получаю это, как при попытке установить пакет:

 Removing linux-image-extra-4.13.0-41-generic (4.13.0-41.46~16.04.1) ... depmod: FATAL: could not load /boot/System.map-4.13.0-41-generic: No such file or directory run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.0-41-generic /boot/vmlinuz-4.13.0-41-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.13.0-41-generic /boot/vmlinuz-4.13.0-41-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.13.0-41-generic /boot/vmlinuz-4.13.0-41-generic update-initramfs: Generating /boot/initrd.img-4.13.0-41-generic Warning: No support for locale: en_US.utf8 depmod: WARNING: could not open /var/tmp/mkinitramfs_3hnLlc/lib/modules/4.13.0-41-generic/modules.order: No such file or directory depmod: WARNING: could not open /var/tmp/mkinitramfs_3hnLlc/lib/modules/4.13.0-41-generic/modules.builtin: No such file or directory run-parts: executing /etc/kernel/postinst.d/pm-utils 4.13.0-41-generic /boot/vmlinuz-4.13.0-41-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.13.0-41-generic /boot/vmlinuz-4.13.0-41-generic Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. No path or device is specified. Usage: grub-probe [OPTION...] [OPTION]... [PATH|DEVICE] Try 'grub-probe --help' or 'grub-probe --usage' for more information. No path or device is specified. Usage: grub-probe [OPTION...] [OPTION]... [PATH|DEVICE] Try 'grub-probe --help' or 'grub-probe --usage' for more information. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 64 dpkg: error processing package linux-image-extra-4.13.0-41-generic (--remove): subprocess installed post-removal script returned error exit status 1 Removing linux-image-4.13.0-41-generic (4.13.0-41.46~16.04.1) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.13.0-41-generic /boot/vmlinuz-4.13.0-41-generic update-initramfs: Deleting /boot/initrd.img-4.13.0-41-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.13.0-41-generic /boot/vmlinuz-4.13.0-41-generic Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. No path or device is specified. Usage: grub-probe [OPTION...] [OPTION]... [PATH|DEVICE] Try 'grub-probe --help' or 'grub-probe --usage' for more information. No path or device is specified. Usage: grub-probe [OPTION...] [OPTION]... [PATH|DEVICE] Try 'grub-probe --help' or 'grub-probe --usage' for more information. run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 64 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-4.13.0-41-generic.postrm line 330. dpkg: error processing package linux-image-4.13.0-41-generic (--remove): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: linux-image-extra-4.13.0-41-generic linux-image-4.13.0-41-generic E: Sub-process /usr/bin/dpkg returned an error code (1) 

Больше я ничего не мог сделать, кроме переустановки системы.

Любые другие идеи, чтобы заставить удалить этот пакет?