You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im using libsolv in a capacity where I provide everything I want to install upfront. When I do not specify a certain package and it is provided in the list of installed package I want it to be removed. It was my understanding that SOLVER_DROP_ORPHANED would yield that behavior but it appears it only makes sense to use this with the SOLVER_DISTUPGRADE flag.
What I want to achieve is the following:
1) "install" A B -> install package A and B in the environment
2) "install" A -> B is no longer specified so it should be removed
I also want A to remain the same version if it doesn't need to be upgraded. Ideally, I want to derive this information purely from the currently installed packages.
What would be the best way to achieve this?
The text was updated successfully, but these errors were encountered:
Im using libsolv in a capacity where I provide everything I want to install upfront. When I do not specify a certain package and it is provided in the list of installed package I want it to be removed. It was my understanding that
SOLVER_DROP_ORPHANED
would yield that behavior but it appears it only makes sense to use this with theSOLVER_DISTUPGRADE
flag.What I want to achieve is the following:
I also want A to remain the same version if it doesn't need to be upgraded. Ideally, I want to derive this information purely from the currently installed packages.
What would be the best way to achieve this?
The text was updated successfully, but these errors were encountered: