FS#61144 - depmod problem due to linux version mismatch

Attached to Project: Arch Linux
Opened by Orm Finnendahl (orm) - Thursday, 20 December 2018, 19:08 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 20 December 2018, 19:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

nvidia doesn't install:

depmod: ERROR: could not open directory /lib/module/4.19.8-arch1-1-ARCH: No such file or directory

uname -r returns: 4.19.10-arch1-1-ARCH


Additional info:
* package version(s)

nvidia 415.25-2

This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 20 December 2018, 19:39 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Thursday, 20 December 2018, 19:14 GMT
Sounds like something got screwed up in your kernel installation. What does pacman -Q linux say?
Comment by Eli Schwartz (eschwartz) - Thursday, 20 December 2018, 19:14 GMT
The "linux" package installs a hook that executes /usr/bin/depmod 4.19.10-arch1-1-ARCH, and is correctly kept in sync with the version of the "linux" package. Apparently you have some additional hook or something that is executing a different depmod command -- but it is not coming from our packages.

The hook from /usr/share/libalpm/hooks/60-linux.hook should always therefore be in sync with the directory in /usr/lib/modules/, unless your system is so badly broken that pacman -Q is not even reliable at all.

nvidia itself does not run depmod at all.
Comment by Orm Finnendahl (orm) - Thursday, 20 December 2018, 19:31 GMT
thanks for pointing it out: After reinstall of the "linux" package nvidia installed just fine. Sorry for the noise...

Loading...