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

Do not change install reason during upgrades #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

InvalidUsernameException
Copy link

@InvalidUsernameException InvalidUsernameException commented May 31, 2023

When upgrading AUR packages rua always adds the --asdeps switch to the pacman command line. That means that packages that were previously installed explicitly most likely end up as orphans because they have no other packages depending on them. This is annoying because it means one needs to run pacman -D --asexplicit <list of upgraded packages> after every upgrade of AUR packages to keep the install reasons correct and to prevent accidental uninstallation.

This PR changes the behavior during upgrades to not include the --asdeps switch which means the install reasons of the upgraded packages stay unchanged.

This should fix #169, but not the related #65, which seems different despite someone having commented that the issues are duplicates of each other.

@InvalidUsernameException
Copy link
Author

@vn971 Since you mentioned somewhere else that your email notifications weren't working in the past: Any chance you can take a look at this PR if you haven't seen it yet?

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

Successfully merging this pull request may close these issues.

Rua upgrading packages as dependency
1 participant