NEWS
Update node.js
-
Keine Screenshots. Kann man nicht lesen, kann man nicht zitieren usw.
Text aus der Konsole in CodeTags eingebettet hier rein.
-
Keine Screenshots. Kann man nicht lesen, kann man nicht zitieren usw.
Text aus der Konsole in CodeTags eingebettet hier rein.
Keine ahnung wie das geht. Kanns nur so machen. Weiter als das komm ich net
-
Keine ahnung wie das geht. Kanns nur so machen. Weiter als das komm ich net
-
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR' │ │ │ ├── github-from-package@0.0.0 │ │ │ ├── github-from-package@0.0.0 deduped │ ├── github-url-from-git@1.5.0 │ ├─┬ new-github-release-url@1.0.0 └─┬ streamedian@1.8.3 (github:SpecForge/html5_rtsp_player#c862c930cd63b2f8629f4350d527d87c5c2688b2) └─┬ jsencrypt@2.3.1 (git+https://github.com/kreopt/jsencrypt.git#02c7522a02c1ba5b375c456063296634cbe2a114) pi@raspberrypi:/opt/iobroker $ cd /opt/iobroker && npm prune npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) up to date in 17.493s 110 packages are looking for funding run `npm fund` for details pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash ## Installing the NodeSource Node.js 16.x repo... ## Populating apt-get cache... + apt-get update E: Type 'sudo' is not known on line 7 in source list /etc/apt/sources.list E: The list of sources could not be read. Error executing command, exiting pi@raspberrypi:/opt/iobroker $ node -v v12.22.8 pi@raspberrypi:/opt/iobroker $ iob stop pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash ## Installing the NodeSource Node.js 16.x repo... ## Populating apt-get cache... + apt-get update E: Type 'sudo' is not known on line 7 in source list /etc/apt/sources.list E: The list of sources could not be read. Error executing command, exitingMOD-EDIT: Code-tags angepasst!
-
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR' │ │ │ ├── github-from-package@0.0.0 │ │ │ ├── github-from-package@0.0.0 deduped │ ├── github-url-from-git@1.5.0 │ ├─┬ new-github-release-url@1.0.0 └─┬ streamedian@1.8.3 (github:SpecForge/html5_rtsp_player#c862c930cd63b2f8629f4350d527d87c5c2688b2) └─┬ jsencrypt@2.3.1 (git+https://github.com/kreopt/jsencrypt.git#02c7522a02c1ba5b375c456063296634cbe2a114) pi@raspberrypi:/opt/iobroker $ cd /opt/iobroker && npm prune npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) up to date in 17.493s 110 packages are looking for funding run `npm fund` for details pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash ## Installing the NodeSource Node.js 16.x repo... ## Populating apt-get cache... + apt-get update E: Type 'sudo' is not known on line 7 in source list /etc/apt/sources.list E: The list of sources could not be read. Error executing command, exiting pi@raspberrypi:/opt/iobroker $ node -v v12.22.8 pi@raspberrypi:/opt/iobroker $ iob stop pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash ## Installing the NodeSource Node.js 16.x repo... ## Populating apt-get cache... + apt-get update E: Type 'sudo' is not known on line 7 in source list /etc/apt/sources.list E: The list of sources could not be read. Error executing command, exitingMOD-EDIT: Code-tags angepasst!
-
pi@raspberrypi:/opt/iobroker $ cat /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi deb https://archive.raspbian.org/raspian buster main contrib non-free deb-src https://archive.raspbian.org/raspbian buster main contrib non-free sudo apt-get updatedas kommt da
-
pi@raspberrypi:/opt/iobroker $ cat /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi deb https://archive.raspbian.org/raspian buster main contrib non-free deb-src https://archive.raspbian.org/raspbian buster main contrib non-free sudo apt-get updatedas kommt da
Bitte saubere CodeTags setzen.
-
pi@raspberrypi:/opt/iobroker $ cat /etc/apt/sources.list deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi Uncomment line below then 'apt-get update' to enable 'apt-get source' #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi deb https://archive.raspbian.org/raspian buster main contrib non-free deb-src https://archive.raspbian.org/raspbian buster main contrib non-free sudo apt-get updatedas kommt da
-
@thomas-braun die zeile macht der ja automtisch. hatte nur den befehl cat... eingegeben
-
@thomas-braun die zeile macht der ja automtisch. hatte nur den befehl cat... eingegeben
Nein, die Zeile hast du da mal reinkopiert, die kommt nicht 'von alleine' rein.
-
Nein, die Zeile hast du da mal reinkopiert, die kommt nicht 'von alleine' rein.
Kommt immer wieder der fehler. Lasse es jetzt so. Bringt ja nix. Trotzdem danke
-
Kommt immer wieder der fehler. Lasse es jetzt so. Bringt ja nix. Trotzdem danke
Lösch die Zeile halt raus und dann in der Konsole
sudo apt updateBei dir funktionieren so gar keine Upgrades des Betriebssystems. DAS bringt nichts.
sudo nano /etc/apt/sources.listLetzte Zeile löschen,
Strg-O,Enter,Strg-X -
Kommt immer wieder der fehler. Lasse es jetzt so. Bringt ja nix. Trotzdem danke
Und dann bringst du Buster auf ein noch lebendes Release. Der Buster ist im September 2022 abgekündigt worden.
-
Lösch die Zeile halt raus und dann in der Konsole
sudo apt updateBei dir funktionieren so gar keine Upgrades des Betriebssystems. DAS bringt nichts.
sudo nano /etc/apt/sources.listLetzte Zeile löschen,
Strg-O,Enter,Strg-Xpi@raspberrypi:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 https://deb.nodesource.com/node_12.x buster InRelease Ign:4 https://archive.raspbian.org/raspian buster InRelease Hit:5 https://archive.raspbian.org/raspbian buster InRelease Err:6 https://archive.raspbian.org/raspian buster Release 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:2 443] Reading package lists... Done E: The repository 'https://archive.raspbian.org/raspian buster Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.habs endlich gefunden in zeile 7 un habs geändert. aber wirklich akutell wird nix
-
pi@raspberrypi:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 https://deb.nodesource.com/node_12.x buster InRelease Ign:4 https://archive.raspbian.org/raspian buster InRelease Hit:5 https://archive.raspbian.org/raspbian buster InRelease Err:6 https://archive.raspbian.org/raspian buster Release 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:2 443] Reading package lists... Done E: The repository 'https://archive.raspbian.org/raspian buster Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.habs endlich gefunden in zeile 7 un habs geändert. aber wirklich akutell wird nix
Jetzt hast du in einer anderen .list Datei in /etc/apt/sources.list.d/ noch Quatsch drin.
Da stehtraspian, muss aberraspbianlauten. -
Jetzt hast du in einer anderen .list Datei in /etc/apt/sources.list.d/ noch Quatsch drin.
Da stehtraspian, muss aberraspbianlauten.endlich hats geklappt. was ne schwere geburt.....
-
pi@raspberrypi:~ $ sudo apt update Hit:1 http://archive.raspberrypi.org/debian buster InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:3 https://deb.nodesource.com/node_12.x buster InRelease Ign:4 https://archive.raspbian.org/raspian buster InRelease Hit:5 https://archive.raspbian.org/raspbian buster InRelease Err:6 https://archive.raspbian.org/raspian buster Release 404 Not Found [IP: 2a00:1098:0:80:1000:75:0:2 443] Reading package lists... Done E: The repository 'https://archive.raspbian.org/raspian buster Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.habs endlich gefunden in zeile 7 un habs geändert. aber wirklich akutell wird nix
sudo sed -i 's/raspian/raspbian/g' /etc/apt/sources.list sudo sed -i 's/raspian/raspbian/g' /etc/apt/sources.list.d/*Dann nochmal
sudo apt update -
endlich hats geklappt. was ne schwere geburt.....
@blue106 sagte in Update node.js:
was ne schwere geburt
Warum? Ganz einfache Dinge.
Was kommt jetzt beisudo apt updateum's Eck?
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
