[Yum] [rfe] yum-arch force create headers,headers/headers.info on empty dir
nathan r. hruby
nathan at drama.uga.edu
Thu Apr 24 15:09:15 UTC 2003
Hi!
I'm new here, and have just started using YUM.
We encountereed a problem recently where the RHL9 updates/en/os/noarch
directory was empty, thus yum-arch did not create any headers in that
directory when run. This causes yum to fail before updating if the empty
directory is listed in a user yum.conf file making for unhappy users.
I emailed Seth about it and he asked me to file the below RFE in bugzilla.
I though that this might intrest the list as well, so I'm appending a copy
of the bug for comments by y'all.
Thanks!
-n
---- BEGIN BUG: http://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=19
Bug 19 - yum-arch force create headers,headers/headers.info on empty dir
Bug#: 19
Product: yum
Version: unspecified
Platform: x86
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Resolution:
Assigned To: skvidal at phy.duke.edu
Reported By: nathan at drama.uga.edu
Component: Yum
URL:
Summary: yum-arch force create headers,headers/headers.info on empty dir
Description:
This is an RFE.
It would be nice to have a "force creation of headers/ and headers.info
even if directory is empty" option as currently yum-arch doesn't do this,
which causes clients pointed at that empty repository to bail out early,
claiming it can't get the headers.
Ideally, this feature would be enabled with a run-time switch to force
creation of said directories and exit with a normal exit code (this makes
it easier for when scripting yum-arch while preventing accidental
directory creation if this were the default behavior). If the flag is not
present yum-arch should not take any action (the current behavior) and
exit with a exit code that indicates "I didn't do anything becasue the
directory was empty" (new).
In reality, either one of these options would be sufficent for dealing
repositories that are empty, but need to remain valid for clients.
-n
--- END BUG
--
----------------------------------------
nathan hruby <nathan at drama.uga.edu>
computer services specialist
uga drama & theatre
reality is a moving target
----------------------------------------
More information about the Yum
mailing list