Bug 123968 - Versioned obsoletes not supported, compat* installed on upgrade
Summary: Versioned obsoletes not supported, compat* installed on upgrade
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard: FC3
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-22 05:41 UTC by Pavel Roskin
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-02-24 08:05:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pavel Roskin 2004-05-22 05:41:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040506 Firefox/0.8

Description of problem:
When upgrading FC2 to FC2 (in attempt to fix some unrelated problems),
anaconda installed a bunch of compat* packages.  It happened because
anaconda treats versioned obsoletes as non-versioned ones.  For
example, compat-db obsoletes db4 older than version 4.2.  Anaconda
finds db4 installed and decides that compat-db obsoletes it.  
The version of db4 is not checked.

See also bug #123911.  While yum tries to support versioned obsoletes
but does it wrong, anaconda doesn't even try.  From file
findpackageset.py in anaconda sources:

# FIXME: I should really iterate over all matches and verify
# versioned obsoletes, but nothing in Red Hat Linux uses
# them, so I'll optimize

This statement is incorrect for Fedora Core 2.


Version-Release number of selected component (if applicable):
anaconda-10.0-5

How reproducible:
Didn't try

Steps to Reproduce:
1.Install FC2 from CD (Workstation, English, all default).
2.Upgrade that installation to FC2 using the same CD in the same
configuration.
    

Actual Results:  Several new packages are installed.  They all start
with "compat".  "compat-db" is one of them.

Expected Results:  No packages need to be installed.

Additional info:

Comment 2 Paul Nasrat 2004-06-10 07:43:31 UTC
I've fixed this so anaconda now does EVR label comparison of obsoletes.

Tested using FC2 upgrade on FC2 and no additional packages are installed.


Note You need to log in before you can comment on or make changes to this bug.