You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yay -y doesn't offer to replace sdl2 with sdl2-compat as it's described in the official PKGBUILD (sdl2-compat 2.32.50-1). Instead it wants to get sdl2 from AUR as illustrated below:
....
3 extra/zix 0.4.2-2 -> 0.6.2-1
2 extra/zvbi 0.2.42-1 -> 0.2.43-1
1 aur/sdl2 2.30.11-1 -> 2.32.0-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
==> ^C
At the same time pacman -Syyu command asks to replace sdl2 with sdl2-compat:
:: Starting full system upgrade...
:: Replace sdl2 with extra/sdl2-compat? [Y/n]
resolving dependencies...
Reproduction Steps
If the installation is already upgraded to the current packages do 1-4 to get pre sdl2-compat installation:
edit pacman.conf to have 2025-01-15 snapshot repos (from Arch Linux Archive)
pacman -Syyuu to downgrade all packages
(pacman -S sdl2 - reinstall sdl2 if you already have sdl2-compat to revert to sdl2)
revert pacman.conf to have normal core and extra repos.
yay -y doesn't ask about replacement for sdl2
Expected behavior
yay should ask about sdl2 replacement like pacman does
When running "yay -Syu" show only the official packages to be updated and a generic message like "AUR packages update is pending. You will be asked to update them as well after the updating process for the above packages is finished"
Update the repo packages only, as usual.
Update the package information. If there are new repo packages to be updated, go to step 1. Otherwise go to step 4.
After the update is done:
a) Display a message like "The repo packages are now up to date. Continue with updating the AUR packages? [Yn]"
b) Alternatively, just display a message like "The repo packages are now up to date. Proceeding with updating the AUR packages."
Then display a list of AUR packages to be updated and proceed updating AUR packages as usual.
This requires one additional confirmation in step 4a) but it is also possible to not display it as in step 4b).
Affected Version
yay v12.4.2 - libalpm v15.0.0
Describe the bug
yay -y
doesn't offer to replace sdl2 with sdl2-compat as it's described in the official PKGBUILD (sdl2-compat 2.32.50-1). Instead it wants to get sdl2 from AUR as illustrated below:At the same time
pacman -Syyu
command asks to replace sdl2 with sdl2-compat:Reproduction Steps
If the installation is already upgraded to the current packages do 1-4 to get pre sdl2-compat installation:
pacman -Syyuu
to downgrade all packagespacman -S sdl2
- reinstall sdl2 if you already have sdl2-compat to revert to sdl2)yay -y
doesn't ask about replacement for sdl2Expected behavior
yay
should ask about sdl2 replacement like pacman doesThe text was updated successfully, but these errors were encountered: