@thomas-braun

Ich bin maximal verwirrt. Wenn ich richtig verstehe was du gerne hättest sind das ja verschiedene Befehle hintereinander. Einzeln nacheinander sieht es so aus:
| root@iobroker:~ |
| /usr/bin/node |
| /usr/bin/npm |
| root@iobroker:~ |
| Command 'nodejs' not found, but can be installed with: |
| apt install nodejs |
| root@iobroker:~ |
| v14.18.2 |
| root@iobroker:~ |
| 6.14.15 |
| root@iobroker:~# whoami |
| root |
| root@iobroker:~# apt update &> /dev/null "Der Befehl gibt garnichts zurück bei mir" |
| root@iobroker:~ |
| Hit:1 http://archive.ubuntu.com/ubuntu hirsute InRelease |
| Hit:2 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease |
| Hit:3 http://archive.ubuntu.com/ubuntu hirsute-security InRelease |
| Hit:4 https://deb.nodesource.com/node_14.x groovy InRelease |
| Reading package lists... Done |
| Building dependency tree... Done |
| Reading state information... Done |
| 3 packages can be upgraded. Run 'apt list --upgradable' to see them. |
| root@iobroker:~ |
| nodejs: |
| Installed: 14.18.2-deb-1nodesource1 |
| Candidate: 14.18.2-deb-1nodesource1 |
| Version table: |
| *** 14.18.2-deb-1nodesource1 500 |
| 500 https://deb.nodesource.com/node_14.x groovy/main amd64 Packages |
| 100 /var/lib/dpkg/status |
| 12.21.0~dfsg-3ubuntu1 500 |
| 500 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages |
Was ich auch nicht verstehe, er zeigt mir ja von nodejs was an. Umgekehrt über die Konsole dachte ich mir, wenn er nodejs installiert haben will, versuche ich es einfach, aber dann kommt folgendes:
| root@iobroker:~ |
| Reading package lists... Done |
| Building dependency tree... Done |
| Reading state information... Done |
| nodejs is already the newest version (14.18.2-deb-1nodesource1). |
| 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. |
Ich weiß leider dass ich als root angemeldet bin, was nicht gut ist. aber als iobroker kann ich mich nicht einloggen, dann sagt er mir "User account currently not available."
Erkennst du da was?
Danke und Gruß
Andi