From Fedora Project Wiki

Note.png
Associated release criterion
This test case is associated with the Basic_Release_Criteria#software-install-remove-update release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.
Note.png
Associated release criterion
This test case is associated with the Fedora_40_Beta_Release_Criteria#software-install-remove-update release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This test case tests whether a given package manager (it can be used to test any package manager) can properly install and remove packages.


How to test

  1. Clean boot the Fedora you wish to test: this could be a system installed from a particular snapshot, pre-release, or release, or a live image. It should be an image for which updates will be available
  2. Using the package manager to be tested, attempt to install (in a single operation) two packages that are not currently installed
  3. If the packages have any dependencies, check that the package manager notifies you of them
  4. Confirm that the package manager lists the packages as installed
  5. Verify that rpm lists them as installed: rpm -q package1 package2
  6. If the packages have any dependencies, verify the dependencies were installed
  7. Using the package manager to be tested, attempt to remove (again, in a single operation) the same two packages
  8. Confirm that the package manager does not list the packages as installed
  9. Verify that rpm does not list them as installed: rpm -q package1 package2

Expected Results

  1. Both packages should be installed, with no errors caused by the package manager. Errors caused by bugs in the packages should be reported, but do not constitute a failure of this test case.
  2. Both the package manager and rpm should report both packages as installed, after the installation step.
  3. If the packages have dependencies, the package manager should notify you of these, and then install them once you agree.
  4. Both the package manager and rpm should report both packages as not installed, after the removal step.