Pacman installing new version instead of old

I want to install an old version of Brave, when I do that pacman automatically picks the latest one. How can this be avoided?

[qq88@qq88-pc ~]$ sudo pacman -U /home/qq88/Downloads/brave-browser-1.24.85-1-x86_64.pkg.tar.zst
    [sudo] password for qq88: 
    loading packages...
    resolving dependencies...
    looking for conflicting packages...

    Packages (2) brave-1.25.68-1  brave-browser-1.24.85-1

    Total Download Size:    86,81 MiB
    Total Installed Size:  521,29 MiB

    :: Proceed with installation? [Y/n]

You can install the latest one and downgrade to the version you want by using downgrade package.

However, it’s very likely you will have to update it anyway, because it will stop working anyway. This is how it works on rolling systems. You can keep exceptions only for so long, then they break.

1 Like

That should work. What makes you think it doesn’t ? Some of the output is missing, what happens after confirming with Y