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@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@localhost ~]$
FWIW, when I get yum errors like this I run yum as root so it can
fix its
cache.
____________________________________________________________________
TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
' <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@localhost ~]$ cd /var
[sher@localhost var]$ ls
account crash empty lib lock mail opt run state www
cache db gdm local log nis preserve spool tmp yp
[sher@localhost var]$ cd cache
[sher@localhost cache]$ ls
alchemist apt gstreamer-0.8 man samba yum
[sher@localhost cache]$ cd yum
[sher@localhost yum]$ ls
dag sl-base sl-errata
[sher@localhost yum]$