Bug#919457: [kthresher] cron job ERROR: No argument used
On 1/16/19 10:19 AM, Leandro Penz wrote:
> Package: kthresher
> Version: 1.3.1-2
> Severity: important
> --- Please enter the report below this line. ---
> Cron job output received by email:
> ERROR: No argument used.
> usage: kthresher [-h] [-c FILE] [-d] [-H] [-k [N]] [-p] [-s] [-v] [-V]
> Purge Unused Kernels.
> optional arguments:
> -h, --help show this help message and exit
> -c FILE, --config FILE
> Config file, default is /etc/kthresher.conf
> -d, --dry-run List unused kernel images available to
> purge(dry run).
> Is always verbose.
> -H, --headers Include the search for kernel headers.
> -k [N], --keep [N] Number of kernels to keep, default 1.
> -p, --purge Purge Unused Kernels.
> -s, --show-autoremoval
> Show kernel packages available for autoremoval.
> -v, --verbose Be verbose.
> -V, --version Print version.
> run-parts: /etc/cron.daily/kthresher exited with return code 1
> Package was just installed. Looks like there's something missing in
> the cron job.
Thank you for your feedback.
I am in contact with upstream and we are talking about how the default
behavior should look like and he is currently working on a solution
Apart from that, the usage description looks like every argument is
optional, so kthresher should at least do "something" without an
argument or the usage description should be updated to reflect that.