no space left on /boot

Tom H tomh0665 at gmail.com
Wed Dec 6 09:55:33 UTC 2017


On Wed, Dec 6, 2017 at 3:10 AM, robert <robert at redcor.ch> wrote:
>
> after many years of dutiful service one of my remote boxes stops to accept
> updates.
>
> It complains that there is no space on /boot
>
> But I can not delete any of the old kernels as the following dialogs show
>
> how can I clean up things?
>
> root at salome ~ # uname -r
> 4.4.0-22-generic
>
> root at salome ~ # apt-get purge vmlinuz-4.4.0-81
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package vmlinuz-4.4.0-81
> E: Couldn't find any package by glob 'vmlinuz-4.4.0-81'
> E: Couldn't find any package by regex 'vmlinuz-4.4.0-81'

"vmlinuz-4.4.0-81" isn't the package name. Run "dpkg -S" on it to
determine the package to which it belongs.

Does "/etc/kernel/postinst.d/apt-auto-removal" exist on your system?

What's the output of "cat /etc/apt/apt.conf.d/01autoremove-kernels"?




More information about the ubuntu-users mailing list