HomePhorge

(PUP-897) Allow rpm package provider to query by virtual package name.
abfc76ca2506Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-897) Allow rpm package provider to query by virtual package name.

Some providers that inherit from the rpm provider, such as the yum provider, do
a query after installing a package. If the package is specified by a virtual name,
the yum provider installs the package successfully, but the base rpm provider
implementation fails to query the installed package. This causes a confusing
"could not find package" error even though the package was installed.

Passing the '--whatprovides' option to rpm when performing a query instructs rpm
to locate packages that provide the given virtual name. This enables child providers
to install by virtual package name without errors.

Details

Provenance
Peter Huene <peter.huene@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU06d5f5325676: (maint) Add newline at end-of-file under lib
Branches
Unknown
Tags
Unknown

Event Timeline

Peter Huene <peter.huene@puppetlabs.com> committed rPUabfc76ca2506: (PUP-897) Allow rpm package provider to query by virtual package name. (authored by Peter Huene <peter.huene@puppetlabs.com>).Feb 19 2014, 6:48 AM