[Yum] Local repository question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having difficulty with yum appending
'Fedora/RPMS/' onto the baseurl of my local repository
when trying to update using a file:// URL.

The relevant line(s) in my .repo are:
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
baseurl=file:///srv/www/html/yum/Fedora/Core/$releasever/base/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
file:///etc/pki/rpm-gpg/RPM-GPG-KEY

I think this behavior has to do with the file:// URL
assuming it is using a Fedora distro CD as a
repository and respecting the file layout of the CD.

This particular .repo is from a machine that has been
serving as a repository on a LAN... I could change it
to use an http://127.0.0.1/... URL, but I wish to
disable yum's behavior (appending 'Fedora/RPMS/') on
another machine for use with mock.

Suggestions???
-al


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux