Hi everyone,
it is not clear to me the use of the indicated command and the use cases. I think that it is easier to uninstall a package and install a lower version if necessary in case of a bug.
regards
Hi everyone,
it is not clear to me the use of the indicated command and the use cases. I think that it is easier to uninstall a package and install a lower version if necessary in case of a bug.
regards
dnf downgrade <package>
can be quite helpful after updating <package>
to a buggy version. The command replaces the installed version with the next lower one in the repository or cache. Maintaining a cache (i.e. at /var/cache/dnf/
) or local repository, gives you opportunity to prove that the replaced version is faulty indeed. You can then file a bug report against the replaced version.
A case:
sudo dnf update gimp
After the update, you discover a strange behaviour in gimp
β something that is not working as expected. To be sure that it is associated with the update, perform a downgrade:
sudo dnf downgrade gimp
This assumes that you still have the old version of the package in your cache (or in a local repository containing older packages). if after the downgrade, the problem disappears, then there is a regression in the newer package. You can file a bug report against the newer one and cite your experience so that the maintainers/developers may replicate the issue.
I thank you very much for your clear explanation
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.