I fallowed the rules instructions that said to type “”/usr/bin/lsusb" in the terminal program, but this is what happened:
“nukenate@linux-jjxj:~> /usr/bin/lsusb
bash: /usr/bin/lsusb: No such file or directory”:sarcastic:
You probably don’t have the usbutils package installed. Do this:
rpm -q usbutils
and you will know for sure. If not installed, then install it from YaST.
You can query the rpm db with the file concerned:
rpm -qf /path/to/file
In this case:
rpm -qf /usr/bin/lsusb
usbutils-0.73-12.1
deano ferrari schrieb:
> You can query the rpm db with the file concerned:
>
> rpm -qf /path/to/file
>
> In this case:
>
>> rpm -qf /usr/bin/lsusb
>> usbutils-0.73-12.1
That only works if the command is in fact installed.
The OP’s situation was that the command was missing,
in which case the “rpm” command you cite will just
report: “no such file or directory”.
HTH
T.
Yes, I understand that. Same deal with the first command as well. We were just trying to point out where this file comes from. It should be obvious to most that the (identified) package needs to be installed.
Yes, but Tilman was pointing out that the command rpm -qf is only useful to find out what package an existing file comes from, if it does. So it isn’t any help for the OP to run that command, but of course you can run the command and tell him the missing package.