Problem in F7 with the first "yum update" after installation
Tony Nelson
tonynelson at georgeanelson.com
Mon Jun 4 18:14:23 UTC 2007
At 12:35 PM -0300 6/4/07, John DeDourek wrote:
>Tony Nelson wrote:
>> At 2:41 AM -0800 6/3/07, Raymond C. Rodgers wrote:
>>> Joachim Backes wrote:
>>>> Updated my FC6 / x86_64 by the new F7 DVD. And after this, I wanted to
>>>> run the first "yum update", but it failed:
>>>>
>>>> yum update
>>>> Loading "installonlyn" plugin
>>>> Setting up Update Process
>>>> Error: Cannot open/read repomd.xml file for repository: updates
>>>>
>>>> Can somebody help?
>>> I ran into this same problem when I upgraded from FC6 to F7. Initially I
>>> thought it was heavy traffic to the yum servers, but I decided to watch
>>> the transaction in Wireshark just to be sure... What you'll probably see
>>> is that yum is reporting your system as fedora-6 instead of 7, and that
>>> this is causing an error... I was unable to solve this by tinkering, and
>>> decided to do a clean install since I didn't have much data on the
>>> machine anyway. I hope you have better luck than I did.
>>
>> The release number comes from the version of the package named in
>> distroverpkg in /etc/yum.conf, normally redhat-release, but any package
>> with the desired version number will do.
>
>Looking at my more-or-less standard FC6 system with updates
>applied shows that in
> /etc/yum.conf
>I have
> destroverpkg=redhat-release
>
>However,
> rpm -q redhat-release
>gives
> package redhat-release is not installed
>
>However,
> rpm -qa | grep release
>gives
> fedora-release-notes-6-3
> fedora-release-6-4
>
>Would this represent a problem for an upgrade?
Good point. It matches what I have. I see that it is done through a
"provides", and "rpm -q --whatprovides redhat-release" returns
fedora-release. So it's a "virtual package" name.
--
____________________________________________________________________
TonyN.:' <mailto:tonynelson at georgeanelson.com>
' <http://www.georgeanelson.com/>
More information about the users
mailing list