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.
upgrade and update are the same thing, to put it simply, because they are needed to download new versions of programs or so that you can install fresh updates and the latest versions of applications. update — updating the list of packages. upgrade — updating the packages themselves.
Thank you for your help.
I was looking for a way to decrease the amount of consecutive packages being downloaded during an update/upgrade.
With the help of some other comments I was able to find the following:
It’s referencing increasing the max parallel downloads to increase upgrade/update speed. But maybe it’ll work for what I’m looking for by lowering the value instead.
Thank you very much for taking the time to help me.
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.