#include <PkgDep.h>
Inheritance diagram for PkgDep::ErrorResult:
Public Member Functions | |
ErrorResult (const PkgDep &pkgdep, PMSolvablePtr pkg) | |
ErrorResult (const PkgDep &pkgdep, const PkgName &name) | |
ErrorResult (const Result &res) | |
void | add_unresolvable (PMSolvablePtr s, const PkgRelation &rel) |
void | add_conflict (const PkgRevRelation &rrel, const PkgDep &dep, PMSolvablePtr to_remove, PMSolvablePtr assume_instd, RelInfo::Kind kind=RelInfo::CONFLICT) |
void | add_conflict (PMSolvablePtr s, const PkgRelation &rel, const PkgDep &dep, PMSolvablePtr to_remove, PMSolvablePtr assume_instd, RelInfo::Kind kind=RelInfo::CONFLICT) |
void | add_alternative (PMSolvablePtr p, alternative_kind k) |
void | add_notes (const Notes ¬es) |
Public Attributes | |
bool | not_available |
NeededEditionRange | not_avail_range |
RelInfoList | unresolvable |
std::list< Alternative > | alternatives |
RelInfoList | conflicts_with |
SolvableList | remove_to_solve_conflict |
SolvableList | remove_referers |
bool | state_change_not_possible |
|
|
|
|
|
|
|
|
|
This Result has a problem with s and its relation rel. To solve the conflict, to_remove must be removed/not installed. |
|
|
|
Reimplemented from PkgDep::Result. |
|
|
|
If this list is not empty, it means that the package is a virtual package and there is more than one real package that provides it, and that the alternative has not been solved automatically. The Alternatives give the name of each possible alternative and its kind (simple, requires more, generates a conflict). |
|
This field lists all kinds of conflicts of the package with installed packages or other packages to be installed. The RelInfos can be requirements conflicts or obsoletions. An entry can be generated if:
|
|
This field gives details about the editions that would be needed to satisfy the requirements. For interpretation, see the description of NeededEditionRange above. It s meaningful only if not_available is set. Otherwise, not_avail_range.allows_any() is true. |
|
true if this pkg is required but not available, not_avail_range gives details |
|
similar list to refers, but recursively resolved. You'll have to remove all of them if the affected package should not be installed. This is currently computed in PMManager, not PkgDep. |
|
This is an auxiliary field to conflicts_with. The conflicts disappear if all the packages listed would be removed. This list is generated by a rather simple algorithm and does not have any knowledge about the installation. If something conflicts with libc, expect that the list contains nearly all installed packages :-) |
|
package should be set to auto install, but the user's decission prevented that |
|
This lists the requirements of the package that could not be resolved. The RelInfos can never be conflicts. For each missing package, there s a separate entry in the error result list with not_available set. |