Skip to content

Updating yay + pacman

Hey you all!

So this funny thing happened, that updating yay requires to update pacman, but pacman 5.2 does not meet the dependency for current version of yay.

​

I ended up removing yay -> upgrading pacman -> reinstalling latest version of yay.

​

What would be the "best practice" for this situation? How would you deploy this for remote client?

​

e: edited off some brainfart

5 points10 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 100% up
Kind
Text
ID
dmkclb

Author

3
posts
43
comments
1
media
View profile

12 comments

I think the easiest way is probably what I did? After trying to update with yay -Syu:

sudo pacman -Sd pacman
cd ~/.cache/yay/yay
makepkg
sudo pacman -U yay-9.4.2-1-x86_64.pkg.tar.zst

And boom you're done, without having to uninstall yay first or manually clone anything. Assumes yay has the latest PKGBUILD cached for you, of course.

2 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.