Bug 2259 - rpm doesn't handle multiple versions of a library well
rpm doesn't handle multiple versions of a library well
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-04-18 23:39 EDT by Marc MERLIN
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-04-20 15:28:43 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marc MERLIN 1999-04-18 23:39:19 EDT
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 15:28:59 EDT
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 :-)

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