NEWS
Grafana Installation - Fehler grafana-rpi:armhf
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
was läuft da falsch
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
The following packages have unmet dependencies:
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
wie kann ich den Fehler beheben.
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
You might want to run 'apt --fix-broken install' to correct these.
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
/etc/apt/sources.list.d/grafana.listcode_text
probiers mal damit:
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add - echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
und dann:
sudo apt update && sudo apt install grafana
-
@djmarc75
Das habe ich versucht aber leider mit derselben Fehlermeldung. -
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
Das habe ich versucht aber leider mit derselben Fehlermeldung.
und die Ein- und Ausgaben dazu ?
-
iobroker@iobroker:~ $ wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add - [sudo] password for iobroker: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK iobroker@iobroker:~ $ echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list deb https://packages.grafana.com/oss/deb stable main iobroker@iobroker:~ $ sudo apt update && sudo apt install grafana 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 https://repos.influxdata.com/debian bullseye InRelease Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease Hit:6 https://packages.grafana.com/oss/deb stable InRelease Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 18 packages can be upgraded. Run 'apt list --upgradable' to see them. 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 Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: grafana-rpi:armhf : Depends: libfontconfig1:armhf but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). iobroker@iobroker:~ $
Hilft das weiter oder was wird noch benötigt?
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
18 packages can be upgraded
bring das mal erstmal auf den aktuellen Stand.
-
@djmarc75
wie aktualisiere ich die Packages - ich dachte das geht mit "sudo apt update"
aber offensichtlich nicht.Wie kann ich diese aktualisieren?
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
ich dachte das geht mit "sudo apt update"
das liest nur die Repos neu ein. zum Update brauchst du
sudo apt upgrade
es heisst ja auch
18 packages can be upgraded.
-
iobroker@iobroker:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: grafana-rpi:armhf : Depends: libfontconfig1:armhf but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). iobroker@iobroker:~ $
Aber der Fehler mit
"The following packages have unmet dependencies:
grafana-rpi:armhf : Depends: libfontconfig1:armhf but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)."
ist nach wie vor da. -
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
ist nach wie vor da.
hast du denn gemacht was dir empfohlen wird?
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
Try 'apt --fix-broken install'
-
@homoran said in Grafana Installation - Fehler grafana-rpi:armhf:
apt --fix-broken install'
nein - weil ich den Fehler zwar gelesen habe, auch gegooglt aber ich bin dabei nicht schlauer geworden.
Ich kann leider mit dem Befehl überhaupt nichts anfangen.Kann mir dabei bitte wer helfen.....
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
Kann mir dabei bitte wer helfen.....
???
soll ich das in deine Konsole eintippen?
-
@homoran
Sorry, dachte nicht das ich nur diesen Befehl eingeben muss.iobroker@iobroker:~ $ apt --fix-broken install E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? iobroker@iobroker:~ $
bringt aber wieder einen Fehler.
-
@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
bringt aber wieder einen Fehler.
versuch es mal wie alle apt Befehle mit sudo davor
-
@homoran
Vielen Dank, jetzt hat er zumindest die Installation fortgeführt.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 14 not upgraded. Need to get 76.8 MB of archives. After this operation, 271 MB of additional disk space will be used. Get:1 https://packages.grafana.com/oss/deb stable/main arm64 grafana arm64 9.1.4 [76.8 MB] Fetched 76.8 MB in 29s (2,660 kB/s) Selecting previously unselected package grafana. (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) iobroker@iobroker:~ $ sudo /bin/systemctl enable grafana-server [sudo] password for iobroker: Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable grafana-server Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /lib/systemd/system/grafana-server.service. iobroker@iobroker:~ $ sudo /bin/systemctl start grafana-server iobroker@iobroker:~ $
Aber in den folgenden Zeilen besteht ein weiteres Problem:
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)
-
@heli-wolf ich hab das mal nach OffTopic verschoben.
Grafana ist kein Bestandteil von ioBroker.@heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:
dpkg: error processing archive /var/cache/apt/archives/grafana_9.1.4_arm64.deb (--unpack):
ich denke du hast einen Pi?
was willst du dann mit einem 64Bit PC paket? -
@homoran said in Grafana Installation - Fehler grafana-rpi:armhf:
Bearbeiten
das habe ich nicht ausgewählt.
Wie kann ich das ändern? -
@heli-wolf sorry, mein Fehler!
arm ist nicht amd
alles gut
ab hier jann ich nicht mehr helfen, nutze Grafana nicht
-
@heli-wolf
Wie bist Du denn da prinzipiell am Start ?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 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://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://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 14 packages can be upgraded. Run 'apt list --upgradable' to see them. 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:~ $