Cannot update quick box etc

Shoot me a PM?

Solution (for those that may encounter a similar issue)

/boot partition was full with old linux images, just updating over time can cause this to fill up if apt -y autoremove and apt -y autoclean aren’t occasionally ran.

  1. Ran the following string to list the successfully installed kernels (excluding booted kernel)
    dpkg-query -W -f='${Status} ${Package}\n' | awk '/^[^ ]+ ok installed linux-image-[0-9]+/{print $4}' | grep -Fv $(uname -r)
  2. Saw the list of images and proceeded to purge the oldest in the archive (just so we can clear up some space)
    I did this like so:
  • Used the command update-initramfs -d -k 4.4.0-57-generic to delete the initrd.img file of an unneeded kernel
  • Then ran dpkg --purge linux-image-extra-4.4.0-57-generic linux-image-4.4.0-57-generic to purge the kernel
  1. Next, I did the forced upgrade with apt-get install -f
  2. To do some cleanup apt-get -y autoremove --purge
  3. Finally checked the space available for good measure with df -h

Thanks for the fix

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.