Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (18 sloc) 1.65 KB

type: rpmdatabase

The <rpmdatabase> objects are the Linux RPM Package Manager inspectors. The RPM database contains entries for all the installed programs on this computer.

capability <string> of <rpmdatabase> : capability

Returns a capability object matching this string if some package in the RPM database provides that capability.

installed <string> of <rpmdatabase> : boolean

Returns True if some package in the RPM database provides the capability represented by this string.

package <string> of <rpmdatabase> : package

Returns the named package from the given RPM database.

package conflicting with <capability> of <rpmdatabase> : package

Returns a package in the RPM database that conflicts with this capability. If any packages are returned, then the rpm command will not allow any package providing this capability to be installed.

package installing <capability> of <rpmdatabase> : package

Finds the package that installed the specified capability.

package of <rpmdatabase> : package

Returns all the packages in the given RPM database.

package providing <capability> of <rpmdatabase> : package

Returns a package in the RPM database that provides this capability. If no packages are returned, then the rpm command will not allow any packages requiring this capability to be installed.

package requiring <capability> of <rpmdatabase> : package

Returns a package in the RPM database that requires this capability. If any packages are returned, then the rpm command will not allow any installed package that provides this capability to be uninstalled.

You can’t perform that action at this time.