Bug 2396334 - dnf5 throw out confusing message when users run dnf install on a fresh installed f43 system for the first time
Summary: dnf5 throw out confusing message when users run dnf install on a fresh instal...
Keywords:
Status: CLOSED DUPLICATE of bug 2001386
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 43
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact:
URL:
Whiteboard: RejectedBlocker
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-18 08:43 UTC by lnie
Modified: 2025-10-10 19:43 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-10-10 19:41:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
journal (600.73 KB, text/plain)
2025-09-18 08:43 UTC, lnie
no flags Details
dnf5.log (781.57 KB, text/plain)
2025-09-23 14:37 UTC, lnie
no flags Details

Description lnie 2025-09-18 08:43:23 UTC
Created attachment 2106902 [details]
journal

Description of problem:
As shown in the attached screenshot, whenever users run dnf install on a fresh installed system for the first time, it will throw out the quite confusing message,
but if users run the same command again, it will work as normal

lnie@fedora: ~ $ sudo dnf install NetworkManager-openvpn -y
[sudo] password for lnie:
Updating and loading repositories:
Fedora 43 openh264 (From Cisco) - x86_64
Fedora 43 - x86_64 - Updates
Fedora 43 - x86_64 - Test Updates
Fedora 43 - x86_64 - Updates
Error: dnf failed to write received data to disk/application for http://
Fedora 43 - x86_64 - Updates
Error loading local metadata for repository "updates-testing"
Librepo error: Checksum error in /var/cache/libdnf5/updates-testing-f60b6ae2260686-updateinfo.xml.gz: Unable to read zchunk lead
lnie@fedora: ~ $ sudo dnf install NetworkManager-openvpn -y
Updating and loading repositories:
Fedora 43 - x86_64 - Test Updates
Fedora 43 - x86_64 - Updates
Fedora 43 - x86_64
Repositories loaded.
Package "NetworkManager-openvpn-1:1.12.3-1.fc43.x86_64" is already installed.
Nothing to do.
lnie@fedora: ~ $

Version-Release number of selected component (if applicable):

dnf5-5.2.17.0-1.fc43.x86_64

How reproducible:
always

Steps to Reproduce:
1.perform a default installation with Fedora-Workstation-Live-43-20250917.n.0.x86_64.iso
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Blocker Bugs Application 2025-09-19 09:45:51 UTC
Proposed as a Blocker for 43-final by Fedora user lnie using the blocker tracking app because:

 seems affects:
https://fedoraproject.org/wiki/Fedora_43_Final_Release_Criteria#Installing,_removing_and_updating_software
though dnf  works well after a second-try,  the output is quite ugly, and I guess we should not release fedora with it.

Comment 2 Marek Blaha 2025-09-19 11:49:43 UTC
I tried to reproduce the issue in the virtual installed from Fedora-Workstation-Live-43-20250917.n.0.x86_64.iso image, but without any luck. Is it still reproducible? Could it have been caused by a network / repository mirror issue?

The message "Error: dnf failed to write received data to disk/application for http://" is strange. I didn't find it in dnf5 nor librepo sources. There is similar message "Failed writing received data to disk/application" in curl, but it's not exactly the same.

Originally I thought that the cache in /var/cache/libdnf5 was somehow damaged right after the installation, but the cache does not exist on the freshly installed system and is created during the first run.

Comment 3 lnie 2025-09-19 14:57:02 UTC
> Is it still reproducible? 

yeah, actually it's been there for a period of time, I think it doesn't affect any function, so I didn't report it.

And, you don't need to perform an installation to reproduce it, just play with live.

>Could it have been caused by a network / repository mirror issue?

Partially because the network speed, as I just checked,I'm not able to reproduce it with a high speed network.
But I'm not able to reproduce this with f42. 

>  but the cache does not exist on the freshly installed system and is created during the first run.

 yeah, Gemini told me to "sudo dnf clean metadata" and I got "Cache directory "/var/cache/libdnf5" does not exist. Nothing to clean."

Comment 4 Kamil Páral 2025-09-22 13:35:01 UTC
I'm unable to reproduce this, works fine for me.

To me, this looks like some local mirror sending corrupt data, or data being corrupted during transfer.

Comment 5 Adam Williamson (Red Hat non-Fedora) 2025-09-22 16:11:37 UTC
-6 in https://pagure.io/fedora-qa/blocker-review/issue/1939 , marking rejected. We mostly agreed this looks like some kind of mirror issue. If it's more reliably reproducible for more people, we can reconsider (clear "RejectedBlocker" from whiteboard and mark as blocking "FinalBlocker" again).

Comment 6 Evan Goode 2025-09-22 22:03:06 UTC
> yeah, actually it's been there for a period of time, I think it doesn't
> affect any function, so I didn't report it.

If you can still reproduce the bug, would you mind sharing the contents of /var/log/dnf5.log as the error occurs?

You can clear old log messages with `sudo mv /var/log/dnf5.log /var/log/dnf5.log.old` and then perhaps

```
sudo dnf5 makecache --refresh --disable-repo='*' --enable-repo=updates-testing
```

If it's a problem with a specific mirror, we will be able to tell which one from the log.

Comment 7 lnie 2025-09-23 14:37:37 UTC
Created attachment 2107343 [details]
dnf5.log

Comment 8 lnie 2025-09-23 14:39:56 UTC
> If you can still reproduce the bug, would you mind sharing the contents of /var/log/dnf5.log as the error occurs?

yes, and sure, just attached it.

Comment 9 amatej 2025-09-24 06:04:16 UTC
This could possibly be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2001386
Can you reproduce without zchunk? (dnf install hexchat -y --setopt=zchunk=0)

Comment 10 lnie 2025-09-24 08:56:25 UTC
Checked on a fresh installed system, "dnf install hexchat -y --setopt=zchunk=0)" works.

Comment 11 Evan Goode 2025-09-24 15:08:19 UTC
Yes, this does look like https://bugzilla.redhat.com/show_bug.cgi?id=2001386. lnie, are you using a proxy server? If so, then we can probably close this as a duplicate and continue troubleshooting on 2001386.

Comment 12 lnie 2025-09-25 07:14:54 UTC
yeah, after I unset the proxy, I'm not able to reproduce this bug. However, I see #2001386 is reported against f39,but I'm only able to reproduce this bug with f43,hmmm

Comment 13 Evan Goode 2025-10-10 19:41:12 UTC

*** This bug has been marked as a duplicate of bug 2001386 ***

Comment 14 Evan Goode 2025-10-10 19:43:31 UTC
Interesting that you can only reproduce on F43. Given that you're also using a proxy server, it seems to be the same bug though, or closely related. Closing as a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=2001386.


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