Updating and upgrading friends GNU/Linux system without internet

V

VishwaPrabhakar Singh

Guest
Updating and upgrading friends GNU/Linux system without internet

If you ever get stuck in a situation where you have to update / upgrade a system or server but you can not plug it directly to the network then here is easy solution for this problem.
just follow these steps:-
First Insert live-cd/usb of GNU/Linux (in this case ubuntu 14.04) in your system .
(warning: Install synaptic package manager before doing all these steps in your target friends computer, otherwise later due to dependency error you won't be able to do it.)
press ctrl+alt+delete for opening the terminal ,and run

sudo apt-get update

sudo apt-get install synaptic
Open /var/cache/apt/archives and save the contents in safe directory (for example on Desktop, use sudo for it -sometime you need to be little wild superuser for even copying task :)
Update your system(live cd/usb) using update manger
Ie ,if you want ubuntu-restricted-extras
software-small
,
run sudo apt-get install ubuntu-restricted-extras in terminal
Install aptoncd
software-small

Screenshot%2Bfrom%2B2016-02-21%2B14%253A41%253A30.png



Launch aptoncd and press create button, It will create an iso file
from here either you can create iso file which you can transfer to friends computer via usb stick or you can burn them to a dvd / cd disk.
Goto your friends home/office with Generated iso and directory made for step3
Copy the directory and iso file to the desktop , Open the terminal and move to that directory

cd /path/to/directory
Run sudo dpkg -i *.deb ,It will install synaptic
Screenshot%2Bfrom%2B2016-02-21%2B14_13_16.png


Open the synaptic and clickEdit->add cdrom It will display a dialog box , Don't click on it.
Return to terminal and run

sudo mkdir /media/cdrom

sudo mount -o loop /path/to/iso /media/cdrom
Now press ok button on the dialog generated from synaptic in step11 ,
Press Mark all upgrades , Apply buttons ,respectively
Your friends GNU/Linux system is updated , Now sit back and relax for few minutes
 


Updating and upgrading friends GNU/Linux UBUNTU system without internet
 
Updating and upgrading friends GNU/Linux UBUNTU system without internet
Well you can implement same technique in any distro, the only difference will then you will need to compile APToncd by your self and instead of apt you use yum or other package manager.
 

Members online


Top