generate Contents.gz single file
Richard Bos
richard at radoeka.nl
Thu Apr 5 11:17:49 PDT 2007
Op Thursday 05 April 2007 07:22:33 schreef Panu Matilainen:
> > So i ask if anyone can tell me a way to be able to generate a file
> > Contents.gz in top dir of apt-rpm sctruture instead create the per folder
> > pkglist.*.bz2 files inside /base dir
>
> I guess the Contents file is generated by apt4rpm repository tools
> (http://apt4rpm.sourceforge.net/). But you'll still need the per-directory
> pkglists, eg http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.1-i386/base/,
> apt doesn't know how to use the Contents file.
It's made by a script that runs once a week. The script basically does a:
# rpm -ql --ql "%{NAME}\n" $(find -name "*rpm")
It's not created by apt4rpm, but the output provided by apt4rpm is used.
It's a very demanding job, due to the IO access. It works and the data it
generates is very usefull. As the apt4rpm tools are phases out on gwdg.de
and are being replaced by the repomd data (createrepo) this file is no longer
created.
--
Richard Bos
Without a home the journey is endless
More information about the Apt-Rpm
mailing list