Package: kthresher Version: 1.4.1-2 Hello,
kthresher does not remove old kernel, --dry-run fails with: # kthresher --dry-run INFO: Attempting to read /etc/kthresher.conf. INFO: Options found: ['include']. INFO: Valid setting found "include" INFO: include = /etc/kthresher.d/*.conf INFO: Options: {'dry_run': True, 'headers': False, 'keep': 1, 'purge': False, 'verbose': False, 'include': '/etc/kthresher.d/*.conf'} INFO: ----- DRY RUN ----- INFO: Running kernel is linux-image-5.10.0-9-amd64 v[5.10.70-1] Traceback (most recent call last): File "/usr/bin/kthresher", line 33, in <module> sys.exit(load_entry_point('kthresher==1.4.1', 'console_scripts', 'kthresher')()) File "/usr/lib/python3/dist-packages/kthresher.py", line 481, in main kthreshing(purge=False, headers=options["headers"], keep=options["keep"]) File "/usr/lib/python3/dist-packages/kthresher.py", line 275, in kthreshing section = pkg.candidate.section or '' AttributeError: 'NoneType' object has no attribute 'section' This is apparently caused by installed package (minecraft-launcher) that has no Section: defined. While I agree that the package probably should have Section: header, I believe kthresher should not crash in such case. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Emacs is a complicated operating system without good text editor.