How do I save all my updates

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

How do I save all my updates

Postby jacatone on Fri Nov 30, 2012 7:39 pm

I'm using LM 13 XFCE and did something to screw up the install. Is there a way to save all my downloaded updates so I can simply add them to my re-install without have to download them all over again? Thanks.
jacatone
Level 4
Level 4
 
Posts: 252
Joined: Fri Apr 18, 2008 5:23 pm

Linux Mint is funded by ads and donations.
 

Re: How do I save all my updates

Postby claudecat on Fri Nov 30, 2012 11:20 pm

Yes. Simply copy the contents of /var/cache/apt/archives (that's where all your updates and additions are cached) onto a flash drive (or something) and copy the files back to the same location after you reinstall. I do this all the time to keep 2 machines updated without using too much bandwidth. The fun part is taking the laptop to someplace with free fast wifi and doing the updates, thereby keeping my bandwidth cap at home under control.

BTW, this basic process is possible with all versions of linux - with varying degrees of difficulty. Yet another reason it's superior to mainstream OS's.
claudecat
Level 3
Level 3
 
Posts: 115
Joined: Wed Mar 03, 2010 1:03 am
Location: MD, USA

Re: How do I save all my updates

Postby jacatone on Sat Dec 01, 2012 3:00 pm

How do I reinstall all those .deb files at once rather than one at a time?
jacatone
Level 4
Level 4
 
Posts: 252
Joined: Fri Apr 18, 2008 5:23 pm

Re: How do I save all my updates

Postby weirddan455 on Sat Dec 01, 2012 3:20 pm

I haven't done this personally but if you put them back in that cache folder just run from console

Code: Select all
sudo apt-get update
sudo apt-get upgrade


It's the same command you would normally use to update but it should check the cache folder first before downloading anything new.
weirddan455
Level 1
Level 1
 
Posts: 3
Joined: Sun Nov 25, 2012 6:02 am

Re: How do I save all my updates

Postby claudecat on Sun Dec 02, 2012 12:44 am

weirddan has it exactly right - packages in the cache folder will be used rather than downloaded again. This is true no matter which method you use to update (Mintupdate, Synaptic, Software Centre or command line apt-get).
claudecat
Level 3
Level 3
 
Posts: 115
Joined: Wed Mar 03, 2010 1:03 am
Location: MD, USA

Re: How do I save all my updates

Postby mank_in on Sun Dec 02, 2012 7:22 am

First ,copy files in /var/cache/apt/archives ( don't copy partial folder and lock file) to your home folder , create folder ( example master deb ) and paste to it

I always this method to install update to all my machine ,with certain condition:
-open source driver in use, example if one your machine used proprietary NVIDIA driver but another one using intel, you must remove nvidia package first.
-same desktop environment. Cinnamon , kde , mate have different specific file.
- if you are using different DE, you can run update manager and compare file in update manager to master deb folder , remove file which not listed in update manager list. ( this is vey annoying to me :lol: )
Than , use synaptic package manager . click file>add downloaded package , point it to master deb folder.
Image
Sorry for my bad English , I am Indonesian.
User avatar
mank_in
Level 6
Level 6
 
Posts: 1346
Joined: Wed Nov 16, 2011 2:29 pm
Location: Bali


Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot] and 34 guests