Dependency resolution module for yum.
Bases: object
A class for resolving dependencies.
Return whether the given package object can be installed multiple times with different versions. For example, this would be true of kernels and kernel modules.
Parameters: | po – the package object that this function will determine whether can be install multiple times |
---|---|
Returns: | a boolean specifying whether po can be installed multiple times |
Call resolveDeps(), and profile the call using the cprof profiler.
Returns: | a tuple containing the result code and a list of result strings. This is simply the return value of resolveDeps() being passed up. |
---|
Sets up the transaction set before it is used.
Set up the transaction set that will be used for all the work.
Return whether the given package in installed.
Parameters: | pkgname – the name of the package |
---|---|
Returns: | whether the package in installed |
Populate the transaction set.
Parameters: |
|
---|
Call resolveDeps(), and profile the call using the hotshot profiler.
Returns: | a tuple containing the result code and a list of result strings. This is simply the return value of resolveDeps() being passed up. |
---|
Resolve dependencies for the packages in the current trasaction set.
Parameters: |
|
---|
Search the packageSacks for what provides the specified feature or file.
Parameters: |
|
---|---|
Returns: | a ListPackagaSack containing the packages that match the arguments, and may be empty |
Bases: object
Object that YumDepsolver uses to see what things are needed to close the transaction set. The attributes requires and conflicts are lists of requires and conflicts in the current transaction set. Each item in the lists is a Requires or Conflicts object.