Bug 1437442

Summary: multilibs transition issue with lz4
Product: [Fedora] Fedora Reporter: Nicolas Chauvet (kwizart) <kwizart>
Component: lz4Assignee: pjp <pj.pandit>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: ignatenko, pj.pandit
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-03 09:47:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix multilibs transition none

Description Nicolas Chauvet (kwizart) 2017-03-30 10:31:29 UTC
Description of problem:
When having both lz4.i686 and lz4.x86_64 , then splitting into -libs for proper multilibs handling

Version-Release number of selected component (if applicable):
current when upgrading from earlier version

How reproducible:
always

Steps to Reproduce:
1. install lz4.x86_64 and lz4.i686
2. 
3.

Actual results:
previous lz4.i686 conflicts with newer lz4-libs.i686

Expected results:
upgrade path should work.

Additional info:
There is a need to Add Obsoletes: lz4 < 1.7.3-4 for -libs.

Comment 1 Nicolas Chauvet (kwizart) 2017-03-30 10:32:52 UTC
Created attachment 1267482 [details]
Fix multilibs transition

Comment 2 Igor Gnatenko 2017-03-30 10:45:28 UTC
this will replace lz4 with lz4-libs which is wrong.

Comment 3 Nicolas Chauvet (kwizart) 2017-03-30 11:33:52 UTC
(In reply to Igor Gnatenko from comment #2)
> this will replace lz4 with lz4-libs which is wrong.

Nope, it will allow to transition. It's not provided on purpose.

Comment 4 Igor Gnatenko 2017-03-30 11:34:58 UTC
(In reply to Nicolas Chauvet (kwizart) from comment #3)
> (In reply to Igor Gnatenko from comment #2)
> > this will replace lz4 with lz4-libs which is wrong.
> 
> Nope, it will allow to transition. It's not provided on purpose.

What I meant is to add Obsoletes to the main package as well.

Comment 5 Nicolas Chauvet (kwizart) 2017-03-30 11:40:38 UTC
(In reply to Igor Gnatenko from comment #4)
> (In reply to Nicolas Chauvet (kwizart) from comment #3)
> > (In reply to Igor Gnatenko from comment #2)
> > > this will replace lz4 with lz4-libs which is wrong.
> > 
> > Nope, it will allow to transition. It's not provided on purpose.
> 
> What I meant is to add Obsoletes to the main package as well.

No, the main package "naturally" obsoletes itslef as the version is higher.

This change was a very trivial packaging meme from the time multilibs transition was taken care of. Still I don't see where it's still documented.

Comment 6 Nicolas Chauvet (kwizart) 2017-03-30 11:42:33 UTC
That been said, what can be done is to enforce proper evra from main to the -libs subpackage.

Comment 7 Nicolas Chauvet (kwizart) 2017-04-03 09:47:22 UTC
fixed in 1436110

*** This bug has been marked as a duplicate of bug 1436110 ***