You are not logged in.

#1 2012-08-07 20:09:33

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

[SOLVED] pkgfile list for private/unofficial repository

Hi all,

a quick search in the wiki/our friend G didn't raise anything of interest.

Does someone know if there is a simple command/script to build the '.files' file for a binary package repository, such as the ones downloaded by `pkgfile --update`?

I'm trying to maintain a binary repo (http://archlinuxgis.github.com/), but I'm always puzzled when I see my pkgfile crying because it cannot download that file.

Thanks in advance.

Last edited by syntaxerrormmm (2012-08-08 08:58:16)


syntaxerrormmm - Homepage

Offline

#2 2012-08-07 20:18:33

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [SOLVED] pkgfile list for private/unofficial repository

Use repo-add -f (and read its man page)

Offline

#3 2012-08-08 08:57:50

syntaxerrormmm
Member
From: Italy
Registered: 2008-10-22
Posts: 80
Website

Re: [SOLVED] pkgfile list for private/unofficial repository

Thanks Pierre.

The only thing I should add is that I needed to create manually a symlink with the '.files' extension to the main db file.


syntaxerrormmm - Homepage

Offline

#4 2014-08-22 02:04:36

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: [SOLVED] pkgfile list for private/unofficial repository

cd path/to/repo
repo-add repo.db.tar.gz *.pkg.tar.xz
repo-add --files repo.files.tar.gz *.pkg.tar.xz

Last edited by unikum (2014-08-22 02:05:07)

Offline

#5 2014-08-22 02:17:36

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

Re: [SOLVED] pkgfile list for private/unofficial repository

You may find repo-add_and_sign useful for maintaining such a repo.


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

Offline

#6 2014-08-22 02:23:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: [SOLVED] pkgfile list for private/unofficial repository

Xyne wrote:

You may find repo-add_and_sign useful for maintaining such a repo.

Maybe, but doubtful, since it was over two years ago and the OP hasn't posted here in well over a year.

Offline

#7 2014-08-22 02:32:01

unikum
Member
From: Russia
Registered: 2010-09-04
Posts: 151
Website

Re: [SOLVED] pkgfile list for private/unofficial repository

Xyne wrote:

You may find repo-add_and_sign useful for maintaining such a repo.

Thx for the useful tip.

Last edited by unikum (2014-08-22 02:32:17)

Offline

#8 2014-08-22 02:46:09

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

Re: [SOLVED] pkgfile list for private/unofficial repository

Scimmia wrote:
Xyne wrote:

You may find repo-add_and_sign useful for maintaining such a repo.

Maybe, but doubtful, since it was over two years ago and the OP hasn't posted here in well over a year.


Ha, missed the necrobump. Maybe it will help the archaeologist who unearths this thread later.

closing...


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

Offline

Board footer

Powered by FluxBB