From Fedora Project Wiki

(Reword applying updates sentance)
(Add information how to enable upgrades to Rawhide.)
Line 8: Line 8:
<li> Apply all system updates and reboot.
<li> Apply all system updates and reboot.
</ol>
</ol>
'''Note:'''
If your are perfoming this test before the next Fedora is branched, you need to use the following edits to trick the system into being able to upgrade to Rawhide using graphical tools:
<ul>
    <li>on Gnome, perform the following steps </li>
    <ol>
      <li>Navigate to <code>~/.cache/gnome-software/fedora-pkgdb-collections</code>.</li>
      <li>Run <code>
        jq '(.collections |= map(if .version == "devel" then .koji_name = "f{{FedoraVersion|next}}" | .status = "Active" | .version = "{{FedoraVersion|next}}" else . end))' fedora.json > fedora_updated.json
      </code></li>
      <li>Replace the original file with the updated version <code>mv fedora_updated.json fedora.json</code>.</li>
    </ol>
    <li>on KDE, perform the following steps</li>
    <ol>
      <li>Run <code>sudo sed -i '/<release / s/version="rawhide" type="development"/version="{{FedoraVersion|next}}" type="stable"/' /usr/share/metainfo/org.fedoraproject.fedora.metainfo.xml</code>.</li>
    </ol>
</ul>

Revision as of 12:21, 15 January 2024

Template documentation [edit]

This documentation is transcluded from Template:Upgrade setup/doc. It will not be transcluded on pages that use this template.

This template is used to produce multiple upgrade test cases for release validation testing, found at Template:Installation_test_matrix#Upgrade.

Various bits of the content are conditionalized, based on template parameters, to let you produce the test cases that cover upgrading from different configurations.

The parameters are the same as in Template:Upgrade_description. Please read its documentation to learn how to configure this template.
  1. Perform an installation of Fedora 41 with default partitioning.
  2. Apply all system updates and reboot.

Note:

If your are perfoming this test before the next Fedora is branched, you need to use the following edits to trick the system into being able to upgrade to Rawhide using graphical tools:

  • on Gnome, perform the following steps
    1. Navigate to ~/.cache/gnome-software/fedora-pkgdb-collections.
    2. Run jq '(.collections |= map(if .version == "devel" then .koji_name = "f41" | .status = "Active" | .version = "41" else . end))' fedora.json > fedora_updated.json
    3. Replace the original file with the updated version mv fedora_updated.json fedora.json.
  • on KDE, perform the following steps
    1. Run sudo sed -i '/<release / s/version="rawhide" type="development"/version="41" type="stable"/' /usr/share/metainfo/org.fedoraproject.fedora.metainfo.xml.