From Fedora Project Wiki

Line 3: Line 3:
 
DNF-2.0 is the next upcoming major version of DNF package manager. Unfortunately, it brings some incompatibilities with previous version of DNF (DNF-1) which were either needed to preserve compatibility with YUM CLI or where bigger redesigns were needed. A list of identified incompatible changes can be found here[http://dnf.readthedocs.io/en/latest/dnf-1_vs_dnf-2.html].This test case identifies how to test basic commands , plugins and third party software.
 
DNF-2.0 is the next upcoming major version of DNF package manager. Unfortunately, it brings some incompatibilities with previous version of DNF (DNF-1) which were either needed to preserve compatibility with YUM CLI or where bigger redesigns were needed. A list of identified incompatible changes can be found here[http://dnf.readthedocs.io/en/latest/dnf-1_vs_dnf-2.html].This test case identifies how to test basic commands , plugins and third party software.
 
|setup=
 
|setup=
 +
'''Back up''' your important data. Every system change is potentially risky, be prepared. In case you update your workstation, it is also wise to download a [https://getfedora.org/en/workstation/ Workstation Live image] and make sure your hardware (graphics card, wifi, etc) works well with the latest kernel and drivers.
 
* you can install DNF-2 from [https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nightly/ this COPR repo] for testing
 
* you can install DNF-2 from [https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nightly/ this COPR repo] for testing
 
* testing scenarios:
 
* testing scenarios:
Line 14: Line 15:
 
** Enable and install the copr repo.
 
** Enable and install the copr repo.
 
** Install, upgrade and remove packages.
 
** Install, upgrade and remove packages.
**
+
**  
 
** Upgrade to n+1 or n+2.
 
** Upgrade to n+1 or n+2.
 
**  
 
**  

Revision as of 07:26, 3 May 2017

Description

DNF-2.0 is the next upcoming major version of DNF package manager. Unfortunately, it brings some incompatibilities with previous version of DNF (DNF-1) which were either needed to preserve compatibility with YUM CLI or where bigger redesigns were needed. A list of identified incompatible changes can be found here[1].This test case identifies how to test basic commands , plugins and third party software.

Setup

Back up your important data. Every system change is potentially risky, be prepared. In case you update your workstation, it is also wise to download a Workstation Live image and make sure your hardware (graphics card, wifi, etc) works well with the latest kernel and drivers.

  • you can install DNF-2 from this COPR repo for testing
  • testing scenarios:
    • anaconda installation
    • upgrade from previous Fedora version
    • core functionality: install, upgrade, remove, repoquery
    • dnf-plugins: copr, system-upgrade, download
    • third party software: mock, yumex

How to test

  • In Fedora 24 & 25
    • Enable and install the copr repo.
    • Install, upgrade and remove packages.
    • Upgrade to n+1 or n+2.
  • In Fedora 26

Expected Results

  • In Fedora 24 & 25
    • Repo will enable and install without throwing any error
    • System will successfully upgrade to desired version