Tuesday, October 30, 2012

Change AUR url to fix yaourt error

Hi all,
this is the prototype of the short and useful posts I promise to write here and I never write since ages XD
There you are.

If you are using yaourt on Archlinux and you get this fancy error while it is trying to fetch information from the AUR..

The URL http://aur.archlinux.org/rpc.php?type=multiinfo&arg[]=yaourt returned error : 301

... that's because something changed on the AUR servers.

To fix it we need to apply those changes in the configuration of yaourt as well.

The solution? Easy peasy!

As superuser edit /etc/yaourtrc and set the variable AURURL to "https://aur.archlinux.org"

before

#AURURL="http://aur.archlinux.org"

after

AURURL="https://aur.archlinux.org"

Enjoy! ;-)

See you soon!