Bug 1513823
Summary: | System upgrade fails with non-standard download directory | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Przemek Klosowski <przemek> |
Component: | dnf-plugins-extras | Assignee: | Marek Blaha <mblaha> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | Bert.Deknuydt, dmach, domfe, extras-orphan, jkadlcik, jmracek, mblaha, rpm-software-management, vmukhame |
Target Milestone: | --- | Keywords: | Triaged |
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: | 2018-06-28 08:39:03 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
Przemek Klosowski
2017-11-16 03:21:39 UTC
when i try dnf system-upgrade download --releasever=27 --refresh --allowerasing it says i need 1535M more space on / but when i use dnf system-upgrade download --releasever=27 --refresh --allowerasing --destdir=/data2/temp to use a different directory it says that destdir can only be used by the download or downloadonly command after i was able to free up space on the / filesystem i was able to upgrade when i updated previously from fedora 25 to 26 i used the following and had no problems dnf system-upgrade download --refresh --releasever=26 --allowerasing --datadir=/data/temp this did not work and it said that datadir was not a valid parameter dnf system-upgrade download --refresh --releasever=27 --allowerasing --datadir=/data/temp I have the same problem ... Fedora 25 --> 26 > dnf system-upgrade download --releasever 26 --datadir=/usr/data/upgrade/rpms -y > dnf system-upgrade reboot Does the job. So simple and good... Fedora 26 --> 27 > dnf system-upgrade download --releasever 27 --destdir=/usr/data/upgrade/rpms Fails saying that '--destdir must be used with --downloadonly or download command' which is _is_. Adding --downloadonly circumvents this: > dnf system-upgrade download --releasever 27 --downloadonly --destdir=/usr/data/upgrade/rpms -y (Does indeed download the stuff as before) > dnf system-upgrade reboot Reboots the system, starts the upgrade procedure, but fails trying to ... download, as there is no network during an upgrade... Crashes and reboots with no work done. > dnf system-upgrade reboot --destdir=/usr/data/upgrade/rpms Says "--destdir must be used with --downloadonly or download command" I guess the 'new' version was never tested on anything but the most trivial case.. I ended up using the following workaround... > rm -rf /var/lib/dnf/system-upgrade > ln -s /usr/data/upgrade/system-upgrade /var/lib/dnf/system-upgrade > dnf system-upgrade download --releasever 27 -y > dnf system-upgrade reboot *** Bug 1515172 has been marked as a duplicate of this bug. *** This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The issue is solved by dnf-plugins-extras-3.0.0-1 that was released into rawhide. |