Package not found - Installation on Raspberry Pi - help

Hi there,

I am trying to install InfluxDB 2 on my raspberry pi 4, which as far as I can tell is running the 64 bit OS. I have followed the instructions on various sites, and when I try the sudo apt-get install influxdb2 I am getting an error of “package not found” anyone have any idea how to resolve this or get it installed on my pi ?

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
pi@raspberrypi:~ $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:3 https://download.docker.com/linux/raspbian bullseye InRelease
Hit:4 https://cli.github.com/packages stable InRelease
Hit:5 https://repos.influxdata.com/debian stable InRelease
Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
Reading package lists... Done
pi@raspberrypi:~ $ sudo apt-get install influxdb2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package influxdb2
1 Like

Same problem here, if there is a solution, let me know

The way I managed to get it to work, after trying a number of different ways on the documentation was the manual way : https://docs.influxdata.com/influxdb/v2.7/install/?t=Linux#manually-download-and-install-the-influxd-binary

The rest of the instructions contradict themselves and kinda leave the Raspberry Pi users lost :-/

The installation instructions are here:

Make sure you’re using the Ubuntu/Debian ARM64 version on your Pi.

Your arch is probably aarch64

Check via:

uname -m

The Influx package list only has an arm64 arch option (basically the same thing), so it says no package found.

Add a foreign architecture and update apt-get:

sudo dpkg --add-architecture arm64
sudo apt-get update

Then try again:

sudo apt-get install influxdb2