Hold yay package at current version

I have been experimenting with Sayonara, the stable version forget the column sizes and the git version shows ghost files which don’t exist. The beta version is perfect.

How can I make sure it doesn’t get upgraded? I have a test system I can try new versions on but for my main one I would like to wait.

yay -Ss sayonara
aur/sayonara-player-beta 1.6.0_beta7-2 (+2 0.02) (Installed)
    Small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.
aur/sayonara-player-git 1.6.0.beta7.r80.g5998d429-1 (+9 0.02) 
    Small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.
aur/sayonara-player 1.5.1_stable5-2 (+63 0.70) 
    Small, clear and fast audio player for Linux written in C++, supported by the Qt framework. It uses Gstreamer as audio backend.

I have done some searching but that seems to point to pacman not yay, same thing?

Any help gratefully received, sorry for such a noob question.

sudo pacman -Syu

Won’t upgrade any program from AUR, only from the arch repository.

There must also be an option to update via yay and select package to be upgraded.

Here from the arch wiki

https://wiki.archlinux.org/index.php/pacman#Installing_specific_packages

To have a specific package skipped when upgrading the system, specify it as such:

IgnorePkg=linux

For multiple packages use a space-separated list, or use additional IgnorePkg lines.

Not sure if it works with yay

2 Likes

I sure yay look at /etc/pacman.conf so above should work

2 Likes

Thanks, I will add the edit and report back if it doesn’t work

It should work.

yay does honor IgnorePkg for AUR packages.

Just make sure you remove the # in front of it.

1 Like