FS#20092 - [kernel26] 2.6.34.1-1 calls depmod directly instead of /sbin/depmod
Attached to Project:
Arch Linux
Opened by David Watzke (dwatzke) - Tuesday, 06 July 2010, 09:41 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 18 June 2011, 20:07 GMT
Opened by David Watzke (dwatzke) - Tuesday, 06 July 2010, 09:41 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 18 June 2011, 20:07 GMT
|
Details
Description: kernel26 2.6.34.1-1 calls depmod directly
instead of /sbin/depmod
this causes an issue when you run pacman with sudo (and /sbin & /usr/sbin dirs are not in PATH; see http://bugs.archlinux.org/task/19967): >>> Updating module dependencies. Please wait ... /tmp/alpm_CWsiW6/.INSTALL: line 87: depmod: command not found Steps to reproduce: $ export PATH="~/bin:/usr/local/bin:/bin:/usr/bin" $ sudo pacman -S kernel26 |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 18 June 2011, 20:07 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn trunk. I also fixed it for kernel26-lts.
Saturday, 18 June 2011, 20:07 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn trunk. I also fixed it for kernel26-lts.
I had not /sbin in my user path and depmod have failed to run during installation
I had to run "depmod -a" manually to fix the problem (and i've now added /sbin to my PATH).
sed -i 's|depmod|/sbin/depmod|' kernel26.install