Debian package availability

We have now debian repositories available. To use it:

wget -qO - |sudo apt-key add - && sudo apt-add-repository "<suite> <suite> main"
sudo apt-get update
sudo apt-get install crowdsec

suite can be one of bullseye, sid, buster, stretch, bionic, focal and xenial. Architectures are amd64, arm64 and i386. Some of suite may not exist in some architecture due to some build issues. If your distribution or architecture is not available please get in touch, so we can add it.

Next goal will be to add debian armhf and raspbian.

repositories and packages should be considered as, your feedback will be greatly appreciated and issue will be taken care of swiftly.

Please keep in mind, packages provided by these repositories are not official debian ones and don’t strictly follow debian packages guidelines. On the other hand, crowdsec landed in official debian testing repositories. Our package will be kept in sync with upstream release cycle more often.

NoSuchKey The specified key does not exist. crowdsec.asc D997A4EF91F2C55F WiHLhWasC0zMxw3I2h/mLmYoe46pgpsf2DlFTNVj3m5BSINITD7uiSSs4Fju82Zssmkg+gaIapM=

Did I miss something ? :slight_smile:

Btw did I need to remove the previous installed version before trying to install the repos version ?

Fixed. Sorry, and thanks for the feedback !

It should work without reinstalling, and configuration shouldn’t be erased by the package, but still, package are beta for now. Thanks !

We spotted a new issue :

[02/10/21:10:34:58][ERR] crowdsec_wizard: Unknown argument -n.

This being worked on right now.


version 1.0.7 was uploaded to the repositories and should be functional now :slight_smile:

E: The repository ‘ focal Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Ubuntu sever 20.04.2


Can you show me the relevant part of your sources.list ? Is your architecture amd64 ?

Thanks for your feedback, user experience is very appreciated !

To be sure, with focal, your sources.list file pertinent line should look like this:

deb focal main


You should add $sudo apt install software-properties-common before doing the apt-add-repository command.
This program is not installed by default on Debian.

The official docs over here: Install Crowdsec - Crowdsec look different:

wget -qO - |sudo apt-key add - && echo "deb$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/crowdsec.list > /dev/null

the problem is, that on my Debian Buster, there is no command “lsb_release” - at least its not installed by default I think.

also, I’d be curious if I can install a version from the repository over a manually installed one.

lsb_release seems to be part of lsb-release package. Thus if you do an apt-get install lsb-release, you should be able to follow the documentation.

But this is kind of weird, not having this installed by default. We’ll have this investigated, and maybe the documentation updated.