Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

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-extrasAssignee: Lukáš Hrázký <lhrazky>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 33CC: 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:

Description Gerald Cox 2021-01-19 02:57:30 UTC
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

Comment 2 Fedora Update System 2021-06-15 07:21:16 UTC
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.