On Tue, 2006-10-31 at 10:36 -0400, Gene Heskett wrote:
> On Tuesday 31 October 2006 09:21, Craig White wrote:
> >On Tue, 2006-10-31 at 09:49 -0400, Gene Heskett wrote:
> >> Greetings;
> >>
> >> Over the weekend I tried to drag out my lappy and update it, getting
> >> ready to upgrade to FC6, its currently FC5, but about 2 weeks out of
> >> date.
> >>
> >> To make a long story shorter, what with editing the repo addresses,
> >> putting
fedoraproject.org in where
downloads-redhat.com was due to
> >> the repo or mirroring failures, I now have a __.000db file that when
> >> I shut it down yesterday, was a zero length file and both yumex and
> >> smart package manager were spitting out terminal tummy aches over
> >> it. An 'rpm --rebuilddb' also fails, as does an "rpm
--initdb"
> >>
> >> Humm, now this morning, its back to complaining about an "invalid
> >> baseurl for core".
> >>
> >> As that _000.db file seems to be missing now, and its not bitching
> >> about it ATM, whats the next step here?, I've been out of the loop
> >> since last wednesday, out on the road. So if its been posted, whats
> >> the subject line?
> >
> >----
> >try removing the # (commenting out) the baseurl
> >in /etc/yum.repos.d/fedora-core.repo
>
> I've been trying to edit that and have it thoroughly fubared.
>
> If I can't restore what was there, and amanda doesn't try to track that
> lappy, what is the correct contents for the "mirrorlist=" line in
> fedora-core.repo?
>
> Where can I download a replacement for the contents of
> /etc/yum.repos.d? I've had google searching for it, but all it can seem
> to find is the livna setup instructions. They seem to be fine.
----
this is mine... (altered per instructions from wiki for FC-5)
*************************************************************************
** # cat /etc/yum.repos.d/fedora-core.repo
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$release
ver/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releas
ever&arch=$basearch enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasev
er/$basearch/debug/ enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasev
er/source/SRPMS/ enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
file:///etc/pki/rpm-gpg/RPM-GPG-KEY
*************************************************************************
******* # cat /etc/yum.repos.d/fedora-extras.repo
[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$relea
sever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$rele
asever&arch=$basearch enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
[extras-debuginfo]
name=Fedora Extras $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releas
ever/$basearch/debug/ enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
[extras-source]
name=Fedora Extras $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releas
ever/SRPMS/ enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
*************************************************************************
*******
# cat /etc/yum.repos.d/fedora-updates.repo
[updates]
name=Fedora Core $releasever - $basearch - Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$
releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-rele
ased-$releasever&arch=$basearch enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-debuginfo]
name=Fedora Core $releasever - $basearch - Updates - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$
releasever/$basearch/debug/ enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-source]
name=Fedora Core $releasever - Updates Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$
releasever/SRPMS/ enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
Thanks, that did seem to do it. Much appreciated.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.