You are not logged in.

#1 2021-05-11 10:36:31

neostanniy
Member
From: Kyiv, Ukraine
Registered: 2021-04-23
Posts: 27

Unable to upgrade yay via "pamac update/upgrade" command [SOLVED]

Greetings everyone and I am sorry for bothering you, but I need your help.

A couple of days ago there was an update for the yay package installed from AUR. I have decided to fully upgrade my system via

# pacman -Syyu && pamac update

but it gave me some sort of an error building the yay package:

build cache is required, but could not be located: GOCACHE is not defined and neither $XDG_CACHE_HOME nor $HOME are defined

I have read a couple of similar topics (f. e., here and here), but still the error remains, and I feel kinda dumb after all that...

Appreciate your help very much! Thank you and I apologize for possible mistakes in the text above.

Last edited by neostanniy (2021-05-11 12:49:50)


"Life is what happens to you while you're busy making other plans" © John Winston Ono Lennon.

Offline

#2 2021-05-11 12:33:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: Unable to upgrade yay via "pamac update/upgrade" command [SOLVED]

You are not supposed to run AUR/makepkg operations as root and if that # is any indication you are currently attempting to do that.

why are you not just updating yay with yay?

Otherwise, learn how to actually use the AUR instead of relying on a hodgepodge of helpers by reading https://wiki.archlinux.org/title/Makepkg and https://wiki.archlinux.org/title/Arch_User_Repository

Offline

#3 2021-05-11 12:39:22

a821
Member
Registered: 2012-10-31
Posts: 381

Re: Unable to upgrade yay via "pamac update/upgrade" command [SOLVED]

https://bbs.archlinux.org/viewtopic.php?id=57855

does it work if you build with just makepkg?

Offline

#4 2021-05-11 12:47:37

neostanniy
Member
From: Kyiv, Ukraine
Registered: 2021-04-23
Posts: 27

Re: Unable to upgrade yay via "pamac update/upgrade" command [SOLVED]

V1del wrote:

You are not supposed to run AUR/makepkg operations as root and if that # is any indication you are currently attempting to do that.

why are you not just updating yay with yay?

Otherwise, learn how to actually use the AUR instead of relying on a hodgepodge of helpers by reading https://wiki.archlinux.org/title/Makepkg and https://wiki.archlinux.org/title/Arch_User_Repository

Thank you for the answer! I missed that up, and now I see where I was dumb. :-) Marking the topic as "solved" now. Appreciate that and I apologize for not doing the complete research.


"Life is what happens to you while you're busy making other plans" © John Winston Ono Lennon.

Offline

#5 2021-05-11 12:49:17

neostanniy
Member
From: Kyiv, Ukraine
Registered: 2021-04-23
Posts: 27

Re: Unable to upgrade yay via "pamac update/upgrade" command [SOLVED]

a821 wrote:

https://bbs.archlinux.org/viewtopic.php?id=57855

does it work if you build with just makepkg?

It does. I was kinda stupid running pamac with sudo for some reason. Maybe, I was too tired to understand that. :-) Thank you very much for the quick answer!


"Life is what happens to you while you're busy making other plans" © John Winston Ono Lennon.

Offline

Board footer

Powered by FluxBB