12 #ifndef ZYPP_RESOLVER_H 13 #define ZYPP_RESOLVER_H 373 bool createSolverTestcase(
const std::string & dumpPath =
"/var/log/YaST2/solverTestcase",
bool runSolver =
true );
456 #endif // ZYPP_RESOLVER_H void doUpdate()
Update to newest package.
solver::detail::ItemCapKindList installs(const PoolItem &item)
Gives information about WHICH additional items will be installed due the installation of an item...
std::list< ProblemSolution_Ptr > ProblemSolutionList
bool resolvePool()
Resolve package dependencies:
sat::Transaction getTransaction()
Return the Transaction computed by the last solver run.
bool upgradingRepos() const
Whether there is at least one UpgradeRepo request pending.
Common types used in the Resolver public API and need to be passed down to the details tree...
void addUpgradeRepo(Repository repo_r)
Adding request to perform a dist upgrade restricted to this repository.
void setDefaultAllowVendorChange()
bool createSolverTestcase(const std::string &dumpPath="/var/log/YaST2/solverTestcase", bool runSolver=true)
Generates a solver Testcase of the current state.
CapabilitySet getRequire() const
Get all the additional requirements set by addRequire(Capability).
void setAllowDowngrade(bool yesno_r)
Whether to allow to downgrade installed solvable.
bool dupAllowVendorChange() const
void setAllowNameChange(bool yesno_r)
Whether to allow to change name of installed solvable.
ResolverFocus
The resolvers general attitude.
void setDefaultSolveSrcPackages()
void setCleandepsOnRemove(bool yesno_r)
Cleanup when deleting packages.
void removeRequire(const Capability &capability)
Remove the additional requirement set by addRequire(Capability).
void dupSetDefaultAllowNameChange()
void dupSetAllowNameChange(bool yesno_r)
dup mode: allow to change name of installed solvable
void setAllowVendorChange(bool yesno_r)
Whether to allow to change vendor of installed solvables.
String related utilities and Regular expression matching.
zypp::RW_pointer< solver::detail::ResolverInternal > _pimpl
void setUpdateMode(bool yesno_r)
Setting whether the solver should perform in 'update' mode or not.
void setOnlyRequires(bool yesno_r)
Setting whether required packages are installed ONLY So recommended packages, language packages and p...
Libsolv transaction wrapper.
bool doUpgrade()
Do an distribution upgrade (DUP)
std::list< SolverQueueItem_Ptr > SolverQueueItemList
friend std::ostream & operator<<(std::ostream &str, const Resolver &obj)
solver::detail::ItemCapKindList isInstalledBy(const PoolItem &item)
Gives information about WHO has pused an installation of an given item.
bool resolveQueue(solver::detail::SolverQueueItemList &queue)
Resolve package dependencies:
bool ignoreAlreadyRecommended() const
ResolverProblemList problems()
Return the dependency problems found by the last call to resolveDependencies().
void removeUpgradeRepo(Repository repo_r)
Remove an upgrade request for this repo.
solver::detail::ItemCapKindList installedSatisfied(const PoolItem &item)
Gives information about WHICH items require an already installed item.
void setDefaultAllowArchChange()
CapabilitySet getConflict() const
Get all the additional conflicts set by addConflict(Capability).
void setUpgradeMode(bool yesno_r)
Setting whether the solver should perform in 'upgrade' mode or not.
solver::detail::ItemCapKindList satifiedByInstalled(const PoolItem &item)
Gives information about WHICH installed items are requested by the installation of an item...
void setDefaultCleandepsOnRemove()
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
std::list< ResolverProblem_Ptr > ResolverProblemList
Dependency resolver interface.
std::ostream & operator<<(std::ostream &str, const Exception &obj)
void setDefaultAllowNameChange()
std::list< PoolItem > problematicUpdateItems() const
Unmaintained packages which does not fit to the updated system (broken dependencies) will be deleted...
ResolverFocus focus() const
void dupSetDefaultAllowArchChange()
bool solveSrcPackages() const
void setAllowArchChange(bool yesno_r)
Whether to allow to change architecture of installed solvables.
bool forceResolve() const
void setDefaultAllowDowngrade()
void addConflict(const Capability &capability)
Adding additional conflict.
bool onlyRequires() const
bool allowDowngrade() const
Base class for reference counted objects.
bool cleandepsOnRemove() const
void setSystemVerification(bool yesno_r)
System verification mode also monitors and repairs dependencies of already installed packages...
void applySolutions(const ProblemSolutionList &solutions)
Apply problem solutions.
std::unordered_set< Capability > CapabilitySet
void addRequire(const Capability &capability)
Adding additional requirement.
::s_Solver CSolver
Wrapped libsolv C data type exposed as backdoor.
std::list< ItemCapKind > ItemCapKindList
bool allowNameChange() const
void dupSetDefaultAllowDowngrade()
bool dupAllowNameChange() const
void removeConflict(const Capability &capability)
Remove the additional conflict set by addConflict(Capability).
Wrapper for const correct access via Smart pointer types.
bool verifySystem()
Resolve package dependencies:
void setForceResolve(bool force)
Remove resolvables which are conflicts with others or have unfulfilled requirements.
Combining sat::Solvable and ResStatus.
void dupSetAllowDowngrade(bool yesno_r)
dup mode: allow to downgrade installed solvable
void dupSetAllowArchChange(bool yesno_r)
dup mode: allow to change architecture of installed solvables
void setFocus(ResolverFocus focus_r)
Define the resolvers general attitude when resolving jobs.
bool allowVendorChange() const
bool upgradingRepo(Repository repo_r) const
Whether there is an UpgradeRepo request pending for this repo.
void setIgnoreAlreadyRecommended(bool yesno_r)
Ignore recommended packages that were already recommended by the installed packages.
Easy-to use interface to the ZYPP dependency resolver.
void dupSetDefaultAllowVendorChange()
void setDefaultSystemVerification()
void removeUpgradeRepos()
Remove all upgrade repo requests.
void dupSetAllowVendorChange(bool yesno_r)
dup mode: allow to change vendor of installed solvables
void setSolveSrcPackages(bool yesno_r)
Set whether to solve source packages build dependencies per default.
Resolver(const ResPool &pool)
Ctor.
bool systemVerification() const
bool dupAllowDowngrade() const
bool allowArchChange() const
bool dupAllowArchChange() const