Bug 1888944

Summary: Upgrading to Fedora 33 does not work
Product: [Fedora] Fedora Reporter: Vitaly <vitaly>
Component: dnfAssignee: rpm-software-management
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: dmach, jmracek, jrohel, mblaha, mhatina, packaging-team-maint, pkratoch, rpm-software-management, vmukhame, zawertun, zbyszek
Target Milestone: ---   
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: 2020-10-16 17:51:45 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:
Attachments:
Description Flags
system-upgrade-log none

Description Vitaly 2020-10-16 13:40:01 UTC
Description of problem:
Upgrading to Fedora 33 does not work. After rebooting, an error occured and then rebooted again into Fedora 32.

Version-Release number of selected component (if applicable):
dnf-4.4.0-2.fc32

How reproducible:
Always.

Steps to Reproduce:
1. sudo dnf upgrade --refresh
2. sudo dnf install dnf-plugin-system-upgrade
3. sudo dnf system-upgrade download --releasever=33
4. sudo dnf system-upgrade reboot

Actual results:
Oct 16 15:14:54 laptop dnf[1001]: Last metadata expiration check: 0:31:44 ago on Fri 16 Oct 2020 02:43:10 PM CEST.
Oct 16 15:14:55 laptop python3[1001]: Starting system upgrade. This will take a while.
Oct 16 15:14:57 laptop dnf[1001]: Error:
Oct 16 15:14:57 laptop dnf[1001]:  Problem: The operation would result in removing the following protected packages: kernel>
Oct 16 15:14:57 laptop dnf[1001]: (try to add '--skip-broken' to skip uninstallable packages)
Oct 16 15:14:57 laptop systemd[1]: dnf-system-upgrade.service: Main process exited, code=exited, status=1/FAILURE
Oct 16 15:14:57 laptop systemd[1]: dnf-system-upgrade.service: Failed with result 'exit-code'.
Oct 16 15:14:57 laptop systemd[1]: Failed to start System Upgrade using DNF.
Oct 16 15:14:57 laptop systemd[1]: dnf-system-upgrade.service: Triggering OnFailure= dependencies.
Oct 16 15:14:57 laptop systemd[1]: dnf-system-upgrade.service: Consumed 3.064s CPU time.

Expected results:
Successful upgrade.

Additional info:

Comment 1 Zbigniew Jędrzejewski-Szmek 2020-10-16 14:06:31 UTC
This doesn't show why dnf thinks the kernel should be uninstalled. Please try to find more logs.
'dnf system-upgrade log' would be a good starting point.

Comment 2 Vitaly 2020-10-16 14:31:54 UTC
Created attachment 1722110 [details]
system-upgrade-log

Attached full log.

Comment 3 Vitaly 2020-10-16 17:51:45 UTC
Fixed by running "sudo dnf system-upgrade download --releasever=33" again after system restart.