You are not logged in.
Hey friends,
Today nvidia-dkms was upgraded and I noticed that it rebuilt the modules for all previously installed kernel versions. To be clear, I use 'linux' and 'linux-headers' and have never used any other kernel. But the kernel has upgraded naturally several times and today I noticed when nvidia-dkms was upgraded, it rebuilt for all those old versions.
<snip>
:: Running pre-transaction hooks...
(1/2) Checking Arch News with Informant ...
There are no unread news items
(2/2) Remove DKMS modules
==> dkms remove --no-depmod nvidia/535.104.05 -k 6.4.10-arch1-1.1
==> dkms remove --no-depmod nvidia/535.104.05 -k 6.4.11-arch1-1
==> dkms remove --no-depmod nvidia/535.104.05 -k 6.5.4-arch2-1.1
==> depmod 6.4.10-arch1-1.1
==> depmod 6.4.11-arch1-1
==> depmod 6.5.4-arch2-1.1
<snip>
:: Running post-transaction hooks...
<snip>
( 9/18) Install DKMS modules
==> dkms install --no-depmod nvidia/535.113.01 -k 6.5.3-arch1-1.1
==> dkms install --no-depmod nvidia/535.113.01 -k 6.4.11-arch1-1
==> dkms install --no-depmod nvidia/535.113.01 -k 6.4.12-arch1-1.1
==> dkms install --no-depmod nvidia/535.113.01 -k 6.5.2-arch1-1.1
==> dkms install --no-depmod nvidia/535.113.01 -k 6.4.10-arch1-1.1
==> dkms install --no-depmod nvidia/535.113.01 -k 6.5.4-arch2-1.1
==> depmod 6.5.3-arch1-1.1
==> depmod 6.4.12-arch1-1.1
==> depmod 6.5.2-arch1-1.1
==> depmod 6.4.10-arch1-1.1
==> depmod 6.4.11-arch1-1
==> depmod 6.5.4-arch2-1.1
I see in the wiki how I can remove these old modules manually, but is there some automatic way of cleaning these up so that they don't have to be rebuilt every time nvidia-dkms is upgraded?
Thanks!
Offline
They'd normally not be there in the first place. Did you install kernel-modules-hook but not enable the cleanup service?
Offline
Thanks! That may have been the issue. I had that installed but the cleanup service was not enabled. Hopefully this will mitigate the issue moving forward.
Offline