Bug#918607: ITP: kthresher -- Purge Unused Kernels
Hi,
Am 07.01.2019 um 19:30 schrieb Darshaka Pathirana:
> * Package name : kthresher
> Version : 1.3.1
> Upstream Author : Rackspace US, Inc.
> * URL : https://github.com/rackerlabs/kthresher
> * License : Apache
> Programming Lang: Python
> Description : Purge Unused Kernels
>
> Tool to remove unused kernels that were installed automatically
> This tool removes those kernel packages marked as candidate for autoremoval.
> Those packages are generally installed via Unattended upgrade or
> meta-packages. By default the latest kernel and manual installations are
> marked to Never Auto Remove.
it looks like this doesn't support Python 3 yet and I suspect that new
packages should. I'd suggest that instead of distutils' LooseVersion,
which was never meant for that, you use apt_pkg.version_compare. To be
fair it's not quite a Debian revision to parse but it's close enough
that the tokenization from our algorithm should work fine to sort kernel
versions.
Kind regards
Philipp Kern
Reply to: