[Yum-devel] How to generate {filelists,primary,other}.sqlite.bz2?
seth vidal
skvidal at linux.duke.edu
Mon Jul 30 04:35:35 UTC 2007
On Sun, 2007-07-29 at 22:36 -0600, Allen J. Newton wrote:
> Hello,
>
> I've checked the FAQ and Google for this, but I don't seem to be finding what
> I'm looking for.
>
> I have the files from the Fedora 7 ISO installed on my PXE boot server on an
> isolated network, and it works fine. I have also downloaded the latest
> package updates to the PXE boot server.
>
> What I would like to do (and have done successfully in RHEL3/4) is to replace
> the original F7 distro's outdated RPM files with those that have been updated.
> Once I've done this, I run createrepo and it updates the following files in
> the repodata/ directory:
>
> filelists.xml.gz
> other.xml.gz
> primary.xml.gz
>
> However, it removes the following files:
>
> filelists.sqlite.bz2
> other.sqlite.bz2
> primary.sqlite.bz2
>
> This causes anaconda to not work during installation any more. It says that
> it cannot find the package metadata. Evidently, it's using the sqlite
> version, rather than the XML version.
>
> My question is this: How do I regenerate new sqlite files?
>
> Thank you for any help you can give.
make sure you have createrepo from fedora 7. Then run:
createrepo -d
the -d generates the sqlite databases on the repository side.
-sv
More information about the Yum-devel
mailing list