Yum error message -- New twist

Jeff Vian jvian10 at charter.net
Mon Jul 4 06:22:47 UTC 2005


On Mon, 2005-07-04 at 01:00 -0500, Benjamin Sher wrote:
> Tony Nelson wrote: 
> > At 4:14 PM -0500 7/3/05, Benjamin Sher wrote:
> >   
> > > Dear friends:
> > > 
> > > I would appreciate your help with this yum issue. I can't use yum, and I
> > > don't have any idea what the problem is. Yesterday, I posted a message
> > > with the error message generated by the "yum list available |more"
> > > command. Now I am getting a new error message. Below is the new error
> > > message and at the bottom is yesterday's error message.
> > > 
> > > [sher at localhost ~]$ yum list available |more
> > > Error: Caching enabled but no local cache of
> > > //var/cache/yum/sl-errata/primary.xml.gz from sl-errata
> > > Setting up Repos
> > > Reading repository metadata in from local files
> > > [sher at localhost ~]$
> > >     
> > 
> > FWIW, when I get yum errors like this I run yum as root so it can fix its
> > cache.
> > ____________________________________________________________________
> > TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
> >       '                              <http://www.georgeanelson.com/>
> > 
> >   
> Dear Tony:
> 
> That's right on target! That's what resolved this isseu (see my
> subsequent "Solved" message). I didn't know why it fixed itself, but
> now I know why. I ran it as root once or twice and suddenly it was
> working fine. I then ran it as user and it worked fine as user.
> 
> Thanks for this little piece of critical knowledge.
> 

AFAIK yum should _not_ run fine as a normal user.  It has to modify
system files that a normal user cannot do.  

On my system yum *refuses* to run as a normal user and gives me a
message that I must be root to run yum.  This has been the case with
both FC3 and FC4.

> Benjamin
> 
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list




More information about the fedora-list mailing list