yay
yay copied to clipboard
vcs.json is not updated when package is removed due to conflict resolution
Affected Version
Tested with current HEAD (cd4462761a3b67ebc7ae3bb51cff0c1b0345504a)
Describe the bug
vcs.json is not updated when package is removed due to conflict resolution
Reproduction Steps
-
yay -S yay-git -
yay -S yay -
grep yay-git vcs.json
Now non-existent package yay-git will still be there.
Expected behavior
I would expect vcs.json to be kept clean of orphans, which can be only manually removed. It is very common pattern to go back to non-aur/non-git version of a package,