NEWS
Nach Update läuft nichts mehr!
-
@Einstein67 said in Nach Update läuft nichts mehr!:
tail /etc/apt/sources.list.d/nodesource.list
Falls das hilft:
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list deb https://deb.nodesource.com/node_8.x stretch main deb-src https://deb.nodesource.com/node_8.x stretch mainund
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpiJedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..
-
@Einstein67 said in Nach Update läuft nichts mehr!:
tail /etc/apt/sources.list.d/nodesource.list
Falls das hilft:
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list deb https://deb.nodesource.com/node_8.x stretch main deb-src https://deb.nodesource.com/node_8.x stretch mainund
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpiJedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..
@SaschaS sagte in Nach Update läuft nichts mehr!:
@Einstein67 said in Nach Update läuft nichts mehr!:
tail /etc/apt/sources.list.d/nodesource.list
Falls das hilft:
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list deb https://deb.nodesource.com/node_8.x stretch main deb-src https://deb.nodesource.com/node_8.x stretch mainund
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpiJedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..
Lösche doch bitte jetzt endlich die Datei nodesource.list
sudo rm /etc/apt/sources.list.d/nodesource.listund mache mal ein
sudo nano /etc/apt/sources.list -
@Einstein67 said in Nach Update läuft nichts mehr!:
tail /etc/apt/sources.list.d/nodesource.list
Falls das hilft:
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list deb https://deb.nodesource.com/node_8.x stretch main deb-src https://deb.nodesource.com/node_8.x stretch mainund
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpiJedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..
-
@SaschaS sagte in Nach Update läuft nichts mehr!:
@Einstein67 said in Nach Update läuft nichts mehr!:
tail /etc/apt/sources.list.d/nodesource.list
Falls das hilft:
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list deb https://deb.nodesource.com/node_8.x stretch main deb-src https://deb.nodesource.com/node_8.x stretch mainund
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpiJedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..
Lösche doch bitte jetzt endlich die Datei nodesource.list
sudo rm /etc/apt/sources.list.d/nodesource.listund mache mal ein
sudo nano /etc/apt/sources.list@Wal said in Nach Update läuft nichts mehr!:
@SaschaS sagte in Nach Update läuft nichts mehr!:
@Einstein67 said in Nach Update läuft nichts mehr!:
tail /etc/apt/sources.list.d/nodesource.list
Falls das hilft:
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list deb https://deb.nodesource.com/node_8.x stretch main deb-src https://deb.nodesource.com/node_8.x stretch mainund
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpiJedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..
Lösche doch bitte jetzt endlich die Datei nodesource.list
sudo rm /etc/apt/sources.list.d/nodesource.listund mache mal ein
sudo nano /etc/apt/sources.listHabe ich gelöscht und sudo nano /etc/apt/sources.list bringt
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi -
@Wal said in Nach Update läuft nichts mehr!:
@SaschaS sagte in Nach Update läuft nichts mehr!:
@Einstein67 said in Nach Update läuft nichts mehr!:
tail /etc/apt/sources.list.d/nodesource.list
Falls das hilft:
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list deb https://deb.nodesource.com/node_8.x stretch main deb-src https://deb.nodesource.com/node_8.x stretch mainund
pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpiJedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..
Lösche doch bitte jetzt endlich die Datei nodesource.list
sudo rm /etc/apt/sources.list.d/nodesource.listund mache mal ein
sudo nano /etc/apt/sources.listHabe ich gelöscht und sudo nano /etc/apt/sources.list bringt
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi # Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi -
@crunchip said in Nach Update läuft nichts mehr!:
@SaschaS https://github.com/nodesource/distributions#debinstall
Was willst du mir damit sagen? Soll ich jetzt einen dieser Befehle ausführen?
# Using Ubuntu curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - sudo apt-get install -y nodejs # Using Debian, as root curl -sL https://deb.nodesource.com/setup_14.x | bash - apt-get install -y nodejs -
@crunchip said in Nach Update läuft nichts mehr!:
@SaschaS https://github.com/nodesource/distributions#debinstall
Was willst du mir damit sagen? Soll ich jetzt einen dieser Befehle ausführen?
# Using Ubuntu curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - sudo apt-get install -y nodejs # Using Debian, as root curl -sL https://deb.nodesource.com/setup_14.x | bash - apt-get install -y nodejs -
@Wal An der Stelle waren wir vor einer Stunde schon einmal.
Sehe ich das falsch, dass das entfernen nicht sauber funktioniert hat?pi@raspberrypi:/opt/iobroker $ sudo apt --purge remove nodejs Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden Pakete werden ENTFERNT: nodejs* 0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert. Nach dieser Operation werden 67,0 MB Plattenplatz freigegeben. Möchten Sie fortfahren? [J/n] J (Lese Datenbank ... 59270 Dateien und Verzeichnisse sind derzeit installiert.) Entfernen von nodejs (8.17.0-1nodesource1) ... dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/lib« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/lib« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-profile« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/env-paths« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-registry-fetch« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/glob« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/os-locale« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/libnpx« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-packlist« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/string_decoder« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/get-caller-file« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/mem« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/readable-stream/lib/internal/streams« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/pacote« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/chownr« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/invert-kv« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/yargs« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/bin-links« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/hosted-git-info« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/lcid« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/scripts« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/docs« nicht leer, wird daher nicht gelöscht Trigger für man-db (2.7.6.1-2) werden verarbeitet ... -
@Wal An der Stelle waren wir vor einer Stunde schon einmal.
Sehe ich das falsch, dass das entfernen nicht sauber funktioniert hat?pi@raspberrypi:/opt/iobroker $ sudo apt --purge remove nodejs Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden Pakete werden ENTFERNT: nodejs* 0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert. Nach dieser Operation werden 67,0 MB Plattenplatz freigegeben. Möchten Sie fortfahren? [J/n] J (Lese Datenbank ... 59270 Dateien und Verzeichnisse sind derzeit installiert.) Entfernen von nodejs (8.17.0-1nodesource1) ... dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/lib« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/lib« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-profile« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/env-paths« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-registry-fetch« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/glob« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/os-locale« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/libnpx« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-packlist« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/string_decoder« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/get-caller-file« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/mem« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/readable-stream/lib/internal/streams« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/pacote« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/chownr« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/invert-kv« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/yargs« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/bin-links« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/hosted-git-info« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/lcid« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/scripts« nicht leer, wird daher nicht gelöscht dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/docs« nicht leer, wird daher nicht gelöscht Trigger für man-db (2.7.6.1-2) werden verarbeitet ... -
@Wal Jetzt finde ich den Schritt schon schöner.
pi@raspberrypi:/opt/iobroker $ sudo rm -r /usr/lib/node_modules/npm pi@raspberrypi:/opt/iobroker $ sudo apt --purge remove nodejs Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paket »nodejs« ist nicht installiert, wird also auch nicht entfernt. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.Next?
-
@Wal Jetzt finde ich den Schritt schon schöner.
pi@raspberrypi:/opt/iobroker $ sudo rm -r /usr/lib/node_modules/npm pi@raspberrypi:/opt/iobroker $ sudo apt --purge remove nodejs Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paket »nodejs« ist nicht installiert, wird also auch nicht entfernt. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.Next?
-
@Wal Ne..wäre zu schön gewesen.
pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update Paketlisten werden gelesen... Fertig W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Die Operation ist nicht erlaubt) E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung) E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden. W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - RemoveCaches (13: Keine Berechtigung) W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Keine Berechtigung) Error executing command, exiting -
@Wal Ne..wäre zu schön gewesen.
pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update Paketlisten werden gelesen... Fertig W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Die Operation ist nicht erlaubt) E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung) E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden. W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - RemoveCaches (13: Keine Berechtigung) W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Keine Berechtigung) Error executing command, exiting -
@SaschaS
mein fehlercurl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt install nodejs -
@Wal Macht es einen Unterschied ob ich mit sudo apt install nodejs oder sudo apt-get install -y nodejs fortfahre? Falls ja, worin liegt dieser?
pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update OK:1 http://phoscon.de/apt/deconz stretch InRelease Holen:2 http://archive.raspberrypi.org/debian stretch InRelease [25,4 kB] Holen:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB] Holen:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11,7 MB] Holen:5 http://archive.raspberrypi.org/debian stretch/main armhf Packages [201 kB] Es wurden 11,9 MB in 17 s geholt (678 kB/s). Paketlisten werden gelesen... Fertig ## Confirming "stretch" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js 12.x repo... + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update OK:1 http://archive.raspberrypi.org/debian stretch InRelease OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease OK:3 http://phoscon.de/apt/deconz stretch InRelease Holen:4 https://deb.nodesource.com/node_12.x stretch InRelease [4.585 B] Holen:5 https://deb.nodesource.com/node_12.x stretch/main armhf Packages [775 B] Es wurden 5.360 B in 2 s geholt (2.030 B/s). Paketlisten werden gelesen... Fertig ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn -
@Wal Macht es einen Unterschied ob ich mit sudo apt install nodejs oder sudo apt-get install -y nodejs fortfahre? Falls ja, worin liegt dieser?
pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update OK:1 http://phoscon.de/apt/deconz stretch InRelease Holen:2 http://archive.raspberrypi.org/debian stretch InRelease [25,4 kB] Holen:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB] Holen:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11,7 MB] Holen:5 http://archive.raspberrypi.org/debian stretch/main armhf Packages [201 kB] Es wurden 11,9 MB in 17 s geholt (678 kB/s). Paketlisten werden gelesen... Fertig ## Confirming "stretch" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js 12.x repo... + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update OK:1 http://archive.raspberrypi.org/debian stretch InRelease OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease OK:3 http://phoscon.de/apt/deconz stretch InRelease Holen:4 https://deb.nodesource.com/node_12.x stretch InRelease [4.585 B] Holen:5 https://deb.nodesource.com/node_12.x stretch/main armhf Packages [775 B] Es wurden 5.360 B in 2 s geholt (2.030 B/s). Paketlisten werden gelesen... Fertig ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarnhttps://itrig.de/index.php?/archives/2316-apt-vs.-apt-get-Was-ist-der-Unterschied.html
;)
apt ist "neuer", aber macht keinen Unterschied. Höchstens durch einen Farbbalken , den du manchmal beim Installieren sieht. -
@Wal Macht es einen Unterschied ob ich mit sudo apt install nodejs oder sudo apt-get install -y nodejs fortfahre? Falls ja, worin liegt dieser?
pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update OK:1 http://phoscon.de/apt/deconz stretch InRelease Holen:2 http://archive.raspberrypi.org/debian stretch InRelease [25,4 kB] Holen:3 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB] Holen:4 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11,7 MB] Holen:5 http://archive.raspberrypi.org/debian stretch/main armhf Packages [201 kB] Es wurden 11,9 MB in 17 s geholt (678 kB/s). Paketlisten werden gelesen... Fertig ## Confirming "stretch" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - OK ## Creating apt sources list file for the NodeSource Node.js 12.x repo... + echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update OK:1 http://archive.raspberrypi.org/debian stretch InRelease OK:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease OK:3 http://phoscon.de/apt/deconz stretch InRelease Holen:4 https://deb.nodesource.com/node_12.x stretch InRelease [4.585 B] Holen:5 https://deb.nodesource.com/node_12.x stretch/main armhf Packages [775 B] Es wurden 5.360 B in 2 s geholt (2.030 B/s). Paketlisten werden gelesen... Fertig ## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden