Bug 59988

Summary: libpng10 should conflict with libpng < 1.2
Product: [Retired] Red Hat Linux Reporter: Göran Uddeborg <goeran>
Component: libpng10Assignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 7.3   
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: 2002-02-18 11:20:34 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 Göran Uddeborg 2002-02-18 11:20:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Description of problem:
This is analogous to a previous problem in openssl, bug 49382.

Installing libpng10-1.0.12-4 when libpng-1.0.3-2 is already installed works
fine, but probably should not.  Both packages provide the same library:
libpng.so.2.  Since it is not exactly the same minor number, there is no file
collision, and probably nothing actually breaks.  But the situation is somewhat
confused and not very useful.

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


How reproducible:
Always

Steps to Reproduce:
1. Have a previous libpng installed:
uebn> rpm -q libpng
libpng-1.0.3-2

2. Install the new libpng10:
uebn### rpm -U /mnt/cdrom/RedHat/RPMS/libpng10-1.0.12-4.i386.rpm
uebn### 


Actual Results:  The two versions of libpng both live side by side, providing
the same library:

uebn> ll /usr/lib/libpng.*
-rw-r--r--   1 root     root       133984 Mar 21  1999 /usr/lib/libpng.a
lrwxrwxrwx   1 root     root           11 Feb 16 19:47 /usr/lib/libpng.so ->
libpng.so.2
lrwxrwxrwx   1 root     root           18 Feb 18 11:51 /usr/lib/libpng.so.2 ->
libpng.so.2.1.0.12
-rwxr-xr-x   1 root     root       153756 Jan 30 18:41 /usr/lib/libpng.so.2.1.0.12
-rwxr-xr-x   1 root     root       127533 Mar 21  1999 /usr/lib/libpng.so.2.1.0.3

uebn> rpm -q --whatprovides libpng.so.2
libpng-1.0.3-2
libpng-devel-1.0.3-2
libpng10-1.0.12-4


Expected Results:  I think rpm should complain unless libpng has previously (or
simultaneously is) upgraded to 1.2

Additional info:

I would recommend a "conflicts: libpng < 1.2" in libpng10.

Comment 1 Bernhard Rosenkraenzer 2002-02-26 16:09:18 UTC
You're right, conflict added in 1.0.12-5