Discussion:
Bug#871308: upgrade-reports: update to stretch, old-dkms not remove automatically
Clara Pogner
2017-08-07 14:58:06 UTC
Permalink
Package: upgrade-reports
Severity: normal

Dear Maintainer,

I wanted to upgrade my system to stretch and had the problem of not enough
space in /boot, old files with the ending initrd.img-*.old-dkms were lingering
arround (see below) and have not been automatically removed by the upgrade or
upgrades before.

It would be nice, if these files would be automatically removed when the old
kernels are removed.

Thanks for the efford!
Clara



ls /boot
config-4.7.0-0.bpo.1-amd64 initrd.img-4.2.0-0.bpo.1-amd64.old-
dkms lost+found
config-4.9.0-0.bpo.3-amd64 initrd.img-4.3.0-0.bpo.1-amd64.old-
dkms System.map-4.7.0-0.bpo.1-amd64
config-4.9.0-3-amd64 initrd.img-4.7.0-0.bpo.1-amd64
System.map-4.9.0-0.bpo.3-amd64
grub initrd.img-4.7.0-0.bpo.1-amd64.old-
dkms System.map-4.9.0-3-amd64
initrd.img-3.16.0-0.bpo.4-amd64.old-dkms initrd.img-4.9.0-0.bpo.3-amd64
vmlinuz-4.7.0-0.bpo.1-amd64
initrd.img-3.16.0-4-amd64.old-dkms initrd.img-4.9.0-0.bpo.3-amd64.old-
dkms vmlinuz-4.9.0-0.bpo.3-amd64
initrd.img-3.2.0-4-amd64.old-dkms initrd.img-4.9.0-3-amd64
vmlinuz-4.9.0-3-amd64




-- System Information:
Debian Release: 9.1
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Niels Thykier
2017-08-21 05:42:00 UTC
Permalink
Post by Clara Pogner
Package: upgrade-reports
Severity: normal
Dear Maintainer,
I wanted to upgrade my system to stretch and had the problem of not enough
space in /boot, old files with the ending initrd.img-*.old-dkms were lingering
arround (see below) and have not been automatically removed by the upgrade or
upgrades before.
It would be nice, if these files would be automatically removed when the old
kernels are removed.
Thanks for the efford!
Clara
[...]
Hi Clara,

Thanks for reporting this issue.

Can you share with us which dkms modules you had installed and if any of
them are in the "config-files" state ("rc").

The output of either:
* aptitude search dkms
* dpkg -l | grep dkms
should answer the latter.

Thanks,
~Niels

Loading...