Bug 708553

Summary: fedora-release shouldn't require fedora-release-rawhide
Product: [Fedora] Fedora Reporter: Andre Robatino <robatino>
Component: fedora-releaseAssignee: Dennis Gilmore <dennis>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: athmanem, dennis, ferdnyc, gaeran, kevin, pvnstr, txmatt, VincentBeers
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-28 05:11:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andre Robatino 2011-05-27 23:51:41 UTC
Description of problem:
Currently fedora-release requires fedora-release-rawhide, so even a minimal install drags in fedora-release-rawhide. This defeats the original purpose of the separate package which was to make it a little more difficult for people to enable the rawhide repo. This problem exists both in Rawhide (fedora-release-*16-0.1.noarch) and F15 (fedora-release-*15-1.noarch), so all current F15 installs include fedora-release-rawhide.

Version-Release number of selected component (if applicable):
fedora-release-*16-0.1.noarch (Rawhide)
fedora-release-*15-1.noarch (F15)

Comment 1 Dennis Gilmore 2011-05-28 05:11:43 UTC
its intentional on rawhide. and was an oversight on f15. but it cant be fixed now

Comment 2 Kevin Fenzi 2011-05-28 13:29:56 UTC
Can't we fix it in an update on f15? 

Just remove the requires and obsolete the old version to get it to remove rawhide? 
(anyone who's already moved to rawhide won't have the f15 release anymore)

Comment 3 Dennis Gilmore 2011-05-28 15:23:18 UTC
No, we would need to issue a followup update to remove the obsolete so that somone could choose to go to rawhide.  but then anyone installing after we issued the update wouldnt get it. we really can not fix this now.

Comment 4 Kevin Fenzi 2011-05-28 17:14:12 UTC
A versioned obsolete should work... 

Obsoletes: fedora-release-15-1

should remove rawhide, then if someone re-installs it should be 15-2, so it should allow them to do that. 

I guess in any case this isn't a super big deal, but it's nice to not have it there, so users who enable blindly all repos don't get messed up. ;(

Comment 5 Andre Robatino 2011-06-26 21:25:43 UTC
Since https://admin.fedoraproject.org/updates/fedora-release-15-3 is intended to fix this, changing to closed as errata.

Comment 6 Othman Madjoudj 2011-06-26 22:24:38 UTC
Some users reported a 'Transaction error', I confirm that it's reproducible with PackageKit


1. run 'gpk-update-viewer' as normal user
2. apply updated.
3. Transaction error, and the update process fails

Comment 7 Andre Robatino 2011-06-26 22:47:30 UTC
Confirmed. "More details" says

could not add package update for fedora-release-rawhide-15-3(noarch)updates: fedora-release-rawhide-15-3.noarch

Note that PackageKit is selecting 2 packages (fedora-release-15-3 and fedora-release-rawhide-15-3) for updating by default. If I uncheck the fedora-release-rawhide update and just update fedora-release, then it pops up the following:

Additional confirmation required

To update this package, additional software also has to be modified.

The following software also needs to be removed: 2.0 KB

Rawhide repo definitions
fedora-release-rawhide-15-1 (noarch)

and if I click on "Continue", it does the right thing. Not being familiar at all with PackageKit and how it's normally supposed to behave, could someone else file a bug against it, if necessary? Thanks.

P.S. Under exactly the same conditions, a simple "yum update" as root does the right thing without making any changes, so it does seem to be a PackageKit bug, not fedora-release.

Comment 8 Andre Robatino 2011-06-26 23:10:37 UTC
Filed bug 716752 against PackageKit ("PackageKit does not handle fedora-release-15-3 update correctly").

Comment 9 "FeRD" (Frank Dana) 2011-06-27 08:36:18 UTC
Can't fedora-release-15-3 just be backed out of the repo, for now? The change implemented to fix this bug was always intended as simply a "nice to have", judging by all parties' statements.

Hopefully all parties can also agree, breaking updates via PackageKit (the current side effect of fedora-release-15-3) is somewhat less nice to have. :-)

Comment 10 Kevin.B.W.lee 2011-06-28 09:01:56 UTC
I have same problem but, I've solved whit below.

$>sudo yum install fedora-release-rawhide-15-3

Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package fedora-release-rawhide.noarch 0:15-1 will be updated
--> Processing Dependency: fedora-release-rawhide = 15-1 for package: fedora-release-15-1.noarch
---> Package fedora-release-rawhide.noarch 0:15-3 will be an update
--> Running transaction check
---> Package fedora-release.noarch 0:15-1 will be updated
---> Package fedora-release.noarch 0:15-3 will be obsoleting
---> Package fedora-release-rawhide.noarch 0:15-1 will be obsoleted
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
 Package                                    Arch                       Version                    Repository                   Size
====================================================================================================================================
Installing:
 fedora-release                             noarch                     15-3                       updates                      25 k
     replacing  fedora-release-rawhide.noarch 15-1
Updating:
 fedora-release-rawhide                     noarch                     15-3                       updates                      11 k

Transaction Summary
====================================================================================================================================
Install       1 Package(s)
Upgrade       1 Package(s)

Total download size: 36 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
updates/prestodelta                                                                                          | 342 kB     00:00     
Processing delta metadata
Download delta size: 15 k
fedora-release-15-1_15-3.noarch.drpm                                                                         |  15 kB     00:00     
Finishing rebuild of rpms, from deltarpms
<delta rebuild>                                                                                              |  25 kB     00:01     
Presto reduced the update size by 41% (from 25 k to 15 k).
Package(s) data still to download: 11 k
fedora-release-rawhide-15-3.noarch.rpm                                                                       |  11 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : fedora-release-15-3.noarch                                                                                       1/4 
  Updating   : fedora-release-rawhide-15-3.noarch                                                                               2/4 
  Cleanup    : fedora-release-rawhide-15-1.noarch                                                                               3/4 
  Cleanup    : fedora-release-15-1.noarch                                                                                       4/4 

Installed:
  fedora-release.noarch 0:15-3                                                                                                      

Updated:
  fedora-release-rawhide.noarch 0:15-3                                                                                              

Replaced:
  fedora-release-rawhide.noarch 0:15-1                                                                                              

Complete!

Comment 11 Vincent Beers 2011-07-02 19:49:35 UTC
Confirmed, installing fedora-release-rawhide-15-3 fixes the error.