fedora bug fix

This commit is contained in:
2026-04-23 10:00:43 +02:00
parent bc21321c29
commit 4e43ac560b
+2 -6
View File
@@ -83,12 +83,8 @@ say_cyan "Optimizing DNF for speed..."
# 1. Enable fastest mirror (lowest latency)
# 2. Increase parallel downloads (allows downloading multiple packages at once)
# 3. Set a minimum rate to drop slow mirrors automatically
sudo tee -a /etc/dnf/dnf.conf <<EOF
fastestmirror=True
max_parallel_downloads=25
minrate=100k
timeout=15
EOF
sudo dnf config-manager setopt fastestmirror=1
sudo dnf config-manager setopt max_parallel_downloads=20
say_green "DNF optimized. Refreshing metadata..."
sudo dnf makecache --refresh