The package in the default Debian repository isn’t actually provided or maintained by InfluxData. It’s built by the Debian Go Maintainers team using the source code in our Git repository. It’s up to them to update it to the latest version (and to provide a new package for influxdb2).
Unfortunately they use an entirely different build system than we do, so it’s not just a matter of them cloning our Git repo and building their own packages. They will need to update their build configurations to get the latest version of InfluxDB’s source code and any dependencies. It’s likely they they simply don’t have the time or know of the demand for them to provide an updated version.
InfluxData does support Debian user directly, by hosting our own APT repository and publishing updated packages there as part of our regular release process. You can add our repository and install InfluxDB from there using the following commands:
If you’re not familiar with these commands they will:
Download InfluxData’s GPG key, which we use to cryptographically sign all of our packages, so that apt can verify them
Add the InfluxData APT repository to your list of repositories that Debian will check for new packages
Install the latest version of the influxdb2 package. In keeping with Debian’s practices we use a different package name for version 2 because it is a significant change from version 1.
Wow, thank you so much @Anaisdg for your reactivity and @mhall119 for your quick and complete answer. You not only have great software but also great community support
I fully understand the situation, and I followed the instructions to use your repository for Debian, which works like a charm.
If I may give you feedback on the documentation, the installation explanation for the previous versions (for example Installing InfluxDB OSS | InfluxDB OSS 1.7 Documentation) was clearer for me, because we could directly see that using the repo was possible. In the doc for 2.1 (Install InfluxDB | InfluxDB OSS 2.1 Documentation), I first understood that it wasn’t possible anymore, and that I had to download the .deb file (I read “Download and install the appropriate .deb or .rpm file”). And I discovered afterwards the repository, clicking on the InfluxData downloads page link (and which corresponds to your explanation ).
Again, thank you so much for your support and explanation
And if you’re interested, I’m using (and try to contribute to) the YunoHost project (“Y U No Host”), which makes self-hosting easy. It includes a lot of applications, notably Grafana/InfluxDB.
l’m trying to update the app so that it uses v2 and your repositories in there (forum post and Github PR). If you’re interested, you’re more than welcome!
(sorry for the multiple posts, but as a new user, I’m limited to 2 links per post )
Unfortunately the repo keys are still messed up, i had this issue both on debian and ubuntu
root@apu-sviluppo:/home/ipergola# apt-get update && apt-get install influxdb2
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://ftp.it.debian.org/debian bullseye InRelease
Hit:3 http://ftp.it.debian.org/debian bullseye-updates InRelease
Get:4 https://repos.influxdata.com/debian bullseye InRelease [7,022 B]
Err:4 https://repos.influxdata.com/debian bullseye InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
Reading package lists... Done
W: GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
E: The repository 'https://repos.influxdata.com/debian bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Tryed this
Executing: /tmp/apt-key-gpghome.gAJ0YBuxGD/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys D8FF8E1F7DF8B07E
gpg: key D8FF8E1F7DF8B07E: public key "InfluxData Package Signing Key <support@influxdata.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
But don’t solve the problem, i’m able to install only from the deb binary.
Hello, I have tried to propose an update of the documentation, like it was on previous v1 documentation so that v2 can be installed from the repository, as suggested by @mhall119
‘’’
Reading package lists… Error!
E: Unable to parse package file /var/lib/apt/lists/deb.debian.org_debian_dists_bullseye_main_binary-armhf_Packages (1)
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
‘’’