From Fedora Project Wiki

Description

This test case is to test dnf5 swap command commands

Setup

Install the pre-release version of Fedora 38

How to test

  • Install dnf5 using sudo dnf -y install dnf5
  • Remove one and install another software in a single transaction using sudo dnf5 swap <package_to_be_removed> <package_to_be_installed>

Expected Results

  • Dnf5 package is installed successfully
  • Selected package is removed, different one is downloaded and installed, all in a single step