You are not logged in.

#1 2023-06-24 19:44:09

markboston38
Member
Registered: 2023-06-24
Posts: 8

can yay upgrade itself?

i was under the impression that in order to upgrade yay you would need to do it like you would a aur package without using a helper. yesterday i ran pacman to do a system upgrade and yay was one of the updates.

Offline

#2 2023-06-24 19:49:12

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 1,212

Re: can yay upgrade itself?

yes it can - the running process is one script that loads itself on start and doesn't "reload". even pacman can upgrade itself.
even funnier though is uninstalling paru via paru smile


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Upload longer text output like this

Offline

#3 2023-06-24 19:52:49

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

Re: can yay upgrade itself?

markboston38 wrote:

yesterday i ran pacman to do a system upgrade and yay was one of the updates.

Is there some script that you invoke as pacman which actually calls something else or have you added a repository that contains yay so /usr/bin/pacman could offer it as part of the upgrade?

Offline

#4 2023-06-24 19:54:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: can yay upgrade itself?

It can, but you shouldn't use it given 1) that you need to ask this question, and 2)

markboston38 wrote:

yesterday i ran pacman to do a system upgrade and yay was one of the updates.

No, you apparently didn't run pacman as yay would most definitely not be updated by pacman.

These confusions and the conflating of repo and AUR packages are the primary problems with a helper like yay and continuing to use it in such a state will likely lead to trouble.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2023-06-24 19:59:12

markboston38
Member
Registered: 2023-06-24
Posts: 8

Re: can yay upgrade itself?

right i know about the differences between aur and pacman packages. i DO NOT use yay to update the system only aur. i did look into other helpers that aren't pacman wrappers which would get rid of this issue but im too used to yay being able to do everything in one go. i do like how yay like pacman( since it is) sees theres a aur update and just does it.

i guess i should just delete yay and do it manually that would be the safe thing to do.

Offline

#6 2023-06-24 20:02:12

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,722

Re: can yay upgrade itself?

Post the output of

pacman-conf

Online

Board footer

Powered by FluxBB