From Fedora Project Wiki

No edit summary
mNo edit summary
 
Line 8: Line 8:
* Remove any package using `sudo dnf5 remove <package_name>`
* Remove any package using `sudo dnf5 remove <package_name>`
* Reinstall any package using `sudo dnf5 reinstall <package_name>`
* Reinstall any package using `sudo dnf5 reinstall <package_name>`
* Download any package using `sudo dnf5 download’ <package_name>`
* Download any package using `sudo dnf5 download <package_name>`
* Download dependencies using `sudo dnf5 download --resolve <package_name>`
* Download dependencies using `sudo dnf5 download --resolve <package_name>`
* Download all dependencies including already installed one using `sudo dnf5 download --resolve --alldeps <package_name>`
* Download all dependencies including already installed one using `sudo dnf5 download --resolve --alldeps <package_name>`

Latest revision as of 15:36, 7 March 2023

Description

This test case dnf5 basic sanity (install, remove, reinstall, download)

Setup

Install the pre-release version of Fedora 38

How to test

  • Install dnf5 using sudo dnf -y install dnf5
  • [mblaha] Mention also possibility to install the latest version from copr - https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf5-unstable/ ?
  • Install any package using sudo dnf5 install <package_name>
  • Remove any package using sudo dnf5 remove <package_name>
  • Reinstall any package using sudo dnf5 reinstall <package_name>
  • Download any package using sudo dnf5 download <package_name>
  • Download dependencies using sudo dnf5 download --resolve <package_name>
  • Download all dependencies including already installed one using sudo dnf5 download --resolve --alldeps <package_name>

Expected Results

  • Dnf5 package is installed successfully
  • Specified package is installed
  • Specified package is removed
  • Specified package is reinstalled
  • Only the specified package is downloaded
  • Specified package + it’s dependencies are downloaded
  • Specified package, it’s dependencies and dependencies of those dependencies already installed on the system are downloaded