From Fedora Project Wiki

Revision as of 15:50, 7 March 2023 by Alciregi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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