LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices

Reply
 
Search this Thread
Old 02-28-2007, 08:13 AM   #1
s26c.sayan
Member
 
Registered: Nov 2006
Location: Kolkata, India
Distribution: Arch Linux, Ubuntu Feisty, Knoppix Live CD
Posts: 37

Rep: Reputation: 15
How to backup installed packages??


Hi!!! I'm thinking of trying Arch , after having used Ubuntu for quite sometime!!

I just want to ask something about backing up installed packages:
In Ubuntu, I could just copy the contents of /var/apt/cache/archives to some safe place, and after a reinstallation, I just copied back the contents in the respective directory of the new installation...and apt could almost always reinstall them without downloading anything. (I sometimes used a GUI tool called AptOnCD to same effect)

My question is, in Arch if I copy the contents of /var/cache/pacman/ and restore them to a new installation, will pacman be able to install them ??
My ISP charges me per MB uploaded/downloaded, so downloading everything everytime is not feasible! also, I tend to experiment and consequently break my sytem very often, so reinstalling is very frequent for me!! :P
 
Old 02-28-2007, 11:11 AM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 383

Rep: Reputation: 31
For the ubuntu side, this sounds like a perfect situation for apt-cache, assuming you have a second machine that acts as a server that you will not play with and break.
 
Old 03-03-2007, 04:48 PM   #3
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
Backing up all the packages should work fine. Actually I think you just need /var/cache/pacman/pkg, there's also a src directory that contains source code for packages as well, but I don't think you necessarily need that.
 
  


Reply

Tags
arch, backup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 12:36 PM
LXer: AptonCD - Create a backup of all the packages you have installed using apt-get LXer Syndicated Linux News 0 11-07-2006 11:33 PM
Sort installed packages by # of dependant packages installed brianez21 Debian 1 01-18-2006 06:06 PM
Checkinstall backup packages jrdioko Linux - Software 12 07-26-2005 09:26 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 02:17 AM


All times are GMT -5. The time now is 11:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration