> Don't include that (also starting every paragraph with [RS] is annoying;
>  and your email server is in a rspamd uribl bl.rspamd.com - what's going
>  on there, someone sending spam like crazy?)

I'm sorry

> > > On Tue, Mar 23, 2021 at 10:18:34AM +0100, Reiner Schulz wrote:
> > > > Package: apt
> > > > Version: 1.8.2.2
> > > > Severity: normal
> > > >
> > > > Dear Maintainer,
> > > >
> > > > On 5 of our Debian 10 Server the separate /boot Partition filled up with
> old
> > > kernels
> > > > on a few Server without separate /boot partition are up to 10 old kernel
> left
> > > >
> > > > I check if linux-image\* was marked "manual", there where a few on
> some
> > > Server, but not on all.
> > > >
> > > > /etc/kernel/postinst.d/apt-auto-removal should remove all old kernels 
> > > > but
> the
> > > last two
> > >
> > > No... it creates a config file telling apt which kernels to remove
> >
> > [RS] yes, correct, i describe it in a very short way
> >
> > > _when you run autoremove_.
> > >
> > > apt 2.2 automatically removes kernels during apt dist-upgrade / apt
> > > full-upgrade (not using apt-get).
> > >
> > > Did you run autoremove?
> >
> > [RS] Do i have to run autoremove regulary? To remove old kernels?
> 
> You have to run autoremove to remove old kernels, yes. Until you use apt
> 2.2, where apt(8) can autoremove them during dist-upgrade, then you can
> use that.
> 
> You need to be careful running autoremove, though, so it's not
> something you can run automatically.

OK, i dont know that, thank you for the hint
It this behavior dscribed in a man page?

> > > > I greped over 23 Debian 10 Server:
> > > > ansible DEBIAN_10 -b -m shell -a 'zgrep 'postinst.d'
> /var/log/apt/term.log* '
> > > >> grep_term.log 2>&1
> > > >
> > > > grep -c -E 'zz-update-grub'  grep_term.log
> > > > 115
> > > > grep -c -E 'initramfs-tools'  grep_term.log
> > > > 138
> > > > grep -c -E 'apt-auto-removal'  grep_term.log
> > > > 2
> > > >
> > > > i will attach grep_term.log
> > >
> > > I'm not sure what this is supposed to tell us, the hook is (usually)
> > > silent, so it's not going to appear in the terminal output.
> >
> > [RS] if a new kernel is to setting up, the scripts from 
> > /etc/kernel/postinst.d/
> are noted:
> 
> Sometimes yes, but seemingly only when they do output stuff.

OK, thank you for you help. Please close this bug now

Reply via email to