You are not logged in.

#1 2010-05-23 19:55:45

Alexvader
Member
Registered: 2009-09-04
Posts: 28

Pacman -S faile to retrieve packages from [custom]

Hi Forum

I have installed Arch in an external USB HDD

/dev/sdb1 -> /boot
/dev/sdb2 -> /
/dev/sdb3 -> swap
/dev/sdb4 -> /mount/Arch_repo

in .../Arch_repo I have a snapshot of [community], [core] and [extra];
I have configured [community], [core] and [extra] in pacman.conf so as to point to the proper locations in the folders.


I also have a /mount/My_repo
in My_repo I dump all packages I built from AUR, plus my own packages created from my own PKGBUILDs and enabled [custom] in pacman.conf to point to that place.

Yet when I run pacman -Syu ( academic example, since my Arch_repo is static, the snapshot is not supposed to change, since this setup will be used to create a LiveDVD as soon as a finish packing and installing everything I want ) pacman complaints it cannot find custom.db.tar.gz.

Good point... it does not exist... ... so pacman does not know the contents of [custom] and whatever i dump there; I have compared to community.db.tar.gz, and found out this gzip is a whole set of folders with the names of packages containing each one the package manifest and the dependences list.

Is there any tool to build this for a custom repo, or must I create this by hand...?

My question is of particular importance since I am thinking about using a tool that checks the the existing packages in the system ( pacman -Q ) and then uses them to build a live Image of that system, ArchISO; if these packages cannot be "seen" inside some repo ( missing custom.db.tar.gz ) their inclusion in my live image is very likely not to occur...

And lots of packages I want to include in my Live contraption are in [custom]... so how do i fix this thing....??

I mean... for ArchISO to work, and include packages from a repo, the tar.gz of that repo's database must exist... is there some way I can create this for [custom]...?

BRGDS

Alex

Last edited by Alexvader (2010-05-23 19:56:59)

Offline

#2 2010-05-23 21:04:53

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Pacman -S faile to retrieve packages from [custom]

cd repodir/; repo-add reponame.db.tar.gz *.pkg.tar.*

Offline

Board footer

Powered by FluxBB