You are not logged in.

#1 2007-12-27 01:01:47

mc_bizon
Member
Registered: 2007-11-06
Posts: 4

use /var/lib/pacman/local from other computer?

hi,
I got a new computer and would like to install arch on it and install all packages that are installed on my old computer running arch. is it possible to do this?
I think I could copy /var/lib/pacman/local to the new computer and do something like pacman -Syu to install missing packages. would that work?

Offline

#2 2007-12-27 02:25:25

fed359
Member
Registered: 2007-11-21
Posts: 46

Re: use /var/lib/pacman/local from other computer?

Perhaps this thread may be of help

http://bbs.archlinux.org/viewtopic.php?id=41097

Offline

#3 2007-12-27 06:35:42

abstracity
Member
From: Houston, USA
Registered: 2007-08-08
Posts: 83

Re: use /var/lib/pacman/local from other computer?

Yes, I agree with fed359's suggestion.  I would use the following commands to install all the packages that are on your old computer to your new one:

pacman -Q | awk '{ print $1 }' > pkglist
pacman -S `cat pkglist`

Without error there can be no brilliancy. ― Emanuel Lasker

Offline

Board footer

Powered by FluxBB