<#274 `apt-key` is deprecated on Debian-based syst...
# website
g
#274 `apt-key` is deprecated on Debian-based systems Issue created by lengau The `apt-key` command is deprecated as of apt v2.4.0. (This currently affects Debian testing and unstable, Ubuntu 22.04+ and any dsitributions based on those.) The most straightforward way to change the documentation would be to have it request the following commands:
Copy code
export OSQUERY_KEY=1484120AC4E9F8A1A577AEEE97A80C63C9D8B80B
sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/osquery.gpg --keyserver <hkp://keyserver.ubuntu.com> $OSQUERY_KEY
sudo add-apt-repository 'deb [arch=amd64 signed-by=/etc/apt/keyrings/osquery.gpg] <https://pkg.osquery.io/deb> deb main'
sudo apt install osquery
Other changes to this block: 1. Removed
apt-get update
step, since
add-apt-repository
does this automatically 2. Changed
apt-get
to the newer
apt
command. osquery/osquery-site