I excluded Mutter because of an error in the newest version.
/etc/dnf/dnf.conf
exclude=mutter
This not just keeps the older version back, it also prevent it to search, list and check info about it.
sudo dnf info mutter
Last metadata expiration check: 0:28:52 ago on Wed 21 Jun 2023 08:08:36 AM -03.
Error: No matching Packages to list
sudo dnf list mutter
Last metadata expiration check: 0:29:24 ago on Wed 21 Jun 2023 08:08:36 AM -03.
Error: No matching Packages to list
sudo dnf search mutter
Last metadata expiration check: 0:29:55 ago on Wed 21 Jun 2023 08:08:36 AM -03.
====================================================================== Name & Summary Matched: mutter ======================================================================
mutter-devel.i686 : Development package for mutter
mutter-devel.x86_64 : Development package for mutter
mutter-tests.x86_64 : Tests for the mutter package
What is the best way to verify with dnf or rpm to see if the newer version is available?
If not available in the stable branch, how do I test it if it is in testing?
And last, how do I have to add just mutter with dnf from testing, that I can see if it solved the problem?
To check testing I have to try to install it or check on the bodhi website if it is one there?
At least with the second command it shows me which version i have installed and it says nothing to do to know there is no testing package there yet.
dnf --disableexcludes=all --enablerepo=updates-testing install mutter
Last metadata expiration check: 0:30:18 ago on Wed 21 Jun 2023 09:23:45 AM -03.
Package mutter-44.0-1.fc38.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
I made me a mini-script like checktesting with the code: