Building a Custom repo... pacman -S fails to sync
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, 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 ) pacman complaints it cannot find custom.db.tar.gz. Good point... it does not exist... :D... 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 |
|
Code:
# repo-add /path/to/repo/custom.db.tar.gz /path/to/repo/*.{gz,xz} |
All times are GMT -5. The time now is 02:38 PM. |