Peter Toye <lilyp...@ptoye.com> writes: > Friday, January 24, 2020, 3:29:54 PM, David Kastrup wrote: > >> Peter Toye <lilyp...@ptoye.com> writes: > >>> Friday, January 24, 2020, 1:32:32 PM, David Kastrup wrote: >>> > >>> But if bash can't find the app in the first place, >>> clearing the hash table wno't make much >>> difference! > >> I have no idea what you mean by "in the first place". > > I mean that trying to execute lsusb by typing its name produces the > bash error message saying that it can't be found. SO clearing the hash > table won't have any effect.
That makes no sense whatsoever. The whole reason to execute hash -r is to tell bash that its memory of no lsusb being in the PATH might be mistaken. >> Have you tried > >> hash -r > >> or haven't you? It is not clear from what you wrote. > > Yes I did, but same result. Ok. > But I've found that dpkg (which I've only just found out about) says > that the package isn't installed, which would explain a lot. Indeed. > So I've just tried using apt-get again. It came up with what look like > the same set of messages, and this time lsusb works. Don't understand > what went wrong the first time, but now it's sorted. Thanks for the > help. -- David Kastrup