I currently possess 2 machines with the same version of Ubuntu as the title says, one is for the downloading the Packages and one for installing.
After the download has finished I'm transferring the .deb
packages to the other machine and trying to install it.
I've successfully downloaded the package with the following command:
sudo apt-get install --download-only vim
the output from that command is a .deb
file that can be installed using
dpkg -i <package name>
But when trying to install with dpkg
its throwing an error of dependencies.
How its possible if I'm using the apt-get install --download-only
?
I've already tried a lot of ways using
Use --download-only:
sudo apt-get install --download-only pppoe
This will download pppoe and any dependencies you need, and place them in /var/cache/apt/archives. That way a subsequent apt-get install pppoe will be able to complete without any extra downloads.
Another way:
Getting .deb package dependencies for an offline Ubuntu computer through Windows
apt-get
?