You are not logged in.

#1 2007-01-26 03:46:43

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Mounting saved pkg's during install [solved]

I have copied my saved pkg cache "/var/cache/pacman/pkg/" to an extra partition. With the idea of not having to re-download them for a new install. (about 1.3 gigs)

During the install I mount it to /src/arch/pkg  But when I continue, it can't find /src/arch/pkg/setup.  So I mount the CD, check and see that it has a
"setup" folder under it's "pkg" folder. I copy that over to my pkg's. Now setup can't find the pacman database, which turns out to be "current.db.tar.gz"(I think), also in the "pkg" folder on the CD.

So my question is, how would I create the "current.db.tar.gz" with my latest cache. 

Also, would I need to create the "/src/arch/pkg/setup/packages.txt" also? And if so, how?

Thanks for your help!

[Edit] Note: my install cd is current-08-20061218-i686.iso

Offline

#2 2007-01-26 04:24:57

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: Mounting saved pkg's during install [solved]

ok, I found that on the ftp mirrors I can get

ftp://ftp.archlinux.org/current/os/i686 … .db.tar.gz

as well as the setup folder...

ftp://ftp.archlinux.org/current/os/i686 … ckages.txt
ftp://ftp.archlinux.org/current/os/i686 … pkg.tar.gz

Would it work to just copy these?  Or should it be generated off my current cache/pacman/pkg folder?  I would rather not download all the files off the mirror, but just keep the ones I use and have already downloaded.

Thanks for your help!

Offline

#3 2007-01-26 12:02:47

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Mounting saved pkg's during install [solved]

The current db.tar.gz file is generated from gensync. It needs to be run against your packages and PKGBUILD's (?). packages.txt looks like a installation specific file.
Honestly, you would probably be better off using the base install cd. Install from there then when you boot run pacman -U /var/cache/pacman/pkg/* to reinstall all those packages again.

Offline

#4 2007-01-26 16:39:35

pelle.k
Member
From: Åre, Sweden (EU)
Registered: 2006-04-30
Posts: 667

Re: Mounting saved pkg's during install [solved]

I'm not 100% sure this is what you are looking for, but i just copy the packages to my /var/cache/pacman/pkg (after the base install), and then sync against mirrors. It'll use the local copy when you install something anyway.
The only "quirk" is that pacman has some extra activity going on everytime I -S or -Ss using this method. I Don't know why.


"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."

SETH / Jane Roberts

Offline

#5 2007-01-26 17:12:04

stingray
Member
From: Lima, Peru SA
Registered: 2006-03-24
Posts: 188

Re: Mounting saved pkg's during install [solved]

Thanks for the help, that works nice and easy.  Base install, mount my pkg cashe, update, then start installing.

Thanks again!

Offline

Board footer

Powered by FluxBB