On 29 Aug 2023 21:55, Greg Wooledge wrote:
On Tue, Aug 29, 2023 at 02:58:44PM -0400, gene heskett wrote:
E: Unable to locate package pactl
unicorn:~$ type pactl
pactl is /usr/bin/pactl
unicorn:~$ dpkg -S /usr/bin/pactl
pulseaudio-utils: /usr/bin/pactl
Or :
$ apt-file search pactl
[...]
pulseaudio-utils: /usr/bin/pactl
pulseaudio-utils: /usr/share/bash-completion/completions/pactl
pulseaudio-utils: /usr/share/man/man1/pactl.1.gz
[...]
It's useful when you don't have the full path of the file.
Downside, you need to install "apt-file" first.
Run "apt-file update" before using it, but iirc it warns you to do it if
you forget.
--
++
zithro / Cyril