Using dpkg, I see that Chef version 11.2.0 is currently installed:
$ dpkg -l | grep -i 'chef'
ii chef 11.2.0-1.ubuntu.11.04 The full stack of chef
I'm building another server and want to use that exact package. I'm assuming that either apt or dpkg put it somewhere, how do I determine where the original installer resides?
I see a bunch of .deb files in /var/cache/apt/archives/, however none appear to be for Chef.
EDIT:
I found the debian installer on the Opscode web site:
After I installed it using sudo dpkg -i chef_11.2.0-1.ubuntu.11.04_amd64.deb, I tried the locate command as recommended by waltinator, and it didn't return any results.
Am I to assume, then, that packages installed manually like this are NOT added to the local apt archive?
sudo apt-get install chefwon't work (assuming it's a supported Ubuntu release)? – saiarcot895 Aug 20 '15 at 00:35apt-cache showpkg chef.You should be able to see lines Description Language and File. On the file line, you can find out which ppa the package came from. You'd need to turn that line into an html path, and add that path to your new server as a ppa repository. Let me know if this helps, and let me know if you want this posted as an answer – Sergiy Kolodyazhnyy Aug 20 '15 at 16:32aptadds packages that it (or one of its frontends) downloaded to the cache.dpkghas no knowledge ofapt's cache. – muru Aug 22 '15 at 01:32