Yum error message -- New twist

Benjamin Sher delphi123 at zebra.net
Mon Jul 4 06:43:16 UTC 2005


Justin Zygmont wrote:

> does the cache directory exist?
>
>
> On Mon, 4 Jul 2005, 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.
>>
>> Benjamin
>>
>>
>

Dear Justin:

Is this the cache you are referring to?

Benjamin


[sher at localhost ~]$ cd /var
[sher at localhost var]$ ls
account  crash  empty  lib    lock  mail  opt       run    state  www
cache    db     gdm    local  log   nis   preserve  spool  tmp    yp
[sher at localhost var]$ cd cache
[sher at localhost cache]$ ls
alchemist  apt  gstreamer-0.8  man  samba  yum
[sher at localhost cache]$ cd yum
[sher at localhost yum]$ ls
dag  sl-base  sl-errata
[sher at localhost yum]$






More information about the fedora-list mailing list