DEV Community

Cover image for Error installing from AUR with yay on Manjaro Budgie
Mario García
Mario García

Posted on

Error installing from AUR with yay on Manjaro Budgie

A few months ago I did a fresh installation of Manjaro Budgie on my Lenovo G480. When I was trying to install a package from AUR using yay I got the following error:

error cloning package
Enter fullscreen mode Exit fullscreen mode

With every package I tried to install I received the same error. I updated the mirrorlist with pacman-mirrors and reinstalled yay but the error persisted.

After googling a little and don’t find any solution I thought that the problem was related to Git as some packages are stored on Git repositories.

It turns out that Git is a dependency of yay but it isn’t installed by default. It also happens that installations from AUR are made through a fakeroot environment. So the solution was to install both packages before using yay.

$ sudo pacman -S git fakeroot
Enter fullscreen mode Exit fullscreen mode

I hope it helps you If you get this error while trying to install packages from AUR.

Top comments (0)