YUM Error

John Moniz john.moniz-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Sun Apr 2 18:41:03 UTC 2006


Jamon Camisso wrote:

> Kevin Cozens wrote:
>
>> John Moniz wrote:
>>
>>> I have a PC I am setting up with FC4 for my son. Initially, I 
>>> installed RH7.3 (what a great distro). I had yum working and 
>>> updated/installed a few packages.
>>
>> [snip]
>>
>>> I presently have another FC4 machine with the very same version of 
>>> yum and it works fine, so it shouldn't be the yum version that's the 
>>> problem. It seems that the problem might be the network, but I don't 
>>> know what.
>>>
>>> Any ideas? If I can't get it fixed, it means re-installing FC4 from 
>>> scratch, then dumping it for another distro if it happens again.
>>
>>
>> Since the machine which has the non-working yum was upgraded from 
>> RH7.3 I would suggest you take a look at the contents of the 
>> yum.repos.d directory. The only files in there should be files ending 
>> in '.repo'. If you have files ending in .rpmsave the yum update 
>> wasn't complete and needed some manual intervention.
>
>
> You might also check that the repositories listed there are set to 
> enabled. Open each file and look for the enabled line and make sure 
> that enabled=1 for each of the core repositories.
>
> Jamon 

Hi and thanks for the suggestions.

There are no .rpmsave files in the yum.repos.d directory. I also made 
sure that all repositories listed are set to enabled. They are exacty 
the same as the repositories on my other system, which does work. I also 
did a 'yum clean all'

As per Tom W.'s suggestion to make sure that the baseurl exists, here's 
what I think is the baseurl that is causing the problem. There may be 
others, but it doesn't get passed this one:
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
And here is the mirror site listed:
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever

What would be the command that would return the value for '$releasever' 
and '$basearch' so I can check whether it makes sense? I can access the 
following site, which I would think is the right one:
http://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/

I also changed the baseurl line to the above - no luck.

Is it possible that, even though I am able to access the internet, yum 
isn't?

Thanks,

John.

--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list