:: Synchronizing package databases…
endeavouros is up to date
core is up to date
extra is up to date
multilib is up to date
:: Searching AUR for updates…
:: Searching databases for updates…
→ Packages not in AUR: qgpgme-qt5
→ libelectron: local (1.0.23-1) is newer than AUR (1.0.22-1)
there is nothing to do
The libelectron update broke an AUR app I use. How can I downgrade without uninstalling and reinstalling the older version? What’s the correct way to do this?
It is failing to download. That has nothing to do with the fact that it is already installed.
Look in /home/user/.cache/yay/libelectron and see if you have the old version of the package already built. If you do, you can install it with sudo pacman -U /path/to/package/file
I checked the folder and there is a PKGBUILD file, but when I open it with text editor, it shows the newer version that we don’t want. The ‘src’ folder is empty.
When the downloads fail, does that usually mean the file was removed from the hosting site? For example, in this scenario, the GitLab link shown in the terminal output? I ask because I’ve run into this failure to download issue with AUR packages in the past.
In this case, you are trying to download a file that doesn’t exist. You are also trying to install the version you already have installed. Didn’t you want to download the older version? You need a PKGBUILD for the older version.
libelectron: local (1.0.23-1) is newer than AUR (1.0.22-1)
Yes, I want to downgrade from the currently installed version 23 to version 22 but for some reason even though the yay terminal says the AUR has the older version, the terminal makes it appear as if it’s trying to still re-download the new version?