Bug 1917639
| Summary: | dnf-offline-upgrade download creates empty transaction file; on reboot causes hang | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gerald Cox <gbcox> |
| Component: | dnf-plugins-extras | Assignee: | Lukáš Hrázký <lhrazky> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 33 | CC: | amatej, dmach, jkadlcik, jmracek, lhrazky, mblaha, pkratoch, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-plugins-extras-4.0.15-1.fc35 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-15 07:21:16 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: | |||
Thanks for the report. PRs: https://github.com/rpm-software-management/dnf-plugins-extras/pull/197 https://github.com/rpm-software-management/ci-dnf-stack/pull/1004 FEDORA-2021-78c5f8c03d has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: dnf offline-upgrade download creates transaction file when dnf reports "nothing to do". This then allows dnf offline-upgrade reboot to be invoked (if there is no transaction file, this command will correctly report: Error: system is not ready for upgrade). Upon reboot, empty transaction runs, then process hangs, preventing reboot. You have to manually CTRL-ALT-DEL to have the system correctly reboot. Version-Release number of selected component (if applicable): python3-dnf-plugins-extras-common-4.0.13-1.fc33.noarch If dnf offline-upgrade download has "nothing to do" then no transaction file should be created. That will allow dnf offline-upgrade reboot to stop the reboot from happening and avoid the whole issue. /:-------------:\ :-------------------:: :-----------/shhOHbmp---:\ OS: Fedora 33 (Workstation Edition) x86_64 /-----------omMMMNNNMMD ---: Kernel: 5.10.8-200.fc33.x86_64 :-----------sMMMMNMNMP. ---: Uptime: 52 mins :-----------:MMMdP------- ---\ Packages: 4310 (rpm) ,------------:MMMd-------- ---: Shell: bash 5.0.17 :------------:MMMd------- .---: Resolution: 1920x1080 :---- oNMMMMMMMMMNho .----: DE: Plasma 5.20.5 :-- .+shhhMMMmhhy++ .------/ WM: kwin :- -------:MMMd--------------: WM Theme: breeze :- --------/MMMd-------------; Theme: Breeze [Plasma], Adwaita [GTK2] :- ------/hMMMy------------: Icons: breeze [Plasma], breeze [GTK2/3] :-- :dMNdhhdNMMNo------------; Terminal: konsole :---:sdNMMMMNds:------------: CPU: AMD FX-8350 (8) @ 3.095GHz :------:://:-------------:: GPU: AMD ATI Radeon HD 7850 / R7 265 / R9 :---------------------:// Memory: 4967MiB / 32003MiB