Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

With New Ubuntu Installation What is the Best way To update and fast install to all packages If I don't have Internet ?

I heared about offline apt-get installation but I dont Know How to Do It , And I read about Make All the repository at usb external hard drive but I dont Know The right way to do so ?

user-image
Question ajoutée par Utilisateur supprimé
Date de publication: 2014/07/04
Steven Liang
par Steven Liang , Sr. System Support , Bank of Tokyo Mitsubishi UFJ

for your question, you need to build up a local repository. how to do that? please follow the url.

http://askubuntu.com/questions/170348/how-to-make-my-own-local-repository

of course, you may make the repository and client on the same server, what you need to do is point your /etc/apt/sources.list to local thats all.

 

R e n z o V i d o n i
par R e n z o V i d o n i , Consultant , Various

Hi,

If u have the same hardaware and os you can use APTonCD (http://aptoncd.sourceforge.net), because there is not a solution like WUS from Mircosoft.

But really you don't need any software: you can copy all the updates from /var/cache/apt/archives on a external memory or share the directory in the network.

Than plug it in the other pc, open a terminal and navigate to the updates directory. Like administrator install the updates with this command: dpkg -i *.deb (this install all the .deb files in the directory).

Anyway you need internet connection if something go wrong, like administrator, u can use this commands:

#apt-get update

#apt-get upgrade (or #apt-get dist-upgrade)

#apt-get install -f (to fix some not complete installation)

Type man apt-get in the terminal for info or look in the net for some tutorial.

 

Regards

Renzo

Without internet connection, it is not very straight forward but I can get this scenario if it is behind a DMZ/firewall will all protocols blocked, in such cases - in RHEL or CENT OS - I used RPM packages tunnelled in and install. However, I am not sure about UBUNTU. I am confident this can be done somehow. Need to research this a bit if the above two solutions don't work.

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?