how to make a local repository after a yum update?
Michal Jaegermann
michal at harddata.com
Sun Sep 5 00:46:49 UTC 2004
With the old version of yum documentation basically said
"run yum-arch on a directory with rpm packages and you are set".
Now yum-arch is gone (although 'man yum' still tells you to
look at 'man yum-arch',
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=131807 )
There is something new in 'yum --help' called "generate-rss" which
may be it. OK, let's try:
# yum -c local.conf generate-rss
Generating RSS File
Setting up Repo: update
repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or
directory: '/mnt/spare/updates/packages/repodata/repomd.xml'
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more
mirrors to try.
Hm, we are just trying to generate that stuff so "No such file or
directory" seems to be about normal. There is somethings which
says "--rss-filename=[path/filename]", which is a bit weird as
it obviously knows what it wants to read, but playing with that
also brings no joy. Touching /mnt/spare/updates/packages/repodata/repomd.xml
results in something even more creative:
//var/cache/yum/update/repomd.xml:1: parser error : Document is empty
Surprise! We are trying to generate it (or something close).
In a total absence of a documentation I am somewhat reluctant
to call that a bug and file in bugzilla. Should I?
Michal
More information about the fedora-test-list
mailing list