I need an old version of qt5 for anki. (qt5-5.7)
Therefore I would like to downgrade all qt5-packages (the whole group).
Is there a way to do this with pacman?
I need an old version of qt5 for anki. (qt5-5.7)
Therefore I would like to downgrade all qt5-packages (the whole group).
Is there a way to do this with pacman?
As a fellow Arch Linux user, for someone who uses Arch as his main OS I will help you out as best I can.
You can do this but you have dependencies which can break just as Terdon very well described in the comments but we will avoid that happening if performed correctly.
I will refer to Arch's wiki on downgrading packages through the pacman cache
to provide the answer, but note that only perform this process if you installed qt5-5.7
prior.
Downgrading Packages (Arch Wiki Reference):
This process will remove the current package and install the older version. Dependency changes will be handled, but pacman will not handle version conflicts. If a library or other package needs to be downgraded with the packages, please be aware that you will have to downgrade this package yourself as well.
Clearly, it's a bit of a manual job, but it's quick and also note that you can pass multiple packages through pacman
so this will help with your group:
Load up your terminal and cd
into this directory > /var/cache/pacman/pkg/
Proceed with > pacman -U <file_name_of_the_package>
Alternatively, you can obtain tools such as downgrade which will automate this process for you, but only possible if you've cleared your cache
and use the Arch Rollback Machine