Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 35424

Fedora 17 - 18 Fedup / Yum - invalid $releasever

$
0
0
All, not sure if anyone else has run into this or not, maybe someone has a fix...

I am maintaining an upgrade path for a mythdora box I have been running for a while now, re-building once at Mythdora 12.23 then converting over to Fedora 14 and Mythtv...

I just upgraded from Fedora 16 to 17 to 18. From 16 to 17, I used preupgrade and full DVD to go from 16 to 17. Preupgrade did the re-work of file system, but would not download packages properly so I went to the DVD method and upgraded. Shortly after I realized I had changed over to hard-coded release versions a long time ago due to mythtv issues which caused pre-upgrade not to resolve $releasever as it wasn't being used.

Once I was on Fedora 17, I fixed the $releasever issues, and ensured the system was at the latest package set on Fedora 17 & rpmfusion (mythtv support). I then tried to use FedUp via network to upgrade to Fedora 18, this would not find the images like others have had problems with, so I went with the ISO route. It seemed to resove a package set, created the GRUB2 entry and I rebooted. A while later, I checked the terminal display as I am doing most of this remote, and it was at a Fedora 17 prompt booted from Fedora 18 (newer kernel with Fedora 17)....

Problem I found was that while the ISO had upgraded what it could, it left a bunch of FC17 packages since they were newer, but each time I went to upgrade, it tried to go to the Fedora 17 repositories, not Fedora 18.

I ran rpm -q --qf "%{version}\n" --whatprovides redhat-release and it returns 18, but when I run yum-debug-dump the txt file it dumps shows releasever: 17....

I got around this now, by hard-coding the 18 into the repositories again and forcing a --releasever=18 into yum. I did a yum update and yum dist-sync and it updated over 1000 packages again, and now I am on a full set of Fedora 18 packages, but the version yum still reports is 17... My redhat-release and fedora-release both show Fedora 18 and I don't have a Fedora 17 release installed. I even tried to force a releasever=17 into yum.conf.

Any ideas how I can get yum to see the new release version without --releasever each time so I can revert the repositories back to using $releasever?

Thanks and sorry for the long message.

Viewing all articles
Browse latest Browse all 35424

Trending Articles