Can DNF discard partial package downloads after cancellation or timeout
0 reputation · 06 Nov 2024, 04:38 UTC
Fedora's DNF package manager downloads package payloads and repository metadata, but the default policy for incomplete files after a user cancellation or network timeout is not codified in the documentation. Administrators who manage automated mirrors or limited-bandwidth environments need a reliable way to predict whether partial downloads are discarded automatically or retained in the cache directory.
The interaction between timeout configuration, retry behavior, and cache retention is not clearly specified, and it is uncertain whether the default behavior is consistent across DNF 4.x and earlier versions. Without a documented default, operators cannot determine if interrupted transactions leave residual files that require manual cleanup or affect subsequent package operations.
Which configuration option in dnf.conf governs automatic removal of partial package downloads after an aborted transaction? Does DNF provide a documented default retention policy for incomplete files after a timeout? How can an administrator verify the supported cleanup behavior on a specific Fedora release?