NOTE: the instructions below also work on distributions derived from Arch Linux (e.g. EndeavourOS)
Edit /etc/pacman.conf
Add a IgnorePkg
directive. Example:
IgnorePkg = hyprland
This will freeze the package “hyprland” on the current version and will stop it from updating.
If there is a cached version on your machine, you can get it from there. Example:
ls /var/cache/pacman/pkg/hyprland*
sudo pacman -U /var/cache/pacman/pkg/hyprland-0.39.pkg.tar.zst
If it is not on your machine, you can try to search for it on the Arch Linux Archive.
You can try to find it by:
Then, after downloading the .zst
file you can install it as stated above:
sudo pacman -U ~/Downloads/hyprland-0.39.pkg.tar.zst