https://bugs.kde.org/show_bug.cgi?id=440222

--- Comment #6 from Harald Sitter <sit...@kde.org> ---
Git commit 1c31ad946d11718e75067abc988a9b0e68029cd3 by Harald Sitter.
Committed on 09/09/2021 at 08:26.
Pushed by sitter into branch 'Neon/release'.

mark versioned kernels auto

there is a bug in packagekit that makes packages installed during
updates manual. this is extra horrible for kernels because they litter
up the system and even though we don't autoremove anyway, the user also
can't autoremove them because of this snafu

the new tool filters all (I hope) versioned package names from
showmanual and marks them auto again. this should enable autoremove to
clean them up properly

apt has guards in place to not remove too many kernels, so we can, for
the most part, mark them liberally auto. the only concern here would be
to mark meta packages incorrectly as well. I've also made a trivial test
case so we can add more samples in case we fall into the meta package
trap and need to test against it

this currently only targets Neon/unstable for testing

A  +21   -0    lib/systemd/system/neon-apt-mark-kernels-auto.service
A  +4400 -0    test/data/kernel_auto.apt-mark
A  +71   -0    test/kernel_auto_test.rb
A  +62   -0    usr/lib/neon_update/kernel_auto.rb

https://invent.kde.org/neon/neon/settings/commit/1c31ad946d11718e75067abc988a9b0e68029cd3

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to