From Fedora Project Wiki

No edit summary
No edit summary
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description={{Testcase usb description|command=[https://fedoraproject.org/wiki/Changes/DNF-2.0 DNF 2.0]}}
|description=
DNF-3.5/3.6 is the next upcoming version of DNF package manager. Unfortunately, it brings some incompatibilities with the previous version of DNF (DNF-1/2) which were either needed to improve compatibility with the old yum interface or where bigger redesigns were needed. This test case isn't a precise step-by-step, but rather suggests several different avenues for testing basic commands, plugins and third party software.
|setup=
|setup=
* you can install DNF-2 from [https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nightly/ this COPR repo] for testing
If you are testing from a system you use for other purposes (which we don't usually recommend), '''BACK UP''' your important data. Every system change is potentially risky, be prepared.
* Optionally, install a current DNF 3.6.1 snapshot from [https://copr.fedorainfracloud.org/coprs/rpmsoftwaremanagement/dnf-nightly/ this COPR repo] - testing with both the current officially packaged DNF 3.5 and a more recent snapshot is useful:
** {{command|dnf copr enable rpmsoftwaremanagement/dnf-nightly}}
** {{command|dnf update dnf}}
* testing scenarios:
* testing scenarios:
** Modularity support
** anaconda installation
** anaconda installation
** upgrade from previous Fedora version
** upgrade from previous Fedora version
Line 9: Line 14:
** dnf-plugins: copr, system-upgrade, download
** dnf-plugins: copr, system-upgrade, download
** third party software: mock, yumex
** third party software: mock, yumex
|actions=
|actions=
}}
* Install updates from enabled repos: {{command|sudo dnf update}}
* Install, update and remove packages:
<pre>sudo dnf (install|update|remove) packagename</pre>
* A list of all commands is available [http://dnf.readthedocs.io/en/latest/command_ref.html here]
* Testing yum2dnf compatibility:
** Run any use case you can think of using {{command|yum}}: {{command|yum [option] foo}}
 
|results=
|results=
* If updating to a snapshot from the COPR repo, the repo should enable and the update install successfully
* {{command|dnf update}} should update the system successfully
* Commands listed at [http://dnf.readthedocs.io/en/latest/command_ref.html] should work fine
* DNF 3.5/3.6 should be able to handle yum operations
}}
}}

Latest revision as of 17:22, 2 October 2018

Description

DNF-3.5/3.6 is the next upcoming version of DNF package manager. Unfortunately, it brings some incompatibilities with the previous version of DNF (DNF-1/2) which were either needed to improve compatibility with the old yum interface or where bigger redesigns were needed. This test case isn't a precise step-by-step, but rather suggests several different avenues for testing basic commands, plugins and third party software.

Setup

If you are testing from a system you use for other purposes (which we don't usually recommend), BACK UP your important data. Every system change is potentially risky, be prepared.

  • Optionally, install a current DNF 3.6.1 snapshot from this COPR repo - testing with both the current officially packaged DNF 3.5 and a more recent snapshot is useful:
    • dnf copr enable rpmsoftwaremanagement/dnf-nightly
    • dnf update dnf
  • testing scenarios:
    • Modularity support
    • 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

  • Install updates from enabled repos: sudo dnf update
  • Install, update and remove packages:
sudo dnf (install|update|remove) packagename
  • A list of all commands is available here
  • Testing yum2dnf compatibility:
    • Run any use case you can think of using yum: yum [option] foo

Expected Results

  • If updating to a snapshot from the COPR repo, the repo should enable and the update install successfully
  • dnf update should update the system successfully
  • Commands listed at [1] should work fine
  • DNF 3.5/3.6 should be able to handle yum operations