Was crowdsec installed before that installation attempt?
apt remove crowdsec will not remove the config and if a manual clean up was done I experienced that as well.
over here Cannot install Crowdsec on Ubuntu 20.04.4 & 18.04.6
there is a hint to use apt-get remove --purge XXXX
, that worked for me