0

How do I install the aptdcon command to script aptitude package installation?

Someone else had a similar question here:

How to make a package manager wait if another instance of APT is running?

muru
  • 197,895
  • 55
  • 485
  • 740
Nathan Basanese
  • 422
  • 4
  • 17

1 Answers1

0

I'm fortunate enough to have installed it at some point, and could use dpkg -S and which to quickly find this.

$ which aptdcon
/usr/bin/aptdcon
$ dpkg -S $(which aptdcon)
aptdaemon: /usr/bin/aptdcon

If someone knows how to use apt or aptitude to accomplish the same thing, please chime in.

Update: Apparently I can install the apt-file package and run apt-file update then apt-file search aptdcon to achieve the same result.

For further info, you can check out the following
https://duckduckgo.com/?q=find+out+which+package+provides+a+command&t=canonical&atb=v106-3&ia=qa
https://www.cyberciti.biz/faq/equivalent-of-rpm-qf-command/

muru
  • 197,895
  • 55
  • 485
  • 740
Nathan Basanese
  • 422
  • 4
  • 17