Files
apt/debian/apt.maintscript
T
Julian Andres Klode 824651ded0 Only protect two kernels, not last installed one
The kernel autoremoval algorithm was written to accomodate
for Ubuntu's boot partition sizing, which was written to
accomodate 3 kernels - 2 installed ones + a new one being
unpacked.

It seems that when the algorithm was designed, it was overlooked
that it actually kept 3 kernels.

LP: #1968154
2022-04-07 13:19:52 +02:00

5 lines
184 B
Plaintext

rm_conffile /etc/apt/apt.conf.d/20changelog 1.2.4~
# we use a systemd timer unit now
rm_conffile /etc/cron.daily/apt 1.2.10~
rm_conffile /etc/kernel/postinst.d/apt-auto-removal 2.4.5~