Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

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 added by Deleted user
Date Posted: 2014/07/04
Steven Liang
by 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
by 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

Deleted user
by Deleted user

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