Description of problem: Today's fedora-release wants to erase my fedora-release-rawhide package, and I would need to reinstall it: Installing: fedora-release noarch 19-3 updates-testing 32 k replacing fedora-release-rawhide.noarch 19-2 The reason is that in fedora-release.spec there is an Obsoletes tag that increases automatically with updates of the package: Obsoletes: fedora-release-rawhide < %{version}-%{release} Instead, that one should specify the fixed/hardcoded version-release of the last fedora-release-rawhide it wants to replace. According to the %changelog that would be: Obsoletes: fedora-release-rawhide < 19-0.4 https://fedoraproject.org/wiki/Packaging:Guidelines#Renaming.2FReplacing_Existing_Packages Else every new update of this package would remove fedora-release-rawhide again.
Confirm.
This surprised me today as well. Please fix this issue. Thanks.
fedora-release-19-5 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/fedora-release-19-5
Package fedora-release-19-5: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing fedora-release-19-5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-21411/fedora-release-19-5 then log in and leave karma (feedback).
fedora-release-19-5 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
What I don't understand is: Why the heck do we Obsolete fedora-release-rawhide at all? 1. It is disabled by default when installed. 2. It is not installed by default (hasn't been for ages), so only people who explicitly installed it have it installed. 3. Every time I upgrade to a new Fedora release, I have to reinstall fedora-release-rawhide so my repoquery --repoid=rawhide works! What's the point? Why can't we remove that Obsoletes entirely rather than "fixing" it to be <%{fedora}-1?
It is done once to take you from Rawhide to Branched. Then, if you want to return to Rawhide or only get access to the repo again, you need to be explicit by reinstalling the package (and reenabling Rawhide if that's desired). I think more people want to go from Fedora development to the next release, than to stay using Rawhide across multiple development cycles. Rawhide is not a real rolling-release.
I installed F20 alpha and later fedora-release-rawhide package to be able to use repoquery on rawhide packages. And then suddenly the fedora-release-rawhide was removed by update of fedora-release. That does not make sense. I actually never switched between rawhide and branched, yet my fedora-release-rawhide was removed. That does not make sense.
Same here, I install fedora-release-rawhide on Fedora n to be able to do repoqueries, then I upgrade to Fedora n+1, it gets removed, I readd it, it gets removed again when I upgrade to Fedora n+2 etc. This reminds me of the legend of Sisyphus and Tantalus, and really tests my nerves. I think this Obsoletes is quite unexpected and causes more problems than it solves.
Re: comment 8 _That_ is exactly why I had opened this ticket, albeit for F19. It has been fixed for F19 and F20 with a hardcoded maximum version that's low enough. Re: comment 9 That would need a different fix, since the Obsoletes in fedora-release +1 would trigger again.
That's my point. This "fix" is not sufficient. The Obsoletes should be removed entirely and in all branches.