yum prob on lappy

Craig White craigwhite at azapple.com
Tue Oct 31 14:44:35 UTC 2006


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/$releasever/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&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/$releasever/$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/$releasever/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/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&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/$releasever/$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/$releasever/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-released-$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





More information about the fedora-list mailing list