Bug 2224148

Summary: Since last update, dnf core dumps and is unable to proceed to the update due to protected package
Product: [Fedora] Fedora Reporter: David Hill <dhill>
Component: dnf5Assignee: Marek Blaha <mblaha>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: jkolarik, mcurlej, nsella, pkratoch, rpm-software-management, rxguy
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-05 14:27:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Hill 2023-07-20 01:20:24 UTC
Since last update, dnf core dumps and is unable to proceed to the update due to protected package but before reaching this point, dnf core dumped and stopped working.   Deleting /var/lib/dnf/history* seems to solve part of the issue until another package is installed and dnf starts coredumping again.

[root@server yum.repos.d]# yum update -y
Last metadata expiration check: 0:01:22 ago on Thu 20 Jul 2023 01:16:17 AM UTC.
Error: 
 Problem: The operation would result in removing the following protected packages: dnf
(try to add '--skip-broken' to skip uninstallable packages)


Reproducible: Always

Steps to Reproduce:
1. Be on 38
2. dnf update -y
3. core dump
Actual Results:  
core dump

Expected Results:  
install packages or update

Comment 1 Fedora Release Engineering 2023-08-16 08:13:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 2 Marek Blaha 2023-10-26 12:23:40 UTC
It's probably too late, but still - I cannot reproduce this on any of my f38 machines. Is the issue still reproducible on your system? Do you happen to still have the coredumps you can share? I'm afraid that without more information we cannot do much...

Comment 3 Dale Turner 2023-12-05 14:13:30 UTC
(In reply to Marek Blaha from comment #2)
> It's probably too late, but still - I cannot reproduce this on any of my f38
> machines. Is the issue still reproducible on your system? Do you happen to
> still have the coredumps you can share? I'm afraid that without more
> information we cannot do much...

Sorry for the late response. I did not get notified for some reason.

Anyway, this seems to be fixed now. We can close this if you wish.

As always, thanks for everything!

Dale