Hi everyone,
I’m relatively new to Linux, having started with Ubuntu and recently switching to Fedora 40. On Fedora 40, I was able to solve issues with repositories and updates by doing the following:
- Updated the
/etc/dnf/dnf.conf
file with:
makefile
Copy code
fastestmirror=true
max_parallel_downloads=20
deltarpm=1
ip_resolve=4
- Disabled certain default repositories:
arduino
Copy code
sudo dnf config-manager --set-disabled fedora updates fedora-cisco-openh264
- Added custom repositories:
ruby
Copy code
# Fedora
https://repo.iut.ac.ir/repo/fedora/linux/releases/...
# Updates
https://repo.iut.ac.ir/repo/fedora/linux/updates/...
This setup worked perfectly.
Recently, I formatted my drive and installed Fedora 41. I repeated the same steps as above, but this time, things didn’t work. Here’s what happened:
- The
--set-disabled
command failed, andunsetopt
didn’t work either. I had to disable the repos manually by settingenabled=0
. - Upon running
dnf update
, I got repeated 404 errors like this:
python
Copy code
Updating and loading repositories:
Fedora 41 - x86_64 - Updates
>>> Status code: 404 for https://repo.iut.ac.ir/repo/fedora/linux/updates/41/Everything/x86_64/repodata/...
>>> Librepo error: Yum repo downloading error: ... all mirrors were already tried without success.
I also encountered errors with downloading repomd.xml
, which resolved on its own after a day.
Since I can’t use the default repositories due to connectivity issues, I’m at a loss. Is there anything I can do to fix this?
Here’s the output of dnf repolist
:
Copy code
google-chrome google-chrome
IUT-fedora Fedora 41 - x86_64
IUT-updates Fedora 41 - x86_64 - Updates
System Information:
- CPU: Ryzen 7 5800H
- GPU: NVIDIA RTX 3050
- RAM: 16GB DDR4
Let me know if there’s any additional info I should provide. Thanks in advance!