Bug 590508 - nss-softokn-3.12.4-17 update succeeds when it shouldn't
Summary: nss-softokn-3.12.4-17 update succeeds when it shouldn't
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nss-softokn
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Elio Maldonado Batiz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-10 00:53 UTC by Elio Maldonado Batiz
Modified: 2010-09-25 00:44 UTC (History)
4 users (show)

Fixed In Version: 3.12.4-19.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-25 00:44:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Elio Maldonado Batiz 2010-05-10 00:53:33 UTC
Description of problem: 
A patch in nss-softokn-3.12.4-17 requires at least version 0.4.3 of prelink and there is a conflict line in the spec to prevent it if the requirement is not met. Even though prelink was at a lower version the update completed and it should have not occurred.

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

How reproducible: Always

Steps to Reproduce:
1. execute rpm -q prelink which will sow prelink-0.4.2-4.fc12.x86_64
2. do a yum ns-softokn
  
Actual results: nss-softokn is updated to 3.12.4-17

Expected results: A conflict should have been reported and the updated not happened.

Additional info:
The conflict line in question reads
Conflicts:        Prelink < 0.4.3

which is wrong, it has a capital P. 

The line needs to be fixed to be
Conflicts:        prelink < 0.4.3

That will prevent the update.

Comment 1 Elio Maldonado Batiz 2010-05-10 01:18:21 UTC
Test of the change.
Before:
rpm -qa | grep ^nss-softokn
 nss-softokn-3.12.4-10.fc12.x86_64
 nss-softokn-freebl-3.12.4-17.fc12.x86_64

rpm -qa | grep ^prelink
 prelink-0.4.2-4.fc12.x86_64
    (< 0.4.3)

Download rpms from
 http://koji.fedoraproject.org/koji/taskinfo?taskID=2174827

Attempt update:
 yum --nogpgcheck --verbose localupdate {downloaded-rpms}

 Results:
..............
  --> Running transaction check
  ---> Package nss-softokn.x86_64 0:3.12.4-18.fc12 set to be updated
  ---> Package nss-softokn-freebl.x86_64 0:3.12.4-18.fc12 set to be updated
  --> Processing Conflict: nss-softokn-freebl-3.12.4-18.fc12.x86_64 conflicts
prelink < 0.4.3
--> Finished Dependency Resolution
Error: nss-softokn-freebl conflicts with prelink
    ............................
as desired.

Comment 2 Elio Maldonado Batiz 2010-05-10 14:46:20 UTC
Though correct this doesn't help those users to already upgraded to nss-softokn-3.12.4-17. They still have to downgrade to an earlier version.

Comment 3 Jakub Jelinek 2010-05-10 16:37:28 UTC
I've requested pushing of prelink-0.4.3-2.fc12 earlier today to f12 updates testing.  You can help it by giving it karma points...

Comment 4 Elio Maldonado Batiz 2010-05-10 17:23:08 UTC
(In reply to comment #3)
> I've requested pushing of prelink-0.4.3-2.fc12 earlier today to f12 updates
> testing.  You can help it by giving it karma points...    
Thank uou, your update together with
https://admin.fedoraproject.org/updates/nss-softokn-3.12.4-19.fc12
should take of this and the other reported problems.


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