Re: yum problems

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

 



On Fri, 2008-03-21 at 06:41 -0700, Craig White wrote:
> 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.

I would think so too... 
> 
> 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.

That's the weird part. I had one file named fedora.repo and another
named fedora.repo~  and one file named fedora.debuginfo.repo and
fedora.debuginfo.repo~. When I erased the ~ files that took care of the
problem. So, as I promised, I put a jpeg of Mandee in the yum.repo.d
directory, but yum ignored it. That's hopeful, yes? Plus, I rechecked
freshrpms.repo file and the darn thing was set to enabled. Beats the
heck outa me, but I disabled it and have no more problems with it as
well. Thanks for the assist, running the script showed the ~ backup
files being recognized. Ok, I just coped fedora.repo to fedora.repo~ but
yum didn't act as before. I'm clueless. It works, and that's the end of
that. <boggles> Ric

-- 
================================================
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/
http://www.sourceforge.net/projects/oar
http://www.wayward4now.net  <---down4now too
================================================


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

  Powered by Linux