[Kernel-packages] [Bug 2007286] Re: Ubuntu does not clean out old kernel module files (in /lib/modules) when old kernels are removed

2023-12-04 Thread DigiAngel
Same here...none of these commands remove the old /lib/modules/ kernel dirs: sudo apt-get clean sudo apt-get autoclean sudo apt-get autoremove sudo apt-get purge -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 2007286] Re: Ubuntu does not clean out old kernel module files (in /lib/modules) when old kernels are removed

2023-12-04 Thread Marius Gedminas
AFAIU by default it's unattended-upgrades that takes care of removing old kernel (and kernel module packages). Apparently it doesn't pass --purge when it removes the old kernel packages. Should it? -- You received this bug notification because you are a member of Kernel Packages, which is

[Kernel-packages] [Bug 2007286] Re: Ubuntu does not clean out old kernel module files (in /lib/modules) when old kernels are removed

2023-04-17 Thread Launchpad Bug Tracker
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 2007286] Re: Ubuntu does not clean out old kernel module files (in /lib/modules) when old kernels are removed

2023-02-15 Thread Artur Meinild
For the relevant kernels running: sudo apt purge linux-image-5.15.0-xx-generic linux-modules-5.15.0-xx- generic linux-modules-extra-5.15.0-xx-generic Or using this utility: https://git.launchpad.net/linux-purge Then the leftover directories are correctly removed. But I don't think you should

[Kernel-packages] [Bug 2007286] Re: Ubuntu does not clean out old kernel module files (in /lib/modules) when old kernels are removed

2023-02-15 Thread corrado venturini
corrado@corrado-x-kinetic:~$ ls /lib/modules 5.19.0-23-generic 5.19.0-28-generic 5.19.0-29-generic 5.19.0-31-generic corrado@corrado-x-kinetic:~$ sudo apt autoremove --purge [sudo] password for corrado: Reading package lists... Done Building dependency tree... Done Reading state information...

[Kernel-packages] [Bug 2007286] Re: Ubuntu does not clean out old kernel module files (in /lib/modules) when old kernels are removed

2023-02-14 Thread Julian Andres Klode
Actually let me reassign to Linux and mark incomplete. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2007286 Title: Ubuntu does not clean out old kernel module files (in /lib/modules)

[Kernel-packages] [Bug 2007286] Re: Ubuntu does not clean out old kernel module files (in /lib/modules) when old kernels are removed

2023-02-14 Thread Julian Andres Klode
There can be many reasons why files remain. Did you purge the packages for those Linux versions? Did you do any dkms modules. This is not a bug in apt, apt is not responsible for those files. ** Changed in: apt (Ubuntu) Status: New => Invalid ** Package changed: apt (Ubuntu) => linux