autoremove old kernel related packages - Was: Out of space
Oliver Grawert
ogra at ubuntu.com
Tue Aug 2 13:47:14 UTC 2016
hi,
On Di, 2016-08-02 at 14:23 +0200, Ralf Mardorf wrote:
>
>
> Assumed I want to remove the old kernel I run a script, autoremove
> doesn't remove the old kernel.
if:
apt-mark showmanual|grep linux
does not list your kernel packages, then this is a bug, please file it
...
you can unset the "manual" flag to "auto" again with:
apt-mark auto $packagename
...in case it listed your kernel packages
(i bet your kernel is set to manual simply because it isnt the default
kernel, so you most likely manually apt-get installed it after the OS
was installed, which would have marked it as manual)
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160802/47eca903/attachment.sig>
More information about the ubuntu-users
mailing list