cscs
42
I dont know how to explain this better.
It has already been established that 2 different issues were being discussed here.
-
#1 = Users who already have kernel-modules-hook
installed.
This results in fully populated past kernel modules directories.
-
#2 = Users without kernel-modules-hook
installed.
This results in previous modules directories persisting due to retained modules.weakdep
file.
You fall into category #2 … but used the utility found in the tool associated with issue #1 to ‘solve’ the outcome of issue #2.
You could just as easily use rm
to ‘fix’ either issue … but brings you no closer to a real solution or understanding of the cause.
Both systems here retained modules.weakdep
file after update for kernel 6.1 and 6.6
Partner’s system was cleaned manually, similar to OP
On my system I installed kernel-modules-hook
and posted data to confirm it works in response to OP
Not pacman then.
I am on unstable with pacman 7
pacman 7.0.0.r3.g7736133-2.0 [Installed] core
A library-based package manager with dependency support
It seems the depmod script needs maintenance as it does not have a reference to weakdep
Which has been added upstream
3 Likes
from my side ( Testing )
ls -al /usr/lib/modules
drwxr-xr-x 10 root root 4096 27 sept. 09:10 .
drwxr-xr-x 238 root root 266240 27 sept. 09:10 ..
drwxr-xr-x 5 root root 4096 27 sept. 09:10 6.10.11-2-MANJARO
drwxr-xr-x 2 root root 4096 27 août 06:00 6.10.5-1-MANJARO
drwxr-xr-x 2 root root 4096 27 août 06:00 6.1.105-1-MANJARO
drwxr-xr-x 5 root root 4096 27 sept. 09:10 6.11.0-6-MANJARO
drwxr-xr-x 5 root root 4096 27 sept. 09:10 6.1.111-1-MANJARO
drwxr-xr-x 2 root root 4096 27 août 06:00 6.6.46-1-MANJARO
drwxr-xr-x 5 root root 4096 27 sept. 09:10 6.6.52-1-MANJARO
drwxr-xr-x 2 root root 4096 16 août 17:44 6.9.12-3-MANJARO