I'm trying to download APT and all it's dependencies so I can use dpkg to install APT offline. Since you can't simply use apt-get download apt
the approach I've taken is trying to generate a list of dependencies which I can then manually use apt-get download package-name
to retrieve.
I've tried these:
apt-cache showpkg package-name
apt-cache depends packagename
dpkg -I pkg-name1_version.deb
They don't work properly. I need a way to list not only the dependencies of APT, but also the dependency dependencies; the entire tree. According to "sudo apt-get install apt --reinstall
" APT has 302 depenencies+sub-depenencies. The lists generated using the answers I've found appear only to list the first level of dependencies, because they are too short.