Fails to install per online documentation
cat /etc/*release;
Returns:
ID="ec2"
VERSION="20201214-484"
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
sudo apt-get install -y apt-transport-https;
Returns:
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.8.2.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get install -y software-properties-common wget;
Returns:
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-properties-common is already the newest version (0.96.20.2-2).
wget is already the newest version (1.20.1-1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get install -y gnupg;
(Documentation doesnât mention this but the step after this one requires this at least be installed)
Returns:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnupg is already the newest version (2.2.12-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
Returns:
OK
echo âdeb htps://packages.grafana.com/oss/deb stable mainâ | sudo tee -a /etc/apt/sources.list.d/grafana.list
Returns:
deb htps://packages.grafana.com/oss/deb stable main
sudo apt-get update
Returns:
Hit:1 <http://security.debian.org/debian-security> buster/updates InRelease
Hit:2 <http://cdn-aws.deb.debian.org/debian> buster InRelease
Hit:3 <http://cdn-aws.deb.debian.org/debian> buster-updates InRelease
Hit:4 <http://cdn-aws.deb.debian.org/debian> buster-backports InRelease
Reading package lists... Done
E: The method driver /usr/lib/apt/methods/htps could not be found.
N: Is the package apt-transport-htps installed?
E: Failed to fetch htps://packages.grafana.com/oss/deb/dists/stable/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
Note this is looking for âapt-transport- htps â instead of âapt-transport- https â that we actually installed.
sudo apt-get install grafana
[Canât get this far, the error from the last command wonât allow it]