AUR Visual Studio Code update fails -- owned by Insomnia

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
1 Like

In terms of understanding how you might proceed, can you confirm whether you have insomnia-bin currently installed?

You might also try automatically removing unneeded dependencies, which I expect insomnia-bin-debug would be one of. Then, try again.

yay -Yc

OMG!!

This may happen if you have debugging enabled in your /etc/makepkg.conf

Edit /edit/makepkg.conf, in the line OPTIONS= change debug to !debug

Try clean building the package.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.