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 - dnf-offline-upgrade download creates empty transaction file; on reboot causes hang
Summary: dnf-offline-upgrade download creates empty transaction file; on reboot causes...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-extras
Version: 33
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lukáš Hrázký
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-19 02:57 UTC by Gerald Cox
Modified: 2021-06-15 07:21 UTC (History)
9 users (show)

Fixed In Version: dnf-plugins-extras-4.0.15-1.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-15 07:21:16 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.