ubuntu update without internet access

Felipe Figueiredo philsf at ufrj.br
Wed Aug 16 18:19:04 UTC 2006


On Wednesday 16 August 2006 12:40, sebastien wrote:
> Is it possible to download ubuntu updates on a USB key, or any other
> mobile mass-storage device.
> Tha means : download the appropriate files (?) and make this device
> listed in the sources.list....?

Aside from the "elegant solution" given by Eberhard, (which involves creating 
some sort of local repository and using it) there is another (easier) 
solution. You can just download directly the .deb of the files 
and "dpkg -i --no-force-downgrade" them.

Advantages: it is easier up-front, because you have zero configuration at each 
update.
Disavantages: 
1- easier but maybe it is more labourous. 
2- It does not check if  dependencies were changed with versions, so it may 
break your system. If you only get new packages from security-updates, you 
should be fine, otherwise, use with caution.
3- You don't have a gpg signature check, so be sure to get things from safe 
places (and be sure you get what you think you get). Again, security-updates 
are fine.

Conclusion: I generally prefer elegant solutions everytime I can, but you may 
want to do this sometimes, for one or two packages, if you want to make it 
quick.




More information about the ubuntu-users mailing list