You are not logged in.

#1 2010-08-23 20:56:18

kwbauson
Member
Registered: 2010-08-23
Posts: 34

[SOLVED] Copy Pacman Cache from another Arch install

Before installing Arch, I installed it and got the Gnome DE up and running in a virtual machine to make sure I could do it.  Now I'm installing it on my real hard drive, but I'd like to avoid re-downloading all the packages I already installed in my virtual machine.  I've copied all of the files from /var/cache/pacman/pkg to the same place on my hard drive, but it looks like pacman is re-downloading the packages anyway.  This method worked for me when I installed Ubuntu, is there a way to do this in Arch?

Last edited by kwbauson (2010-08-23 23:43:19)

Offline

#2 2010-08-23 21:05:10

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Copy Pacman Cache from another Arch install

http://wiki.archlinux.org/index.php/Cus … FDVD.2Fiso

[custom]
Server = file:///mnt/cdrom/arch/pkg

Of course you have to adjust the cache localization :-)

Last edited by karol (2010-08-23 21:06:33)

Offline

#3 2010-08-23 22:09:30

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED] Copy Pacman Cache from another Arch install

Are you sure that pacman is re-downloading the same packages and not newer versions? If the versions are the same then maybe the installation on the virtual machine is a different architecture.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2010-08-23 23:12:32

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: [SOLVED] Copy Pacman Cache from another Arch install

you have to copy them to /mnt/root/var/cache/pacman/pkg instead.

im not sure if its /mnt/root/ or simply /mnt/ you gotta check that out

Offline

#5 2010-08-23 23:15:57

kwbauson
Member
Registered: 2010-08-23
Posts: 34

Re: [SOLVED] Copy Pacman Cache from another Arch install

I forgot that my virtual machine was 32bit and I was installing 64bit.  Thanks anyway though!

Offline

#6 2010-08-23 23:38:50

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Copy Pacman Cache from another Arch install

Please mark as solved, thanks.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB