Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question comes from 2 different scenarios but have the same question in common:

Scenario 1 - When a user wants to upgrade several PCs that are not in the same network (Not on the same LAN) or in different places (Like work, home, friend's home... connected via a VPN or just Internet) or in the worst cases do not have access to the internet at all. In this cases I typically update my PC with the latest and then go to /var/cache/apt/archives to copy all .deb packages and put them in a pen drive. I then go to any/every other PCs and copy this content to one of the other PCs var/cache/apt/archives folder to save them time from having to download the exact same stuff or at least the common packages between PCs. This saves, in my case sometimes hours of waiting for an update/upgrade in all of this case scenarios, although it involves me having to move around.

Scenario 2 - Slow connections still exist. A couple of versions ago, there was not problems when doing an repository update, but it is known that some versions ago, the downloadable content to update the repositories grew.. A LOT. In past versions it took a small amount of time to at least Update the repositories. Nowadays it takes way more even with the same internet speed. This affects all users, but specially the ones with DSL connections or slower.

So my questions go in this order of importance (Taking into consideration users from both scenarios):

  1. Is there any way to reduce size and time when doing a repository update?.

  2. Are there any tools that could somehow cache or use multiple connections to speed up repository updates (Like apt-fast)?

  3. Is there any talk for 12.04+ about any modifications to package compression, repository bandwidth or repository management in regards to optimizing speed for repository updates?

  4. Is there a way to only detected the delta from packages and download the difference?

share|improve this question
    
Is mirroring the Oneiric repository an option? That option requires a lot of bandwidth initially - but it will make upgrading and updates a lot easier down the road. –  Nathan Osman Oct 14 '11 at 23:10
add comment

2 Answers 2

up vote 3 down vote accepted

You can at a minimum set up a caching server so you don't have to download .debs twice, or copy them by hand.

share|improve this answer
    
Thanks Jorge, anyway there is also the problem of PCs that are not in the same LAN (Examples like a PC of a friend in another city who I visit or the PC of a neighbor which does not have Internet. In this cases the caching will not work. But the idea for a LAN is actually very smart. –  Luis Alvarado Oct 15 '11 at 1:59
add comment

There is, or at least used to be, something called AptonCD which is meant to solve this kind of problem. I have no experience with it myself though.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.