From Fedora Project Wiki

(turn it into a redirect into the newer version i just wrote)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{admon/warning|Data loss possible|Don't test upgrades on your production machine. Make sure all your important data is backed up. Bugs can occur and destroy all your data.}}
#REDIRECT [[QA:Testcase_upgrade_gnome-software_current_workstation]]
 
{{QA/Test_Case
|description=This test verifies how you can upgrade your Workstation graphically from Fedora 23 to Fedora 24 using GNOME Software
|setup=
# Make sure you are running Fedora 23 Workstation with a decent internet connection.
|actions=
<ol>
<li> Enable COPR repo with latest gnome-software: <pre>$ sudo dnf copr enable rhughes/f23-gnome320</pre>
<li> Fully update your system: <pre>$ sudo dnf update</pre>
<li> Reboot
<li> Look for {{filename|~/.cache/gnome-software/3.20/upgrades/fedora.json}} file. If you don't see it, start GNOME Software a wait a bit, it should appear. If you still don't see it, try running: <pre>$ pkcon refresh force</pre> You should see it now.
<li> Edit the file and search for <code>f24</code> string - you'll find a section related to Fedora 24. Change <code>status</code> key from <code>Under Development</code> value to <code>Active</code> value. This will convince GNOME Software that Fedora 24 is now a stable release and enable upgrade prompts. After the change, the section will look similarly to this (probably not exactly, at least the timestamps can be different):
<pre>
"allow_retire": true,
"branchname": "f24",
"date_created": "2016-02-23 22:57:55",
"date_updated": "2016-02-25 20:39:53",
"dist_tag": ".fc24",
"koji_name": "f24",
"name": "Fedora",
"status": "Active",
"version": "24"
</pre>
<li> Shortly you should see a system notification announcing available system upgrade. If you don't see it, try rebooting the computer or logging out and in again.
<li> Click the banner, it should open up GNOME Software in the ''Updates'' tab, where you should see a larger banner informing about the upgrade.
<li> Click ''Learn more'' link to see release notes.
<li> Download the upgrade files. It should be happening in the background, you should be able to close GNOME Software or go to other tabs in GNOME Software without interrupting it.
<li> Wait for a notification that the download is complete.
<li> In the ''Updates'' tab in GNOME Software, confirm performing the upgrade.
<li> Wait until your computer reboots into "offline upgrade" mode, perform the upgrade, and automatically reboots back into newly upgraded system.
<li> Verify that the system is upgraded and basic functionality works correctly.
</ol>
 
|results=
# You should be notified that a newer Fedora release is available.
# You should see a banner about it in the ''Updates'' tab in gnome-software.
# You should be able to display the release notes.
# Downloading the upgrade should happen in the background.
# You should see a notification when the download is complete.
# Installing the update should work just like an offline update, in the "offline upgrade" mode after reboot
# There should be warnings if you had RPMs installed before the upgrade that would be broken by the upgrade (e.g. 3rd party software).
}}
 
[[Category:Upgrade_system]]

Latest revision as of 21:13, 9 November 2016