How to Upgrade or Install Packages on Boxes without a Fast Internet Connection September 22, 2005Posted by Carthik in administration, applications, guides, ubuntu.
This will be of interest to those of you who want to upgrade, or install new packages on systems which are not connected to a fast enough internet connection, using another machine, which is connected to the internet through a better connection.
In other words – imagine you have:
- a computer running Ubuntu, but which is not connected to the internet, or is connected to the internet using a dial-up connection.
- access to a Ubuntu system that is connected to the internet using a high speed connection, say a machine on a lan at work
- a removable storage medium, like a zip drive, or a high-capacity usb drive
You can then upgrade the computer with the slow internet connection using apt-zip :
Update a non-networked computer using apt and removable media
These scripts simplify the process of using dselect and apt on a non-networked Debian box, using removable media like ZIP floppies. One generates a `fetch’ script (supporting backends such as wget and lftp, in a modular, extensible way) to be run on a host with better connectivity, check space constraints of your removable media, and then install the package on your Debian box.
Note on current version: space-checking is not done and spanning multiple disks is not yet supported.
More detailed instructions are available at this apt-zip howto.