Bug 1370530
| Summary: | RFE: Detect current Fedora installation and present message about how to do upgrades | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthew Miller <mattdm> |
| Component: | anaconda-webui | Assignee: | Katerina Koukiou <kkoukiou> |
| Status: | NEW --- | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | anaconda-maint-list, ejgoqvmerramxovrne, g.kaviyarasu, glesage, jkonecny, jonathan, k.koukiou, kkoukiou, mkolman, rcyriac, rvykydal, sgallagh, vanmeeuwen+fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Matthew Miller
2016-08-26 14:52:15 UTC
As an alternate approach (I can file a separate BZ if preferred), Anaconda could regain the ability to perform upgrades by enabling the user to run a copy of `dnf system-upgrade download` in the /mnt/sysimage and then tell the user to reboot to apply the changes (assuming of course that there is a valid network connection). (In reply to Stephen Gallagher from comment #1) > As an alternate approach (I can file a separate BZ if preferred), Anaconda > could regain the ability to perform upgrades by enabling the user to run a > copy of `dnf system-upgrade download` in the /mnt/sysimage and then tell the > user to reboot to apply the changes (assuming of course that there is a > valid network connection). Please do not make this (the ability to perform upgrades by enabling the user to run a copy of `dnf system-upgrade download` through Anaconda) as default, even if there is a valid network connection, due to network bandwidth availability constraints and issues related to network usage levels in most of the developing countries (In reply to Rejy M Cyriac from comment #2) > (In reply to Stephen Gallagher from comment #1) > > As an alternate approach (I can file a separate BZ if preferred), Anaconda > > could regain the ability to perform upgrades by enabling the user to run a > > copy of `dnf system-upgrade download` in the /mnt/sysimage and then tell the > > user to reboot to apply the changes (assuming of course that there is a > > valid network connection). > > Please do not make this (the ability to perform upgrades by enabling the > user to run a copy of `dnf system-upgrade download` through Anaconda) as > default, even if there is a valid network connection, due to network > bandwidth availability constraints and issues related to network usage > levels in most of the developing countries Just to be clear, I'm suggesting this as a user-selectable choice, not an automatic action by any stretch of the imagination. I meant that if (as Matthew suggested) Anaconda could detect an existing Fedora system on the hard drive that it could offer to optionally perform an upgrade instead of a reinstall (and then walk the user through any necessary network setup). That's an interesting RFE for enhancing user experience. I am moving this to anaconda-webui as this is going to be the future, and we don't plan to implement such RFEs in the GTK installer anymore. We already had an open issue for this for the Anaconda Web UI: https://issues.redhat.com/browse/INSTALLER-3481 I have had mockups for quite some time as well. Basically, when Anaconda starts, it already does a scan of storage and we'd extend that to detect Fedora. If Anaconda finds a Fedora installation, it would add an installation method at the top which is "Reinstall Fedora". This re-uses the home partition (keeping user data) and re-installs Fedora fresh on the OS partitions. There's really no more UI than this; it would show details on the review screen (like all other installation methods). This _could_ also be used to upgrade across versions, but that's not the intended goal. The supported method for upgrading across versions of Fedora is to use GNOME Software or similar (I think KDE Discover can do this too nowdays?) or to use the command line with "sudo dnf system-upgrade" or "rpm-ostree" (soon: "bootc"). https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-new-release/ https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/ Reinstalling Fedora from Anaconda should really be for a "factory reset" for fixing broken installations. (For example: Grub is hosed and the system can't boot, massive filesystem corruption on the root partition for whatever reason, someone mistakenly removed important files in /usr/, etc.). |