Bug 1225442
Summary: | warn people if they want to upgrade a not fully updated system | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Kamil Páral <kparal> |
Component: | dnf-plugins-extras | Assignee: | Jaroslav Mracek <jmracek> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jkadlcik, jmracek, rpm-software-management, tflink, vmukhame, zbyszek |
Target Milestone: | --- | Keywords: | EasyFix, FutureFeature, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dnf-plugins-extras-2.0.2-1.fc26 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-09 16:00:38 UTC | 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
Kamil Páral
2015-05-27 11:37:00 UTC
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This idea easily applies even to dnf-plugin-system-upgrade, I believe. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. I create a pull request that provide warning and enhance documentation of system upgrade (https://github.com/rpm-software-management/dnf-plugins-extras/pull/97). Hope that the proposed solution is sufficient. That message will be printed out after "dnf system-upgrade download" is executed? I assume it will shortly be scrolled out of view by the actual "download" output, and therefore many people will fail to notice that. It would be better if you could print something like: "You system is not fully updated. Please run "dnf update --refresh" first. Running a system upgrade right now is not recommended. Do you want to ignore this warning and continue? [y/n]" and make the user notice that and make an explicit choice about this. Thanks for response but I would like to provide some notes: The first of all the message cannot be ignored easily, because even it is printed at top, but at that point you have to download (wait) all of repos for new distro therefore you have plenty of time to read the warning and the message is in bolt. The second: We cannot use this strong message: "You system is not fully updated. Please run "dnf update --refresh" first. Reason is simple - you will be very surprise but we don't know if there are some installable upgrades for current distro (sorry but skipping details). The third: The information how to use the system upgrade you can found on fedora wiki (nice page that can be easily googled out), and also in man page of dnf plugin (less detailed description but sufficient). Please lets move the further discussion to PR, because it can be still improved. I added user confirmation request in PR: sudo dnf system-upgrade download --releasever 26 Do not continue unless your system is fully upgraded ("dnf --refresh upgrade")! Do you want to continue [y/N]: Error: Operation aborted. Hope that it helps. Thanks, Jaroslav. dnf-2.6.3-1.fc26 dnf-plugins-extras-2.0.2-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-4813633f96 dnf-2.6.3-1.fc26, dnf-plugins-extras-2.0.2-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-4813633f96 dnf-2.6.3-1.fc26, dnf-plugins-extras-2.0.2-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. |