I've been using crowsec on fedora 40 without problems. I'm trying to install it on a fresh Fedora 41 machine with curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.rpm.sh | sudo bash, and I noticed that there is an issue with the repo in /etc/yum.repos.d/crowdsec_crowdsec.repo with the line "baseurl=https://packagecloud.io/crowdsec/crowdsec/fedora/41/$basearch" - it doesn't 404 with and error dnf operations, but there aren't any packages available: sudo dnf list --available|grep crowd returns no results (and no errors). Doing this on a fedora 40 gives the proper results with a list of packages and installs just fine. (I also noticed that it's hard coded to "41" not using $releasever so the machine I upgraded from 40 to 41 went smoothly, but is still using 40 packages.)
#Fedora 41 won't install from /etc/yum.repos.d/crowdsec_crowdsec.repo
1 messages · Page 1 of 1 (latest)
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command /resolve or press the green resolve button below.
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
Detected operating system as fedora/41.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/crowdsec/crowdsec/config_file.repo?os=fedora&dist=41&source=script
done.
Installing yum-utils...
Updating and loading repositories:
crowdsec_crowdsec-source 100% | 1.7 KiB/s | 1.7 KiB | 00m01s
Repositories loaded.
Package "dnf-utils-4.9.0-1.fc41.noarch" is already installed.
Nothing to do.
WARNING:
The yum-utils package could not be installed. This means you may not be able to install source RPMs or use other yum features.
Generating yum cache for crowdsec_crowdsec...
Metadata cache created.
Generating yum cache for crowdsec_crowdsec-source...
Metadata cache created.
The repository is setup! You can now install packages.
jackie@scotland:/etc/yum.repos.d$ sudo dnf install crowdsec
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
No match for argument: crowdsec
You can try to add to command line:
--skip-unavailable to skip unavailable packages
jackie@scotland:/etc/yum.repos.d$ sudo dnf list --available|grep crowd
Updating and loading repositories:
Repositories loaded.
jackie@scotland:/etc/yum.repos.d$```