Re: yum problems

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

 



On Fri, 2008-03-21 at 03:40 -0400, Ric Moore wrote:
> On Thu, 2008-03-20 at 20:32 -0700, Craig White wrote:
> > On Thu, 2008-03-20 at 23:26 -0400, Ric Moore wrote:
> > > As of late, I've started getting this error:
> > > yum install python-gtk
> > > Loading "kernel-module" plugin
> > > Loading "basearchonly" plugin
> > > Loading "fastestmirror" plugin
> > > Loading "fedorakmod" plugin
> > > Loading "downloadonly" plugin
> > > Loading "priorities" plugin
> > > Loading "protectbase" plugin
> > > Loading "tsflags" plugin
> > > Loading "merge-conf" plugin
> > > Loading "refresh-updatesd" plugin
> > > Loading "allowdowngrade" plugin
> > > Loading "changelog" plugin
> > > Loading "protect-packages" plugin
> > > Loading "presto" plugin
> > > Loading "skip-broken" plugin
> > > Loading "security" plugin
> > > Repository fedora is listed more than once in the configuration
> > > Repository fedora-debuginfo is listed more than once in the
> > > configuration
> > > Repository fedora-source is listed more than once in the configuration
> > > Determining fastest mirrors
> > > Could not retrieve mirrorlist
> > > http://ayo.freshrpms.net/fedora/linux/7/mirrors-freshrpms error was
> > > [Errno 12] Timeout: <urlopen error timed out>
> > > Error: Cannot find a valid baseurl for repo: freshrpms
> > > 
> > > So, I've looked and looked, but do not find the repos noted being listed
> > > twice anywhere. And, the freshrpms thing is happening even while the
> > > freshrpm repo is inactive without me enabling it. Anyone have a clue??
> > > Everything worked until a day ago. Ric
> > ----
> > locating duplicated repo...
> > 
> > # grep -l '\[fedora\]' /etc/yum.repos.d/*
> > /etc/yum.repos.d/fedora.repo
> > 
> > freshrpms...
> > # cat /etc/yum.repos.d/freshrpms.repo
> > [freshrpms]
> > name=RPMForge: Freshrpms
> > #baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
> > mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
> > gpgcheck=1
> > enabled=1
> > priority=110
> > 
> > Craig
> 
> Thanks Craig! I didn't think that the resulting *~ files left over from
> an edit would still register as a valid repo file to yum. So, anything
> in that directory is considered a repo file even if it has *.repo~ in
> it? Weird. DOS brain between the chair and the computer at work here,
> relying on an filename extension. I'll put a pic of Samantha Fox in
> there to see if yum will try to use it! <grins> I'll letcha know what
> happens. Ric
----
I don't think so...I think only file names that end in '.repo' are
actually used.

The grep command listed all files in that directory that had [fedora] in
them. If you only had one file listed, it must have had the [fedora]
section in there twice.

Craig


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux