Tiny bug - Rspamd install fails on Debian 9 without apt-transport-https

Tristan

Verified User
Joined
Feb 11, 2005
Messages
646
Location
The Netherlands
When following this guide:


to install Rspamd on Debian 9 it fails:

Code:
# ./build rspamd
Enabling redis-rspamd in systemd...
Ign:1 http://mirror.transip.net/debian/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://mirror.transip.net/debian/debian stretch-updates InRelease
Hit:4 http://mirror.transip.net/debian/debian stretch Release
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
E: Failed to fetch https://rspamd.com/apt-stable/dists/stretch/InRelease 
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package rspamd
Apt-get failed to install rspamd.

Because apt-transport-https isn't installed by default and isn't part of the DirectAdmin common pre-install commands as outlined here:


Fix would be to issue an apt-get install apt-transport-https of course.
 
Back
Top