Ubuntu/NGO/mail/2

From Bjoern Hassler

Jump to: navigation, search

There was some good discussion on the Ubuntu NGO mailing list, about being able to update your Ubuntu installation without internet.

There was a reference to apt-zeroconf, putting forward this idea:

The idea is simple. On your home machines you check a box in the gui someplace, and then all your machines share their apt packages with each other. Which means that on release day you upgrade one machine, and then when you upgrade the others you don’t have to redownload everything again. Nice huh? Combine this with deb delta syncing and you’ve got a nice little bandwidth saving solution.

Great suggestion!

The other question raised what you do if there is no internet at all. I described this scenario:

Here's a scenario: Could you somehow write the state of a particular Ubuntu installation to a 'config' file, where this file would contain the versions of all your packages? Then, you take this file with you, to a place with good bandwidth, and download all the updates you need?

To make this very usable, perhaps there could be package manager like application (an "offline package manager"), that doesn't work with the system packages, but works with such a config file instead? I.e. it first writes the config file, and later (on a different computer) lets you load up the config file again, to see what updates are available, and what other applications you can install. All those are not installed, but downloaded instead, and can be burnt to disk, ready for installation. (Ideally with a handy installer program, perhaps via the same "offline package manager").

There may of course already be a similar system available that I don't know about :-) Any suggestions?

which prompted three suggestions:

  • "Synaptic has a "generate download script" option which spits out a script full of wgets that you could take to another net-connected machine to get the actual packages. I don't think it copes well if you want to update package lists or add further repositories sadly, but it's a start."
  • apt-zip
  • Also the suggestion was made that there might need to be an OS-independent way of getting updates (perhaps in a web-based way), so that you could get Ubuntu updates in a Windows-based internet cafe.

Additional suggestions:

Also see https://wiki.ubuntu.com/NGO/OfflineUpdating