From Fedora Project Wiki

Revision as of 13:46, 7 March 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case is to test dnf5 downgrade / upgrade / update commands |setup=Install the pre-release version of Fedora 38 |actions= * Install dnf5 using ‘dnf -y install dnf5’ * Downgrade a package to lower release using ‘dnf5 downgrade <package_name>’. Use --releasever=37 switch (as you won’t be able to downgrade a package after a fresh Fedora38 install) * Upgrade/update that package back to higher release using ‘dnf5 upgrade/upda...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case is to test dnf5 downgrade / upgrade / update commands

Setup

Install the pre-release version of Fedora 38

How to test

  • Install dnf5 using ‘dnf -y install dnf5’
  • Downgrade a package to lower release using ‘dnf5 downgrade <package_name>’. Use --releasever=37 switch (as you won’t be able to downgrade a package after a fresh Fedora38 install)
  • Upgrade/update that package back to higher release using ‘dnf5 upgrade/update <package_name>’

Expected Results

  • Dnf5 package is installed successfully
  • Specified package gets downgraded to lower release successfully
  • Specified package get upgraded to higher release successfully
  • Note: update is an alias for upgrade command, therefore the result should be the same