NEWS
Grafana Installation - Fehler grafana-rpi:armhf
-
@heli-wolf nochmal:
sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
-
@djmarc75 said in Grafana Installation - Fehler grafana-rpi:armhf:
uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
iobroker@iobroker:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs ln: failed to create symbolic link '/usr/bin/nodejs': File exists iobroker@iobroker:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs aarch64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.17.0 v16.17.0 8.15.0 4.0.23 iobroker iobroker adm tty dialout cdrom sudo audio video plugdev games users input render netdev bluetooth gpio i2c spi /home/iobroker Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates 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. 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 nodejs: Installed: 16.17.0-deb-1nodesource1 Candidate: 16.17.0-deb-1nodesource1 Version table: *** 16.17.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u1 500 500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages 12.22.5~dfsg-2~11u1 500 500 http://deb.debian.org/debian bullseye/main arm64 Packages iobroker@iobroker:~ $
-
@heli-wolf
puh, da weiss ich auch nicht weiter.
Vielleicht kann da mal @thomas-braun drauf schauen wenn er Zeit und Muße hat. -
@djmarc75
wie kann ich eine Datei umbenennen bzw. Löschen.
mit dem Befehl
rm grafana_9.1.4_arm64.deb
lässt er es nicht zu.
ebenfalls funktioniert das Umbenennen mit MV auch nicht. -
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
rm grafana_9.1.4_arm64.deb
Was hast Du da vor ??
-
@djmarc75
ich habe jetzt die Grafanainstallation entfernt und neu installiert und dabei die richtigen Dateien installiert.
aber leider hat er die alte Version der grafana_9.1.4_arm64.deb noch im Archiv und das stößt bei der Installation auf Probleme.iobroker@iobroker:~ $ sudo apt install grafana Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: grafana 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/76.8 MB of archives. After this operation, 271 MB of additional disk space will be used. (Reading database ... 54954 files and directories currently installed.) Preparing to unpack .../grafana_9.1.4_arm64.deb ... Unpacking grafana (9.1.4) ... dpkg: error processing archive /var/cache/apt/archives/grafana_9.1.4_arm64.deb ( --unpack): trying to overwrite '/usr/lib/systemd/system/grafana-server.service', which is also in package grafana-rpi:armhf 9.1.4 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/grafana_9.1.4_arm64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Jetzt wollte ich die besagte Datei löschen um so die Installation ohne Konflikt vornehmen zu können.
-
@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*