Bug 2457408

Summary: Intermittent 'cannot copy' errors for /usr/lib/sysimage/libdnf5/packages.toml.new
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: dnf5Assignee: rpm-software-management
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 44CC: daniel.mach, jmracek, jonathan, jrohel, kparal, mblaha, packaging-team-maint, petersen, pkratoch, ppisar, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: AcceptedFreezeException
Fixed In Version: dnf5-5.4.1.0-1.fc45 dnf5-5.2.18.0-3.fc43 dnf5-5.4.1.0-1.fc44 dnf5-5.2.18.0-3.fc42 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-04-24 00:55:02 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:
Bug Depends On:    
Bug Blocks: 2362360    

Description Adam Williamson 2026-04-10 19:00:04 UTC
This is a downstream report of https://github.com/rpm-software-management/dnf5/issues/2601 . It's already resolved upstream, but I would like to see the fix backported to Fedora Rawhide and 44 (and 43 and 42 if they're affected, but I'm not sure they are).

As reported there, dnf operations sometimes fail with "cannot copy" errors for /usr/lib/sysimage/libdnf5/packages.toml/new . This is obviously annoying and causes flakes in automated test systems.

Not sure if this is worth an FE for F44, it might be fine as a post-release update.

Comment 1 Jens Petersen 2026-04-17 07:50:30 UTC
*** Bug 2459127 has been marked as a duplicate of this bug. ***

Comment 2 Jens Petersen 2026-04-17 07:54:29 UTC
Pretty sure it is "/usr/lib/sysimage/libdnf5/packages.toml.new" no, though?

At least that is what I saw and searching didn't bring up this bug (-:

Comment 3 Fedora Update System 2026-04-17 14:15:15 UTC
FEDORA-2026-7f8c20f800 (dnf5-5.4.1.0-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7f8c20f800

Comment 4 Adam Williamson 2026-04-17 15:46:07 UTC
Yes, I was retyping it from a screenshot and I typo'ed. You can't edit bugzilla comments, though. I did type it right in the bug title, I think.

Comment 5 Fedora Update System 2026-04-18 01:32:24 UTC
FEDORA-2026-7f8c20f800 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-7f8c20f800`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7f8c20f800

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Adam Williamson 2026-04-20 01:34:21 UTC
+6 in https://pagure.io/fedora-qa/blocker-review/issue/2117 , marking accepted FE.

Comment 7 Fedora Update System 2026-04-21 13:15:50 UTC
FEDORA-2026-e62b1e891a (dnf5-5.2.18.0-3.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e62b1e891a

Comment 8 Fedora Update System 2026-04-21 13:59:57 UTC
FEDORA-2026-fd017a7626 (dnf5-5.2.18.0-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-fd017a7626

Comment 9 Fedora Update System 2026-04-23 02:00:26 UTC
FEDORA-2026-e62b1e891a has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-e62b1e891a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-e62b1e891a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-04-23 02:14:10 UTC
FEDORA-2026-fd017a7626 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-fd017a7626`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-fd017a7626

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2026-04-24 00:55:02 UTC
FEDORA-2026-e62b1e891a (dnf5-5.2.18.0-3.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2026-04-24 05:56:34 UTC
FEDORA-2026-7f8c20f800 (dnf5-5.4.1.0-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2026-05-07 01:27:05 UTC
FEDORA-2026-fd017a7626 (dnf5-5.2.18.0-3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.