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.
@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?
When upgrading AUR packages
rua
always adds the--asdeps
switch to thepacman
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 runpacman -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.