Windows is happy as a smiling-clam on offline machines, but Ubuntu is a nightmare. On a side note, here's another method for offline package installation:
1. Boot up a live-cd, and download the packages you want. In this case Leafpad.
Code:
sudo apt-get update && sudo apt-get install leafpad
2. Save the packages to an archive to transfer to another system.
Code:
cd /var/cache/apt/archives/ && sudo tar -czf ~/leafpad.tar.gz *.deb
3. On the new system extract the archive.
Code:
sudo tar -xzf ~/leafpad.tar.gz -C /var/cache/apt/archives
4. Install the packages on the new system.
Code:
sudo apt-get install --no-download leafpad
Bookmarks