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.
Re: What is the location of the "depmod" program on your machine? vmware tools installation error
On Fri, 6 Sep 2019 13:47:19 -0500 David Wright wrote: > Bear in mind that depmod itself has been a symlink for quite a while. And still is. However, if the symlink you're expecting isn't there... 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* root@jhegaala:~# 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* root@hawk:~# Going back to the OP, it appears he has the option to supply the full path to depmod; perhaps he should try that. -- "When we talk of civilization, we are too apt to limit the meaning of the word to its mere embellishments, such as arts and sciences; but the true distinction between it and barbarism is, that the one presents a state of society under the protection of just and well-administered law, and the other is left to the chance government of brute force." - The Rev. James White, Eighteen Christian Centuries, 1889 Key fingerprint = 38DD CE9F 9725 42DD E29A EB11 7514 6D37 A332 10CB https://charlescurley.com
Re: What is the location of the "depmod" program on your machine? vmware tools installation error
On Fri 06 Sep 2019 at 10:48:43 (-0600), Charles Curley wrote: > On Fri, 6 Sep 2019 19:23:53 +0530 > Tapas Mishra wrote: > > > What is the location of the "depmod" program on your > > machine? Use of uninitialized value $gOption{"default"} in numeric eq > > (==) at ./vmware-install.pl line 866, line 1. > > The answer is, that depends. > > On a Debian 10 (buster) machine that was upgraded from Debian 9 > (stretch), it is at: > > root@hawk:~# which depmod > /sbin/depmod > root@hawk:~# > > On a freshly installed Debian 10, it is at: > > root@jhegaala:~# which depmod > /usr/sbin/depmod > root@jhegaala:~# > > > According to the package, it should be at: > > root@hawk:~# apt-file search depmod | grep depmod$ > kmod: /sbin/depmod > root@hawk:~# > > This is due to something called "merged usr", described at > https://www.debian.org/releases/buster/amd64/release-notes/ch-whats-new.en.html#merged-usr > Follow the link there for more explanation. > > This has hit the amanda packages, and I filed a bug, > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939411 for that > package. You might do the same for your package. Bear in mind that depmod itself has been a symlink for quite a while. Looking at jessie: $ cat /etc/debian_version 8.11 $ ls -l /sbin/depmod lrwxrwxrwx 1 root root 9 Sep 27 2014 /sbin/depmod -> /bin/kmod $ ls -l /bin/kmod -rwxr-xr-x 1 root root 182036 Sep 27 2014 /bin/kmod $ Cheers, David.
Re: What is the location of the "depmod" program on your machine? vmware tools installation error
On Fri, 6 Sep 2019 19:23:53 +0530 Tapas Mishra wrote: > What is the location of the "depmod" program on your > machine? Use of uninitialized value $gOption{"default"} in numeric eq > (==) at ./vmware-install.pl line 866, line 1. The answer is, that depends. On a Debian 10 (buster) machine that was upgraded from Debian 9 (stretch), it is at: root@hawk:~# which depmod /sbin/depmod root@hawk:~# On a freshly installed Debian 10, it is at: root@jhegaala:~# which depmod /usr/sbin/depmod root@jhegaala:~# According to the package, it should be at: root@hawk:~# apt-file search depmod | grep depmod$ kmod: /sbin/depmod root@hawk:~# This is due to something called "merged usr", described at https://www.debian.org/releases/buster/amd64/release-notes/ch-whats-new.en.html#merged-usr Follow the link there for more explanation. This has hit the amanda packages, and I filed a bug, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939411 for that package. You might do the same for your package. -- "When we talk of civilization, we are too apt to limit the meaning of the word to its mere embellishments, such as arts and sciences; but the true distinction between it and barbarism is, that the one presents a state of society under the protection of just and well-administered law, and the other is left to the chance government of brute force." - The Rev. James White, Eighteen Christian Centuries, 1889 Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB https://charlescurley.com
Re: What is the location of the "depmod" program on your machine? vmware tools installation error
Dan Ritter > What should I do to proceed from here? >It's in /sbin/depmod, and you will need to be root to do anything useful with it. >sudo ./vmware-install.pl >might work. Yes that did worked. Thanks for pointing that out. Erwan David >It seems to me that vmware on recent linux prefers the open-vm-tools >package. Yes that is correct I had installed open-vm-tools only before trying the vmware tools. But I was not able to copy paste a folder from host OS(Windows 10) to guest OS (Debian). So I I wanted to try Vmware-tools but this thing (drag and drop or copy folder from Windows10 to Debian10 has not worked either in open-vm-tools orVmware-tools install package by vendor) --- Thanks On Fri, Sep 6, 2019 at 7:51 PM MAS Jean-Louis wrote: > > Le 06/09/2019 à 15:53, Tapas Mishra a écrit : > > > I am trying to install Vmware tools in Debian 10 on Vmware workstation. > > The place where I am stuck is following messages. > > Alternative answer > > apt install open-vm-tools > > Regards > > -- > Jean Louis Mas > >
Re: What is the location of the "depmod" program on your machine? vmware tools installation error
Le 06/09/2019 à 15:53, Tapas Mishra a écrit : > I am trying to install Vmware tools in Debian 10 on Vmware workstation. > The place where I am stuck is following messages. Alternative answer apt install open-vm-tools Regards -- Jean Louis Mas smime.p7s Description: Signature cryptographique S/MIME
Re: What is the location of the "depmod" program on your machine? vmware tools installation error
Le 06/09/2019 à 15:53, Tapas Mishra a écrit : > Hi, > I am trying to install Vmware tools in Debian 10 on Vmware workstation. > The place where I am stuck is following messages. > > It seems to me that vmware on recent linux prefers the open-vm-tools package.
Re: What is the location of the "depmod" program on your machine? vmware tools installation error
Tapas Mishra wrote: > Hi, > I am trying to install Vmware tools in Debian 10 on Vmware workstation. > The place where I am stuck is following messages. > > > debian:~/vmware_tools/vmware-tools-distrib$ ls > bin caf doc etc FILES INSTALL installer lib vgauth vmware-install.pl > debian@debian:~/vmware_tools/vmware-tools-distrib$ ./vmware-install.pl > Setup is unable to find the "depmod" program on your machine. Please make sure > it is installed. Do you want to specify the location of this program by hand? > [yes] Use of uninitialized value $gOption{"default"} in numeric eq > (==) at ./vmware-install.pl line 866. > > > > What is the location of the "depmod" program on your > machine? Use of uninitialized value $gOption{"default"} in numeric eq > (==) at ./vmware-install.pl line 866, line 1. > > I pressed enter here thinking it might take default value but I was wrong > here. > > The answer "" is invalid. It must be the complete name of a binary file. > > Use of uninitialized value $gOption{"default"} in numeric eq (==) at > ./vmware-install.pl line 2541, line 2. > What is the location of the "depmod" program on your > machine? Use of uninitialized value $gOption{"default"} in numeric eq > (==) at ./vmware-install.pl line 866, line 2. > > > What should I do to proceed from here? It's in /sbin/depmod, and you will need to be root to do anything useful with it. sudo ./vmware-install.pl might work. -dsr-
What is the location of the "depmod" program on your machine? vmware tools installation error
Hi, I am trying to install Vmware tools in Debian 10 on Vmware workstation. The place where I am stuck is following messages. debian:~/vmware_tools/vmware-tools-distrib$ ls bin caf doc etc FILES INSTALL installer lib vgauth vmware-install.pl debian@debian:~/vmware_tools/vmware-tools-distrib$ ./vmware-install.pl Setup is unable to find the "depmod" program on your machine. Please make sure it is installed. Do you want to specify the location of this program by hand? [yes] Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866. What is the location of the "depmod" program on your machine? Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866, line 1. I pressed enter here thinking it might take default value but I was wrong here. The answer "" is invalid. It must be the complete name of a binary file. Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 2541, line 2. What is the location of the "depmod" program on your machine? Use of uninitialized value $gOption{"default"} in numeric eq (==) at ./vmware-install.pl line 866, line 2. What should I do to proceed from here? -- Thanks