I am following this link to install grafana on my raspberry pi:
I installed grafana on another raspberry pi successfully just last week following the same steps. Yesterday, on a new raspberry pi, unfortunately, I am getting errors:
sudo apt-get install -y grafana
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package grafana is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘grafana’ has no installation candidate
I could not find any helpful topics similar to this. I would be very grateful if someone could help me resolve this. Thank you!
openhabian@RasPiHome:~ $ sudo apt-get update
Hit:1 http://davesteele.github.io/comitup/repo comitup InRelease
Hit:2 http://giteduberger.fr rpimonitor/ InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:5 https://repos.influxdata.com/debian buster InRelease
Hit:6 https://deb.nodesource.com/node_12.x buster InRelease
Get:7 https://packages.grafana.com/oss/deb stable InRelease [12.1 kB]
Hit:8 https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable InRelease
Get:9 https://packages.grafana.com/oss/deb stable/main armhf Packages [27.5 kB]
Err:9 https://packages.grafana.com/oss/deb stable/main armhf Packages
File has unexpected size (27478 != 27543). Mirror sync in progress? [IP: 199.232.194.217 443]
Hashes of expected file:
- Filesize:27543 [weak]
- SHA512:15202a2323e68f5eaa846c6ffe1703de65e3c6d0515f2ccc14fda2e4a1b6694b8660676deccf335647700155344b27ca97129eef0ce71c9de95bcb338be40fdb
- SHA256:0668ea06f63aeb40947a2c3616c75426def5683512883e3cc22b3ec0a94f2d4e
- SHA1:96b902031aef46080bc8f72aba0b365940d749ee [weak]
- MD5Sum:50e90d7c2bfba3c752b199af27f300b0 [weak]
Release file created at: Thu, 22 Jul 2021 10:29:07 +0000
Reading package lists... Done
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en_GB.UTF-8) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
E: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/main/binary-armhf/Packages.bz2 File has unexpected size (27478 != 27543). Mirror sync in progress? [IP: 199.232.194.217 443]
Hashes of expected file:
- Filesize:27543 [weak]
- SHA512:15202a2323e68f5eaa846c6ffe1703de65e3c6d0515f2ccc14fda2e4a1b6694b8660676deccf335647700155344b27ca97129eef0ce71c9de95bcb338be40fdb
- SHA256:0668ea06f63aeb40947a2c3616c75426def5683512883e3cc22b3ec0a94f2d4e
- SHA1:96b902031aef46080bc8f72aba0b365940d749ee [weak]
- MD5Sum:50e90d7c2bfba3c752b199af27f300b0 [weak]
Release file created at: Thu, 22 Jul 2021 10:29:07 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
W: Target Translations (main/i18n/Translation-en_GB.UTF-8) is configured multiple times in /etc/apt/sources.list.d/openhab.list:1 and /etc/apt/sources.list.d/openhab2.list:1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package grafana is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'grafana' has no installation candidate