I use AUR with yay, and update fails for VS Code. This is not the first time I get this kind of “owned by” error. Clearing yay cache doesn’t solve it. Why does this happen?
:: Proceed with installation? [Y/n]
(2/2) checking keys in keyring [-----------------------------] 100%
(2/2) checking package integrity [-----------------------------] 100%
(2/2) loading package files [-----------------------------] 100%
(2/2) checking for file conflicts [-----------------------------] 100%
error: failed to commit transaction (conflicting files)
visual-studio-code-bin-debug: /usr/lib/debug/.build-id/04/e9960947a38ced0a87421a6f198b9caf43dc3f exists in filesystem (owned by insomnia-bin-debug)
visual-studio-code-bin-debug: /usr/lib/debug/.build-id/04/e9960947a38ced0a87421a6f198b9caf43dc3f.debug exists in filesystem (owned by insomnia-bin-debug)
visual-studio-code-bin-debug: /usr/lib/debug/.build-id/37/851ad3790029c78d20ee4b4761055d5ad5dab6 exists in filesystem (owned by insomnia-bin-debug)
visual-studio-code-bin-debug: /usr/lib/debug/.build-id/37/851ad3790029c78d20ee4b4761055d5ad5dab6.debug exists in filesystem (owned by insomnia-bin-debug)
visual-studio-code-bin-debug: /usr/lib/debug/.build-id/68/3278eba471e7069eeddf5a8270d9a201ea88da exists in filesystem (owned by insomnia-bin-debug)
visual-studio-code-bin-debug: /usr/lib/debug/.build-id/68/3278eba471e7069eeddf5a8270d9a201ea88da.debug exists in filesystem (owned by insomnia-bin-debug)
Errors occurred, no packages were upgraded.
-> error installing: [/home/user/.cache/yay/visual-studio-code-bin/visual-studio-code-bin-1.92.2-1-x86_64.pkg.tar /home/user/.cache/yay/visual-studio-code-bin/visual-studio-code-bin-debug-1.92.2-1-x86_64.pkg.tar] - exit status 1