[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What is the location of the "depmod" program on your machine? vmware tools installation error



Le 06/09/2019 à 21:05, Charles Curley a écrit :

Fresh install:

root@jhegaala:~# ll /sbin/depmod /usr/sbin/depmod
lrwxrwxrwx 1 root root 9 Feb  9  2019 /sbin/depmod -> /bin/kmod*
lrwxrwxrwx 1 root root 9 Feb  9  2019 /usr/sbin/depmod -> /bin/kmod*

Upgraded:

root@hawk:~# ll /sbin/depmod /usr/sbin/depmod
ls: cannot access '/usr/sbin/depmod': No such file or directory
lrwxrwxrwx 1 root root 9 Feb  9  2019 /sbin/depmod -> /bin/kmod*

depmod has been in /sbin for ages. What kind of crazy program would expect it to be in /usr/sbin ?

Going back to the OP, it appears he has the option to supply the full
path to depmod; perhaps he should try that.

The OP tried to run the script calling depmod as a standard user. The user $PATH missing /sbin caused the error. Anyway depmod itself would have failed without root privileges.


Reply to: