Debian package availability

We have now debian repositories available. To use it:

wget -qO - https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/crowdsec.asc |sudo apt-key add - && sudo apt-add-repository "https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/<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.

3 Likes
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.

Thanks

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

E: The repository ā€˜https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/ 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

Hi,

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 https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/focal focal main

Regards,

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 - https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/crowdsec.asc |sudo apt-key add - && echo "deb https://s3-eu-west-1.amazonaws.com/crowdsec.debian.pragmatic/$(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.