Bug 58942

Summary: should gnome-libs obsolete db1?
Product: [Retired] Red Hat Raw Hide Reporter: Jonathan Kamens <jik>
Component: gnome-libsAssignee: Havoc Pennington <hp>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: aleksey, alikins, goeran, katzj, notting, pc-redhat, radford
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-28 18:44:55 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:
Bug Depends On:    
Bug Blocks: 79579, 100644    

Description Jonathan Kamens 2002-01-28 13:36:55 UTC
Tried to upgrade to gnome-libs-1.4.1.2.90-7 from Raw Hide.  Got this:

file /usr/bin/db1_dump185 from install of gnome-libs-1.4.1.2.90-7 conflicts with
file from package db1-1.85-7
file /usr/lib/libdb1.so.2 from install of gnome-libs-1.4.1.2.90-7 conflicts with
file from package db1-1.85-7

My guess here is that gnome-libs is trying to obsolete db1, since db1 isn't in
Raw Hide.  If that's the case, shouldn't the RPM know to remove db1?  Also, if
that's what's going on, it seems somewhat incongruous to me, since there are
things outside of GNOME that depend on db1.

Comment 1 Havoc Pennington 2002-01-28 16:09:40 UTC
The idea is that in rawhide everything else depending on db1 will go away, 
and it will remain purely to maintain the gnome-libs ABI.

I was advised not to Obsoletes: db1 for now, but I don't really understand the 
technical issues there.

Comment 2 Havoc Pennington 2002-02-26 19:55:11 UTC
*** Bug 59264 has been marked as a duplicate of this bug. ***

Comment 3 Havoc Pennington 2002-07-02 22:53:07 UTC
Jeremy, Bill - should I obsolete db1?

Comment 4 Jeremy Katz 2002-07-03 04:56:35 UTC
The downside is that adding an obsoletes means that upgrades where db1 was
installed (basically, all installs) will always pull in gnome-libs, which I'm
not sure we really want to do :/

Just having a conflicts might be the best solution (though I'd need to
double-check what the installer would do in that case)

Comment 5 Bill Nottingham 2002-07-03 15:10:31 UTC
Also, it needs to not freak out RHN, whichever solution we choose.

Comment 6 Jeremy Katz 2002-07-03 15:29:12 UTC
The goal is that anaconda and up2date's code will be a lot more similar now so
that we can catch the freak-ish rhn cases during installer testing

Comment 7 Aleksey Nogin 2002-07-10 21:01:57 UTC
Does this suggest a need for a new kind of "Obsoletes" dependency
("MayObsolete"?) that would allow removing "MayObsoleted" package when the new
package is installed, but would not pull in the new package just to obsolete the
old one?

Comment 8 Bill Nottingham 2002-07-21 03:55:27 UTC
*** Bug 69185 has been marked as a duplicate of this bug. ***

Comment 9 Havoc Pennington 2003-01-07 01:09:45 UTC
Is there a course of action here that's clearly safe and better than the 
status quo, or should we just say screw it?

Comment 10 Havoc Pennington 2003-01-07 21:36:10 UTC
*** Bug 73138 has been marked as a duplicate of this bug. ***

Comment 11 Havoc Pennington 2003-01-07 21:39:22 UTC
*** Bug 73139 has been marked as a duplicate of this bug. ***

Comment 12 Matthias Saou 2003-08-06 13:34:29 UTC
Does gnome-libs need to contain a shared db1 library? Wouldn't linking it
statically against its own db1 work around the problem?
This bug surfaces every once in a while, and will probably continue as the
GNOME1 libs aren't something that is easy to get completely rid of...

Comment 13 Havoc Pennington 2003-08-06 14:23:16 UTC
If libgnome currently links to shared db1 it changes the ABI to switch to 
static db1, right?

Oh we can get rid of gnome-libs 1.x, just you wait. ;-)
Pretty much just waiting on gnucash.

Comment 14 Havoc Pennington 2004-05-25 18:18:59 UTC
Does this bug still need to be open? What is the concrete change to
make at this point?

Comment 15 Jonathan Kamens 2004-05-28 09:17:18 UTC
I believe the bug still exists, but it may be mostly moot, considering
how long ago Red Hat last released a db1 package.  I don't know enough
about how upgrading from a Red Hat release that old would work to know
whether the bug still matters.


Comment 16 Havoc Pennington 2004-10-28 18:44:02 UTC
From User-Agent: XML-RPC

Doesn't seem relevant anymore...