offline updates for xubuntu 14.04

Asked by mahesh kolekar

I have installed xubuntu 14.04 on my old p4 computer.
I want to update my system offline.
I want to create an update cd or dvd
So if I reinstall xubuntu I can update my system from that update pack
And every time I dont have to get an internet connection for the update

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You can tell apt-get to redownload every package that is currently installed. The debs will land in /var/cache/apt/archive which I suggest you clear out first with:

sudo apt-get clean

You can then store the deb files and reinstall them if you reinstall. The debs may be outdated if the amount of time between now and the reinstall is significant but it will take you to where you are now in package versions

Revision history for this message
mahesh kolekar (mailmahesh-kolekar) said :
#3

can you tell me the procedure to tell apt-get to redownload

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#4

sudo apt-get --download-only install `dpkg -l | awk {'print $2'}`

Is one way. I just used man pages and a little bash-fu. Nothing tricky.....

Revision history for this message
mahesh kolekar (mailmahesh-kolekar) said :
#6

Thanks actionparsnip, that solved my question.

Revision history for this message
mahesh kolekar (mailmahesh-kolekar) said :
#7

i just installed vlc and synaptic package manager using above method

thanks for the help