[PUP-897] package type should accept virtual package for rpm Created: 2013/11/26 Updated: 2016/10/19 Resolved: 2014/02/25
|Fix Version/s:||PUP 3.5.0|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Epic Link:||RHEL 7 Support|
|Sprint:||Week 2014-2-5 to 2014-2-12, Week 2014-2-12 to 2014-2-19, Week 2014-2-19 to 2014-2-26|
Rpm ( like many similar package systems ) define a system of virtual package, with the tag Provides.
So I can use "urpmi perl(Term::Size::Any)" to install the rpm.
The package is installed, but I see a error message :
Here is a patch that fix this. It should allows to use any Provides for all rpm based package managers, but I only checked with urpmi and yum.
|Comment by Matthew Mosesohn [ 2014/01/27 ]|
There is already a patch for this: http://projects.puppetlabs.com/attachments/download/1240/0001-allows-rpm-based-package-managers-to-cleanly-support.patch
What is the main obstacle to merging this?
|Comment by Michelle Johansen [ 2014/01/31 ]|
|Comment by Ryan McKern [ 2014/01/31 ]|
There's a comment in the original conversation on projects.puppetlabs.com from Eric Sorenson:
I can confirm that this patch hasn't been merged yet, but that was the last conversation about it.
|Comment by Michelle Johansen [ 2014/02/03 ]|
Kylo Ginsberg Is this patch ready for merge?
|Comment by Kylo Ginsberg [ 2014/02/03 ]|
Matthew Mosesohn the only obstacle is that we haven't gotten around to studying the issue just yet, although we got as far as targeting it for 3.5.
Michelle Johansen this ticket hasn't made it into a sprint yet, so I'm not aware of anyone taking a long look at the issue or the patch. Since there's heightened interest, I'm all for pulling this into the next sprint. In fact, I'll do so right now
|Comment by Peter Huene [ 2014/02/20 ]|
For functional review on RHEL/CentOS/Fedora, you can use a the "vim" virtual package to see if it will install without errors.
Without the fix, yum will install "vim" (vim-enhanced is the package that should be installed) and then rpm will fail to query it, causing an error.
With the fix, yum will install "vim" and then rpm will find the vim virtual package, so it should install successfully.
|Comment by Adrien Thebo [ 2014/02/25 ]|
I couldn't reproduce with the vim package but I found the 'owncloud-database' package which is a virtual package on Fedora 18. Verified with the following: