Using dpkg -l
shows, that there are still configuration files for older kernels (?) available:
rc linux-image-4.13.0-32-generic 4.13.0-32.35~16.04.1
rc linux-image-4.13.0-36-generic 4.13.0-36.40~16.04.1
...
rc linux-image-4.13.0-36-generic 4.13.0-36.40~16.04.1
...
rc linux-modules-4.15.0-32-generic 4.15.0-32.35
...
rc linux-modules-extra-4.15.0-29-generic 4.15.0-29.31
...
rc linux-signed-image-4.4.0-112-generic 4.4.0-112.135
Is it safe to remove all those configuration files with apt-get purge <package name>
? Or is it possible, that currently used configuration files also get deleted by that?
sudo dpkg -P linux-headers-5.3.0-050300rc8-lowlatency
. there are some tools to help. One is here – Doug Smythies Sep 12 '19 at 14:53sudo apt purge $(dpkg -l | egrep '^rc' | awk '{print $2}')
– nobody Sep 13 '19 at 14:58