Hello,

I am using Fedora, but have a temperamental internet connection at home. Updating can be difficult because large downloads are slow and tend to reach timeouts most of the time.

Is there a way to have my system download one update from the list at a time instead of multiple?

This might at least help prevent me needing to retry upwards of 4-5 times hoping it all eventually succeeds within the timeout and failure limits it seems to have.

I did check online a bit and the manual for dnf, but web searching seems to bring up “updating a single package” not iterating through the available updates to baby my horrible internet. And the manual didn’t seem to mention anything regarding this.

Hoping there is something.

Thank you very much for any suggestions or guidance.

  • Mirokhodets@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    max_parallel_downloads: This parameter specifies the maximum number of packages that DNF can load in parallel. The default value is usually 3 or 5, depending on your system. Decreasing the value: By decreasing the value of max_parallel_downloads, you will force DNF to load packages sequentially or in smaller groups. For example, by setting max_parallel_downloads=1, you will effectively disable parallel downloading and DNF will only download one package at a time. Speed Impact: Reducing max_parallel_downloads will cause the update process to slow down. In conclusion, reducing max_parallel_downloads is a perfectly logical way to reduce the number of DNF packages being loaded in parallel. Just be aware of the impact on speed and test different values to find the best one for your conditions.