@bugsounet said in Moving MM GAv3 from rpi 3b 1GB to rpi4 4GB:
sudo apt-get update && sudo apt-get install nodejs -y
Why everything is not working in my rpi???
jan@raspberrypi:~ $ sudo apt-get update && sudo apt-get install -y ca-certificates curl gnupg
Stary:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Stary:2 http://archive.raspberrypi.org/debian bullseye InRelease
Stary:3 https://deb.nodesource.com/node_20.x nodistro InRelease
Czytanie list pakietów... Gotowe
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
Odczyt informacji o stanie... Gotowe
ca-certificates is already the newest version (20210119).
curl is already the newest version (7.74.0-1.3+deb11u11).
gnupg is already the newest version (2.2.27-2+deb11u2).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 1 nieaktualizowanych.
jan@raspberrypi:~ $ curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
gpg: nie można utworzyć ,,/etc/apt/keyrings/nodesource.gpg'': Nie ma takiego pliku ani katalogu
gpg: nie odnaleziono poprawnych danych w formacie OpenPGP.
gpg: zdjęcie opakowania ASCII nie powiodło się: Nie ma takiego pliku ani katalogu
(23) Failed writing body
jan@raspberrypi:~ $ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
jan@raspberrypi:~ $ sudo apt-get update && sudo apt-get install nodejs -y
Stary:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Stary:2 http://archive.raspberrypi.org/debian bullseye InRelease
Pobieranie:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB]
Błąd:3 https://deb.nodesource.com/node_18.x nodistro InRelease
Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 2F59B5F99B1BE0B4
Czytanie list pakietów... Gotowe
W: Błąd GPG: https://deb.nodesource.com/node_18.x nodistro InRelease: Następujące podpisy nie mogły zostać zweryfikowane z powodu braku klucza publicznego: NO_PUBKEY 2F59B5F99B1BE0B4
E: The repository 'https://deb.nodesource.com/node_18.x nodistro InRelease' is not signed.
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.
jan@raspberrypi:~ $