From Fedora Project Wiki

(make it clearer that some instructions are just for rawhide)
(don't hardcode rawhide number)
 
Line 6: Line 6:


<div>
<div>
  sudo sed -i '/<release / s/version{{=}}"rawhide"/version{{=}}"40"/' /usr/share/metainfo/org.fedoraproject.fedora.metainfo.xml
  sudo sed -i '/<release / s/version{{=}}"rawhide"/version{{=}}"NUMBER"/' /usr/share/metainfo/org.fedoraproject.fedora.metainfo.xml
</div>
</div>
Replace <code>NUMBER</code> with the current Rawhide version number.
}}
}}



Latest revision as of 09:43, 19 March 2024

Template documentation [edit]

This documentation is transcluded from Template:Plasma discover upgrade procedure/doc. It will not be transcluded on pages that use this template.
Template:Plasma discover upgrade procedure/doc
Idea.png
Upgrade to Rawhide instructions
Skip this box when upgrading to Fedora Branched.

But if you need to perform this test case when testing an upgrade to Rawhide, use the following edits to trick the system into being able to upgrade to it:

sudo sed -i '/<release / s/version="rawhide"/version="NUMBER"/' /usr/share/metainfo/org.fedoraproject.fedora.metainfo.xml
Replace NUMBER with the current Rawhide version number.
  1. Enable showing pre-release Fedora versions using this command:
    kwriteconfig5 --file discoverrc --group DistroUpgrade --key AllowPreRelease true
  2. Reset plasma-discover's counter for showing notifications:
    kwriteconfig5 --file PlasmaDiscoverUpdates --group Global --key LastNotificationTime --delete
  3. Reboot the system or log out and in again, then wait for at least 5 minutes.
  4. A notification of an available upgrade should appear. If it does, click it. If not, note this as a bug, but run plasma-discover (Discover in the application launcher) and click the refresh button at top-right.
  5. Check that there is a banner informing you about the new release, with an Upgrade to Fedora Linux 41 button.
  6. Click Upgrade to Fedora Linux 41, it should load the Updates page with the new release available.
  7. Click More Information..., it should load a document with a URL to the release webpage, as well as a list of packages and versions.
    • If it links to an appropriate URL but there is no content for the URL yet, this may be reported to the documentation team, but is not a failure of this test.
    • Return to the previous page with the arrow at the top-left.
  8. Click Update All. A progress bar should be displayed while the upgrade download takes place.
  9. Once the download process completes, complete the dialog asking for administrator authentication if it appears.
  10. Click the Restart Now button that should appear next. The system should reboot immediately.
  11. Once the system reboots, the system should boot into the upgrade environment and a graphical progress screen should be displayed.
  12. Once the upgrade process has completed, the system should reboot and an option to boot the new release should be on the grub menu.
  13. Log in to the upgraded system and test basic system applications (a terminal, file browser, or other, depending on the system flavor).