From Fedora Project Wiki

(Created page with "{{QA/Test_Case |description=This test case is to test dnf5 distro-sync / dsync commands |setup=Install the pre-release version of Fedora 38 |actions= * Install dnf5 using ‘dnf -y install dnf5’ * Downgrade a package to a lower release than the one available in repo using ‘dnf5 downgrade <package_name> --releasever=37 * Upgrade another package to a higher release than the one in repo using ‘dnf5 install fedora-repos-rawhide’ and ‘dnf5 upgrade <package_name>...")
 
No edit summary
 
Line 3: Line 3:
|setup=Install the pre-release version of Fedora 38
|setup=Install the pre-release version of Fedora 38
|actions=  
|actions=  
* Install dnf5 using ‘dnf -y install dnf5’
* Install dnf5 using `sudo dnf -y install dnf5`
* Downgrade a package to a lower release than the one available in repo using ‘dnf5 downgrade <package_name> --releasever=37
* Downgrade a package to a lower release than the one available in repo using `sudo dnf5 downgrade <package_name> --releasever=37`
* Upgrade another package to a higher release than the one in repo using ‘dnf5 install fedora-repos-rawhide’ and ‘dnf5 upgrade <package_name> –enablerepo=rawhide’
* Upgrade another package to a higher release than the one in repo using `sudo dnf5 install fedora-repos-rawhide` and `sudo dnf5 upgrade <package_name> --enablerepo=rawhide`
* Synchronise your packages with packages in repos using ‘dnf5 distro-sync’
* Synchronise your packages with packages in repos using `sudo dnf5 distro-sync`


|results=
|results=

Latest revision as of 15:50, 7 March 2023

Description

This test case is to test dnf5 distro-sync / dsync commands

Setup

Install the pre-release version of Fedora 38

How to test

  • Install dnf5 using sudo dnf -y install dnf5
  • Downgrade a package to a lower release than the one available in repo using sudo dnf5 downgrade <package_name> --releasever=37
  • Upgrade another package to a higher release than the one in repo using sudo dnf5 install fedora-repos-rawhide and sudo dnf5 upgrade <package_name> --enablerepo=rawhide
  • Synchronise your packages with packages in repos using sudo dnf5 distro-sync

Expected Results

  • Dnf5 package is installed successfully
  • Packages get downgraded/upgraded to match their current versions in repository
  • Repeated use of ‘dnf5 distro-sync’ doesn’t do any transaction