Issue:
“sudo apt –fix-broken install”
leads to something such as:
“
dpkg: error processing archive /var/cache/apt/archives/linux-image-6.8.0-87-generic_6.8.0-87.88~22.04.1_amd64.deb
(–unpack):
cannot copy extracted data for ‘./boot/vmlinuz-6.8.0-87-generic’ to ‘/boot/vmlinuz-6.8.0-87-generic.dpkg-new’: f
ailed to write (No space left on device)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-image-6.8.0-87-generic_6.8.0-87.88~22.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
“
Resolution:
Run Update Manager > View > Linux Kernels > remove kernels with status “installed” and “Superseded” or using cli “sudo apt autoremove –purge”; if necessary to manually identify the installed kernels use “dpkg -l linux-image-* | grep ^ii” and then remove a specific version using “sudo apt remove –purge linux-image-[version]”