Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2259

Summary: rpm doesn't handle multiple versions of a library well
Product: [Retired] Red Hat Linux Reporter: Marc MERLIN <marc_soft>
Component: rpmAssignee: Jay Turner <jturner>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.0CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-04-20 19:28: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 Marc MERLIN 1999-04-19 03:39:19 UTC
This isn't a bug, it's an enhancement request:
moremagic [mc]# rpm -U slang-1.2.2-4.i386.rpm
error: failed dependencies:
        libslang.so.0 is needed by timidity-0.2i-5
        libslang.so.0 is needed by mutt-0.93.2i-1
moremagic [mc]# rpm -q slang
slang-1.2.2-3
slang-0.99.38-4

I did purposely do a rpm -i on the new slang so that I could
have both libraries at the same time.
So, I'm currently forced to do the following:
moremagic [mc]# rpm -e slang-1.2.2-3 --nodeps
moremagic [mc]# rpm -i slang-1.2.2-4.i386.rpm

It'd be nice if rpm could figure out that rpm -U
slang-1.2.2-4.i386.rpm, really means to upgrade the package
that also provides libslang.so.1, and leave alone the one
that provides libslang.so.0

Comment 1 Jeff Johnson 1999-04-20 19:28:59 UTC
The complexity that would be introduced into rpm by your update
enhancement request boggles my mind:-). Let's keep it simple:
	rpm -e ...
	rpm -i ...
gets the job done and it's not like you need to type this more
often than every other week or so :-)