This should take care also of the matching generic packages.Īfterwards, I ran sudo apt-get auto-remove & sudo apt-get clean & sudo apt-get update & sudo apt-get upgrade You can purge the older linux-headers and linux-image packages by using apt-get purge with care (remember, not to delete the packages associated to the kernel you are using), for instance: sudo apt-get purge linux-image-5.4.0-94 linux-image-5.4.0-96 linux-headers-5.4.0-94 linux-headers-5.4.0-96 This will list all the kernel images and headers currently installed: ~ % kernelver=$(uname -r | sed -r 's/-+//')ĭpkg -l linux-' | grep -ve $kernelver My solution was to remove old kernels in order to free up space, following the steps from Lekensteyn in: So, I was getting errors of initframs compilation when trying to run apt-update. Installed initramfs-tools package post-installation script subprocess returned error exit status 1Įrrors were encountered while processing:Īnyone got any ideas as to what I can do? ĭpkg: error processing package initramfs-tools (-configure): Processing triggers for initramfs-tools (0.130ubuntu3.7). Installed linux-image-4.15.0-47-generic package post-installation script subprocess returned error exit status 1 Run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1ĭpkg: error processing package linux-image-4.15.0-47-generic (-configure): Update-initramfs: failed for /boot/initrd.img-4.15.0-47-generic with 1. Update-initramfs: Generating /boot/initrd.img-4.15.0-47-genericĮ: /usr/share/initramfs-tools/hooks/fsck failed with return 1. Update-initramfs: deferring update (trigger activated) Setting up initramfs-tools (0.130ubuntu3.7). Upgrading to LTS 18.04 hasn't resolved it, nor has removing all old kernels.Īttempting to reinstall initramfs doesn't work.Ġ to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.Īfter this operation, 0 B of additional disk space will be used. Correctly placed items are straightened up, and cause much less stress.I've been having an error when updating or running any apt command for a week or so. Uncover the particular arrangement for the items at hand by clicking, dragging and dropping into place.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |