yum wont recocnise local repos (DVD) latest rawhide

Jeremy Katz katzj at redhat.com
Tue Oct 30 20:56:37 UTC 2007


On Tue, 2007-10-30 at 16:27 -0400, Jesse Keating wrote:
> On Tue, 30 Oct 2007 14:21:10 -0600
> Michal Jaegermann <michal at harddata.com> wrote:
> > I can see a possible desire to keep '\' "reserved" if somebody will
> > put repository on, say, NTFS; altough Samba will accept '/' path
> > separators too without much fuss.  This is at least a documentation
> > bug as 'man yum.conf' does not say much about acceptable baseurl
> > formats.  I gather that quoting will be not of much help too, right?
> > I think that this should be reopened.  I also think that at least
> > quoted baseurl strings could be automatically converted into
> > an acceptable format.
> 
> Media as of test 3 now has a media.repo file on it that is suitable for
> adding to your yum configs.  It (yum) will figure out where the media is
> mounted correctly.

Actually, yum the CLI tool doesn't do anything with media.  It ignores
mediaid= only repos.  Things built on top of the yum API like pirut, on
the other hand, do handle it nicely

Doing prompting for CDs and CD switching and things like that just isn't
practical for a CLI app that is often called in automated situations

Jeremy




More information about the test mailing list