how to make a local repository after a yum update?
gene.heskett at verizon.net
Sun Sep 5 03:13:42 UTC 2004
On Saturday 04 September 2004 20:46, Michal Jaegermann wrote:
>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',
>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
>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
>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?
You at least have company, I went down that road also, and as you
said, no joy...
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.25% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
More information about the test