From Fedora Project Wiki
(adjust according to hughsie's feedback) |
|||
Line 10: | Line 10: | ||
<li> Fully update your system: <pre>$ sudo dnf update</pre> | <li> Fully update your system: <pre>$ sudo dnf update</pre> | ||
<li> Reboot | <li> Reboot | ||
<li> Look for {{filename|~/.cache/gnome-software/3.20/upgrades/fedora.json}} file. If you don't see it, start GNOME Software | <li> Look for {{filename|~/.cache/gnome-software/3.20/upgrades/fedora.json}} file. If you don't see it, start GNOME Software and wait a bit, it should appear. | ||
<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): | <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> | <pre> | ||
Line 23: | Line 23: | ||
"version": "24" | "version": "24" | ||
</pre> | </pre> | ||
<li> | <li> Either reboot or log out and log in again and shortly you should see a system notification announcing available system upgrade. | ||
<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 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> Click ''Learn more'' link to see release notes. |
Revision as of 14:16, 12 May 2016
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.
How to test
- Enable COPR repo with latest gnome-software:
$ sudo dnf copr enable rhughes/f23-gnome320
- Fully update your system:
$ sudo dnf update
- Reboot
- Look for
~/.cache/gnome-software/3.20/upgrades/fedora.json
file. If you don't see it, start GNOME Software and wait a bit, it should appear. - Edit the file and search for
f24
string - you'll find a section related to Fedora 24. Changestatus
key fromUnder Development
value toActive
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):"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"
- Either reboot or log out and log in again and shortly you should see a system notification announcing available system upgrade.
- Click the banner, it should open up GNOME Software in the Updates tab, where you should see a larger banner informing about the upgrade.
- Click Learn more link to see release notes.
- 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.
- Wait for a notification that the download is complete.
- In the Updates tab in GNOME Software, confirm performing the upgrade.
- Wait until your computer reboots into "offline upgrade" mode, perform the upgrade, and automatically reboots back into newly upgraded system.
- Verify that the system is upgraded and basic functionality works correctly.
Expected 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).