
On Wed, Oct 9, 2024 at 1:59 PM Michael Pujos <pujos.michael@gmail.com> wrote:
On 10/9/24 12:25 PM, Axel Braun wrote:
Hi,
I got a low-space warning on my root folder, and found that /usr/lib/modules is populated back to 5.11.x kernel - Nvidia modules. I wonder if they are not cleaned up when a new kernel is coming? Anything that can be done to automate this?
Thanks Axel
NVIDIA modules are indeed not removed.
And why are you surprised? NVIDIA modules are compiled on the end system, the installed files are not tracked by package management in any way. What entity is supposed to remove them and at which moment?
There is probably reason but this should be addressed I think:
~> ls /usr/lib/modules 6.10.11-1-default/ 6.10.3-1-default/ 6.10.5-1-default/ 6.10.8-1-default/ 6.11.0-1-default/ 6.8.1-1-default/ 6.8.4-rc1-1-default/ 6.8.7-1-default/ 6.8.9-1-default/ 6.9.3-1-default/ 6.9.7-1-default/ 6.10.2-1-default/ 6.10.4-1-default/ 6.10.7-1-default/ 6.10.9-1-default/ 6.7.9-1-default/ 6.8.2-1-default/ 6.8.5-1-default/ 6.8.8-1-default/ 6.9.1-1-default/ 6.9.5-1-default/ 6.9.9-1-default/ ~> du -Hs /usr/lib/modules 2.9G /usr/lib/modules