You are not logged in.
Pages: 1
Topic closed
I reated a repo whit repo-add (and options) but I noticed that I cannot get throw manpages a way to create a $repo.files for pkgfile
my reppo is on my home for now, I learning how create one,thisis why I ask
any 'hiden' or special combination of script for creating that file??
another think is... abs download from the master svn branch right??
Last edited by Jristz (2013-06-08 02:53:45)
Well, I suppose that this is somekind of signature, no?
Offline
$ repo-add -h
Options:
-f, --files update database's file list
Is that not what you are looking for?
You might also find repo-add_and_sign useful for maintaining a local database.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
is not what I try to make, but that tool is good, I going to test that repo-add-n-sign (or whatever the name is)
the .files archive is used by pkgfile --update for that tool and I wnat generate that for a ofline repo (probably when I get enough exp I swithc to an onlinebut this is now in my 'Lista de quehaceres')
Well, I suppose that this is somekind of signature, no?
Offline
$ repo-add --files foo.files.tar.gz pacman-4.1.1-1-x86_64.pkg.tar.xz
==> Adding package 'pacman-4.1.1-1-x86_64.pkg.tar.xz'
-> Computing checksums...
-> Creating 'desc' db entry...
-> Creating 'depends' db entry...
-> Creating 'files' db entry...
==> Creating updated database file 'foo.files.tar.gz'
Second to last line:
" -> Creating 'files' db entry...
The "$repo.files" database is just a regular database with extra files in it. You can name it whatever you want. Pacman can use it the same way it uses the regular "$repo.db" file.
The only reason that servers include both $repo.db and $repo.files is that $repo.files is larger. Most people do not need the file lists, so there is no need to download them. If you are running a local server, then you should just create one database with "repo-add --files", can create a symlink:
$ repo-add --files foo.db.tar.gz
$ ln -s foo.db files.db
Otherwise, you have to run repo-add twice. Once to create $repo.db without the file lists, then once again to create $repo.files with the lists.
My repo-add_and_sign script does this automatically. It can also batch-sign packages and databases.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
:: Updating 6 repos...
warning: download failed: file::///home/dragon/Proyectos/Paquetes/jristz.files: Couldn't open file //home/dragon/Proyectos/Paquetes/jristz.files
error: failed to update repo: jristz
That file is downloaded by pkgfile program
repo-add -f ./jristz.db ./*pkg*
repo-add -f ./jristz ./*pkg*
repo-add -f ./jristz.files ./*pkg*
not work and jristz.files isnot created at repo-add time
I sure that I missing anithink but manpages not clarify that to me or I cannot underestand correctly
why not use repo-add-n-sig from xyne? .. I want know what I making and how make it manually and only when I know how thinks work use a tool
Well, I suppose that this is somekind of signature, no?
Offline
repo-add -f ./jristz.files ./*pkg*
*sigh*
Please read the output of commands. They contain important information.
$ repo-add -f ./jristz.files ./*pkg*
==> ERROR: './jristz.files' does not have a valid archive extension
$ repo-add -f ./jristz.files.tar.gz ./*pkg*
==> Adding package './pacman-4.1.1-1-x86_64.pkg.tar.xz'
-> Computing checksums...
-> Creating 'desc' db entry...
-> Creating 'depends' db entry...
-> Creating 'files' db entry...
==> Creating updated database file './jristz.files.tar.gz'
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
ok that is not explain correctly on the manpage
but yes fix, and thanks
but why manpages not mention that the extension (db, files) an by diferent from db or any hint about that??
Last edited by Jristz (2013-06-08 02:56:14)
Well, I suppose that this is somekind of signature, no?
Offline
but why manpages not mention that the extension (db, files) an by diferent from db or any hint about that??
Because you fail at reading?
A package database is a tar file, optionally compressed. Valid
extensions are “.db” or “.files” followed by an archive extension of
“.tar”, “.tar.gz”, “.tar.bz2”, “.tar.xz”, or “.tar.Z”. The file does
not need to exist, but all parent directories must exist.
Offline
Jristz wrote:but why manpages not mention that the extension (db, files) an by diferent from db or any hint about that??
Because you fail at reading?
man repo-add wrote:A package database is a tar file, optionally compressed. Valid
extensions are “.db” or “.files” followed by an archive extension of
“.tar”, “.tar.gz”, “.tar.bz2”, “.tar.xz”, or “.tar.Z”. The file does
not need to exist, but all parent directories must exist.
Ok I not see this part... I have a power failure recently ... but anyway probably I fail to read it corretly (or underestand correctly) anyway... lrzip, and unpacked (whitout extension) are unsupported by design?? (yes, I want underestand)
Well, I suppose that this is somekind of signature, no?
Offline
I too fail at reading https://bbs.archlinux.org/viewtopic.php?id=150927 and there's a patch for that https://bugs.archlinux.org/task/32953
Offline
Hello,
Today, after updated pacman to version 5, repo-add "-f" option not working any more. Please advise. Thank you.
Offline
@den23513,
please don't bump old threads. Open a new one for your problem.
https://wiki.archlinux.org/index.php/Fo … bumping.22
Closing.
Offline
Mod powers activate!
Don't open a new topic in this case, one was opened yesterday: https://bbs.archlinux.org/viewtopic.php?id=208347
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Pages: 1
Topic closed