NEWS
Grafana Installation - Fehler grafana-rpi:armhf
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
ohne Konflikt
da ist kein Konflikt
da hast du wohl etwas am Paketmanager vorbei kaputt gespielt
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
Broken pipe
-
wie kann man den Rohrbruch beseitigen?
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
wie kann man den Rohrbruch beseitigen?
keine Ahnung.
Aber vielleicht kann @thomas-braun da helfen, wenn er Zeit hat -
Bin gerade am Handy. Schau später mit großem Monitor mal rein. Aber da sind falsche list-Dateien und falsche Pakete installiert, wenn ich das richtig sehe.
-
Vielen Dank !!!
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
alte Version der grafana_9.1.4_arm64.deb
Wo kommt die denn her? Hast du die etwa am Paketmanager vorbei in das System geschraubt?
Die mehrfach vorhandenen Einträge/Zeilen in der
/etc/apt/sources.list.d/grafana.list
löschen.
Da sollte nurdeb [signed-by=/usr/share/keyrings/grafana.gpg] https://packages.grafana.com/oss/deb stable main
drin stehen.
Dann
sudo apt purge grafana-rpi sudo apt update apt policy grafana*
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
apt policy grafana*
iobroker@iobroker:~ $ sudo apt purge grafana-rpi Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: libbrotli1:armhf libexpat1:armhf libfontconfig1:armhf libfreetype6:armhf libpng16-16:armhf libuuid1:armhf zlib1g:armhf Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: grafana-rpi:armhf* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 258 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 54954 files and directories currently installed.) Removing grafana-rpi:armhf (9.1.4) ... (Reading database ... 47955 files and directories currently installed.) Purging configuration files for grafana-rpi:armhf (9.1.4) ... dpkg: warning: while removing grafana-rpi:armhf, directory '/etc/grafana' not empty so not removed dpkg: warning: while removing grafana-rpi:armhf, directory '/usr/lib/systemd/system' not empty so not removed iobroker@iobroker:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org/debian-security bullseye-security InRelease Hit:3 http://archive.raspberrypi.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Hit:5 https://packages.grafana.com/oss/deb stable InRelease Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:7 https://repos.influxdata.com/debian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2 W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3 iobroker@iobroker:~ $ apt policy grafana* N: Unable to locate package grafana_9.1.4_armhf.deb N: Unable to locate package grafana-rpi_7.5.0_armhf.deb N: Unable to locate package grafana-rpi_9.1.4_armhf.deb iobroker@iobroker:~ $
sollten die Fehler jetzt behoben sein?
kann ich die Installation mitsudo apt install grafana
jetzt wieder starten?
-
@heli-wolf
Die mehrfach vorhandenen Einträge/Zeilen in der
/etc/apt/sources.list.d/grafana.list
löschen.
Wie lösche ich diese Dateien.
Über Filezilla habe ich keine Berechtigung Dateien zu löschen. -
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
sollten die Fehler jetzt behoben sein?
Nein, da hast du ganz schon rumgeaast...
Da ist einiges schief.Die mehrfach vorhandenen Einträge/Zeilen in der
/etc/apt/sources.list.d/grafana.list
löschen.
Da sollte nurdeb [signed-by=/usr/share/keyrings/grafana.gpg] https://packages.grafana.com/oss/deb stable main
drin stehen.
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
Über Filezilla habe ich keine Berechtigung Dateien zu löschen.
Nicht die Datei löschen, die doppelten Zeilen darin.
Geht mit einem Editor, nano z. B.sudo nano /etc/apt/sources.list.d/grafana.list
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
sudo nano /etc/apt/sources.list.d/grafana.list
Die Grafana.list habe ich mit einem Editor angesehen und sieht folgend aus:
deb https://packages.grafana.com/oss/deb stable main
deb https://packages.grafana.com/oss/deb stable main
deb https://packages.grafana.com/oss/deb stable main2 davon habe ich gelöscht.
-
sudo apt update
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
sudo apt update
iobroker@iobroker:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 http://security.debian.org/debian-security bullseye-security InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:6 https://packages.grafana.com/oss/deb stable InRelease Hit:7 https://repos.influxdata.com/debian bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. iobroker@iobroker:~ $
-
apt policy grafana*
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
apt policy grafana*
iobroker@iobroker:~ $ apt policy grafana* N: Unable to locate package grafana_9.1.4_armhf.deb N: Unable to locate package grafana-rpi_7.5.0_armhf.deb N: Unable to locate package grafana-rpi_9.1.4_armhf.deb iobroker@iobroker:~ $
-
Die drei hast du mal versucht manuell zu installieren? Per
dpgk
oder wie? -
kann sein, ich habe vieles versucht.
-
apt install grafana-rpi --dry-run
-
@thomas-braun said in Grafana Installation - Fehler grafana-rpi:armhf:
apt install grafana-rpi --dry-run
iobroker@iobroker:~ $ apt install grafana-rpi --dry-run NOTE: This is only a simulation! apt needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: grafana-rpi:armhf 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Inst grafana-rpi:armhf (9.1.0 grafana stable:stable [armhf]) Conf grafana-rpi:armhf (9.1.0 grafana stable:stable [armhf]) iobroker@iobroker:~ $
-