Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove orphaned without distupgrade #522

Open
baszalmstra opened this issue Feb 23, 2023 · 0 comments
Open

Remove orphaned without distupgrade #522

baszalmstra opened this issue Feb 23, 2023 · 0 comments

Comments

@baszalmstra
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant