Open tishma opened 3 weeks ago
@tishma What version of Debian are you running? This might possibly be related to apt-key
being removed in Debian 12. Does the following work?
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/logdna.gpg] https://repo.logdna.com stable main" | sudo tee /etc/apt/sources.list.d/logdna.list
sudo apt-get update
sudo apt-get install -y logdna-agent
It's Ubuntu 20.04
I didn't have logdna.gpg
at /usr/share/keyrings/logdna.gpg
. I've used apt_key
ansible task to add the key from https://assets.logdna.com/logdna.gpg
, which should be equivalent to wget
followed by apt-key add -
cmd.
After downloading the key and placing it there - apt-get update
is giving:
Get:1 https://repo.logdna.com stable InRelease [2336 B]
Err:1 https://repo.logdna.com stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C1BF174AEF506BE8
The meaningful diff appears to be using repo.logdna.com
instead of assets.logdna.com
suggested here: https://github.com/logdna/logdna-agent-v2/blob/master/docs/LINUX.md#installation-first-time-installations.
repo.logdna
ended up installing legacy version 2.2 that didn't load my /etc/logdna.env
.
I am out of ideas. Skipping verification until this is resolved.
Following the Debian-based distro agent installation, got this:
Tried updating certificates - no luck.