Adding own mirror to yum

Bruno Wolff III bruno at wolff.to
Wed Sep 5 05:18:59 UTC 2007


On Wed, Sep 05, 2007 at 07:04:05 +0200,
  Mark Panen <mark.panen at gmail.com> wrote:
> On 9/5/07, Bruno Wolff III <bruno at wolff.to> wrote:
> > On Wed, Sep 05, 2007 at 06:19:31 +0200,
> >   Mark Panen <mark.panen at gmail.com> wrote:
> > > Hi
> > >
> > > How would i alter the fedora-updates-repo file below to add my own
> > > mirror and only use my own local mirror. I have played around with
> > > various options without success.
> >
> > This is what I have for my local updates mirror:
> > [updates]
> > name=Fedora $releasever - $basearch - Updates
> > #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/
> > $basearch/
> > baseurl=file:///home/f7u/
> > #mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$
> > releasever&arch=$basearch
> > enabled=1
> > gpgcheck=1
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
> >
> 
> How should the file "/etc/yum.repos.d/file.repo" look like ?

That is from /etc/yum.repos.d/fedora-updates.repo . That is just the first
section, but you can change the debug and source sections similarly if
you want to change their mirror data as well.




More information about the users mailing list