You are not logged in.

#1 2022-03-19 06:06:21

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

[solved] I have an AUR update error.

Hi, I know AUR helpers are not supported by Arch officially, but I really need to solve this issue.
When I try to update my system with yay -Syyu --devel, it keeps showing me this error, but I did install this mpv-bash-completion package, but I can't find it now and can't remove it either.

 -> devel check for package failed: '/usr/bin/git ls-remote https://github.com/2ion/mpv-bash-completion.git master' encountered an error

Could anyone help me?

Last edited by laichiaheng (2022-03-19 06:20:09)

Offline

#2 2022-03-19 06:16:09

loqs
Member
Registered: 2014-03-06
Posts: 18,970

Re: [solved] I have an AUR update error.

How did you try locating the package?  mpv-bash-completion-git

Offline

#3 2022-03-19 06:18:46

laichiaheng
Member
Registered: 2017-02-12
Posts: 297

Re: [solved] I have an AUR update error.

I've found the answer right after I post this question.
It is from Reddit.

I found this post while trying to resolve the same issue myself for a different AUR package.
From what I can tell, the problem occurred for me because I tried to install a package that was broken.
Apparently yay added the package to the list of packages to check when performing a devel update,
but failed to remove it when the package failed to install,
and couldn't be removed from the list with yay -R since it was never installed in the first place.

What I ended up doing was opening ~/.cache/yay/vcs.json in my text editor of choice and manually removing the entry for the offending package.
It's probably not the simplest solution, but it worked for me.

Last edited by laichiaheng (2022-03-19 06:20:44)

Offline

Board footer

Powered by FluxBB