distributions icon indicating copy to clipboard operation
distributions copied to clipboard

Error executing command, exiting - KDE Neon 5.19 (Ubuntu 20.04)

Open miguelcanosantana opened this issue 5 years ago • 3 comments

When trying to install nodejs via the repository, using release 12,x or 14.x gives error, although "focal" is supported.

curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - sudo apt-get install -y nodejs

Gives

$ 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 Obj:1 http://ppa.launchpad.net/papirus/papirus/ubuntu focal InRelease Obj:2 http://download.opensuse.org/repositories/home:/ColinDuquesnoy/xUbuntu_20.04 InRelease Obj:3 http://security.ubuntu.com/ubuntu focal-security InRelease Obj:4 http://dl.google.com/linux/chrome/deb stable InRelease Obj:5 http://ppa.launchpad.net/teejee2008/timeshift/ubuntu focal InRelease Des:6 http://archive.neon.kde.org/user focal InRelease [155 kB] Des:7 https://mega.nz/linux/MEGAsync/xUbuntu_20.04 ./ InRelease [2.441 B] Obj:8 http://packages.microsoft.com/repos/vscode stable InRelease Obj:9 http://es.archive.ubuntu.com/ubuntu focal InRelease Obj:10 http://es.archive.ubuntu.com/ubuntu focal-updates InRelease Obj:11 http://es.archive.ubuntu.com/ubuntu focal-backports InRelease Descargados 158 kB en 2s (91,5 kB/s) Leyendo lista de paquetes... Hecho

## Confirming "focal" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/focal/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/home:ColinDuquesnoy.gpg' gpg: recurso de bloque de claves '(null)': Error general gpg: key 7721F63BD38B4796: 2 firmas no comprobadas por falta de claves gpg: key E481C081DB2A84F7: 1 firma no comprobada por falta de una clave gpg: key E6D4736255751E5D: 1 firma no comprobada por falta de una clave gpg: key 3B4FE6ACC0B21F32: 3 firmas no comprobadas por falta de claves gpg: key D94AA3F0EFE21092: 3 firmas no comprobadas por falta de claves gpg: key 871920D1991BC93C: 1 firma no comprobada por falta de una clave gpg: Cantidad total procesada: 13 gpg: omitidas nuevas claves: 13 Error executing command, exiting

It's in spanish, but basically means that it couldn't check the signature, because keys are missing.

Any help would be appreciated, thanks.

miguelcanosantana avatar Sep 21 '20 08:09 miguelcanosantana

Same problem. I tried to install the current v15.x version on a Zorin OS 15 (Ubuntu 18.04 LTS based)

➜  ~ curl -sL https://deb.nodesource.com/setup_current.x | sudo -E bash -

## Installing the NodeSource Node.js 15.x repo...


## Populating apt-get cache...

+ apt-get update
Hit:1 http://download.virtualbox.org/virtualbox/debian bionic InRelease
Hit:2 http://br.archive.ubuntu.com/ubuntu bionic InRelease                     
Hit:3 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:4 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease           
Hit:5 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:7 http://download.opensuse.org/repositories/home:/ColinDuquesnoy/xUbuntu_18.04  InRelease
Hit:8 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease    
Hit:9 https://packages.microsoft.com/repos/ms-teams stable InRelease           
Hit:10 https://packages.zorinos.com/stable bionic InRelease                    
Hit:11 http://ppa.launchpad.net/zorinos/apps/ubuntu bionic InRelease     
Hit:12 https://packages.zorinos.com/patches bionic InRelease                   
Hit:13 https://packages.zorinos.com/apps bionic InRelease                      
Hit:14 http://ppa.launchpad.net/zorinos/drivers/ubuntu bionic InRelease   
Hit:15 https://packages.zorinos.com/drivers bionic InRelease                   
Hit:16 http://ppa.launchpad.net/zorinos/patches/ubuntu bionic InRelease        
Hit:17 http://ppa.launchpad.net/zorinos/stable/ubuntu bionic InRelease         
Reading package lists... Done 
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://download.virtualbox.org/virtualbox/debian bionic InRelease' doesn't support architecture 'i386'

## Confirming "bionic" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_15.x/dists/bionic/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
gpg: invalid key resource URL '/etc/apt/trusted.gpg.d/home:ColinDuquesnoy.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
gpg: key E481C081DB2A84F7: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 17
gpg:       skipped new keys: 17
Error executing command, exiting

Any help?

ntaraujo avatar Nov 04 '20 22:11 ntaraujo

Same here on Ubuntu 20.04

# Installing the NodeSource Node.js 14.x repo...


## Populating apt-get cache...

+ apt-get update
Hit:1 http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_20.04  InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:3 http://ppa.launchpad.net/agornostal/ulauncher/ubuntu focal InRelease     
Hit:4 http://iq.archive.ubuntu.com/ubuntu focal InRelease                      
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]      
Hit:6 http://packages.microsoft.com/repos/vscode stable InRelease              
Get:7 http://iq.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]     
Hit:8 http://mariadb.mirror.globo.tech/repo/10.5/ubuntu focal InRelease        
Hit:9 http://ppa.launchpad.net/atareao/telegram/ubuntu focal InRelease         
Hit:10 http://ppa.launchpad.net/costales/yaru-colors-folder-color/ubuntu focal InRelease
Get:11 http://iq.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:12 http://ppa.launchpad.net/font-manager/staging/ubuntu focal InRelease    
Hit:13 http://ppa.launchpad.net/kdenlive/kdenlive-stable/ubuntu focal InRelease
Hit:14 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease
Hit:15 http://ppa.launchpad.net/ubuntuhandbook1/audacity/ubuntu focal InRelease
Fetched 324 kB in 3s (111 kB/s)
Reading package lists... Done

## Confirming "focal" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_14.x/dists/focal/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
gpg: invalid key resource URL '/tmp/apt-key-gpghome.KO88jUDb2Y/home:manuelschneid3r.asc.gpg'
gpg: keyblock resource '(null)': General error
gpg: key 7721F63BD38B4796: 2 signatures not checked due to missing keys
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key 1488EB46E192A257: 1 signature not checked due to a missing key
gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys
gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys
gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key
gpg: Total number processed: 16
gpg:       skipped new keys: 16
Error executing command, exiting

Mohammed-Taher avatar Jan 01 '21 04:01 Mohammed-Taher

Same here with Zorin OS 16 (Ubuntu 20.04 LTS based)

curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -

## Installing the NodeSource Node.js 16.x repo...

## Populating apt-get cache...

+ apt-get update
Atingido:1 http://repo.mysql.com/apt/debian buster InRelease
Atingido:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                                         
Atingido:3 http://br.archive.ubuntu.com/ubuntu focal InRelease                                                                                                                                                                            
Atingido:4 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                                                                                                                     
Atingido:5 http://packages.microsoft.com/repos/code stable InRelease                                                                                                                                                                      
Atingido:6 https://packages.zorinos.com/stable focal InRelease                                                                                                           
Obter:7 http://br.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                                                
Atingido:8 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease                                                                           
Atingido:9 https://packages.zorinos.com/patches focal InRelease                                                                                                               
Atingido:10 https://packages.zorinos.com/apps focal InRelease                                                                                                                 
Atingido:11 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease                                                                        
Obter:12 http://br.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]                              
Obter:13 http://br.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1.170 kB]    
Obter:14 http://br.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [282 kB]
Obter:14 http://br.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [282 kB]
Atingido:17 https://packages.zorinos.com/drivers focal InRelease                                                 
Ign:14 http://br.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata                              
Ign:18 http://br.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata
Ign:19 http://br.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata
Atingido:20 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease                  
Obter:14 http://br.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [282 kB]
Err:14 http://br.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata                                           
  File has unexpected size (282480 != 282464). Mirror sync in progress? [IP: 2801:82:80ff:8000::5 80]
  Hashes of expected file:
   - Filesize:282464 [weak]
   - SHA256:8d8d277434d41f9aa19a2281eb18f9a623300e8f35ae9ac0b44a7f123349bb58
   - SHA1:986e609a1384172f1436a4badbdc17c69b8c16a1 [weak]
   - MD5Sum:bf820f14123970ea5c1f476ecc0fff74 [weak]
  Release file created at: Wed, 25 Aug 2021 10:20:48 +0000
Obter:18 http://br.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [351 kB]                                                     
Err:18 http://br.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata                                   
  
Obter:19 http://br.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [940 B]                       
Err:19 http://br.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata                                 
  
Atingido:21 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease                 
Ign:22 http://br.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata   
Obter:22 http://br.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [10,3 kB]
Err:22 http://br.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata              
  Hash Sum incorreto
  Hashes of expected file:
   - Filesize:10328 [weak]
   - SHA256:78c434cd6fcd9f5dfd6acbe1b6350d18f32308db8ed43bef64d82248794e2ef6
   - SHA1:6df1953d97f93c72821de60916bae944e1088758 [weak]
   - MD5Sum:8a5ada656d3107b26e0f8801b7850870 [weak]
  Hashes of received file:
   - SHA256:8d50cc45d50b8fd3369ba25335c7974ae4b3d3c43b839ea02e1fbcc337c7fe84
   - SHA1:82a257d45ad2de062d73ffa58cc424217c25fc29 [weak]
   - MD5Sum:a56d1f17cc1ebb3fd526a9df496af09f [weak]
   - Filesize:10328 [weak]
  Last modification reported: Wed, 25 Aug 2021 06:20:40 +0000
  Release file created at: Wed, 25 Aug 2021 10:21:28 +0000
Atingido:23 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease                            
Atingido:24 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Baixados 225 kB em 3s (70,2 kB/s)
Lendo listas de pacotes... Pronto
E: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/focal-updates/main/dep11/Components-amd64.yml.xz  File has unexpected size (282480 != 282464). Mirror sync in progress? [IP: 2801:82:80ff:8000::5 80]
   Hashes of expected file:
    - Filesize:282464 [weak]
    - SHA256:8d8d277434d41f9aa19a2281eb18f9a623300e8f35ae9ac0b44a7f123349bb58
    - SHA1:986e609a1384172f1436a4badbdc17c69b8c16a1 [weak]
    - MD5Sum:bf820f14123970ea5c1f476ecc0fff74 [weak]
   Release file created at: Wed, 25 Aug 2021 10:20:48 +0000
E: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/focal-updates/universe/dep11/Components-amd64.yml.xz  
E: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/focal-updates/multiverse/dep11/Components-amd64.yml.xz  
E: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/focal-backports/universe/dep11/Components-amd64.yml.xz  Hash Sum incorreto
   Hashes of expected file:
    - Filesize:10328 [weak]
    - SHA256:78c434cd6fcd9f5dfd6acbe1b6350d18f32308db8ed43bef64d82248794e2ef6
    - SHA1:6df1953d97f93c72821de60916bae944e1088758 [weak]
    - MD5Sum:8a5ada656d3107b26e0f8801b7850870 [weak]
   Hashes of received file:
    - SHA256:8d50cc45d50b8fd3369ba25335c7974ae4b3d3c43b839ea02e1fbcc337c7fe84
    - SHA1:82a257d45ad2de062d73ffa58cc424217c25fc29 [weak]
    - MD5Sum:a56d1f17cc1ebb3fd526a9df496af09f [weak]
    - Filesize:10328 [weak]
   Last modification reported: Wed, 25 Aug 2021 06:20:40 +0000
   Release file created at: Wed, 25 Aug 2021 10:21:28 +0000
E: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.
Error executing command, exiting

carlos3duardo avatar Aug 25 '21 11:08 carlos3duardo

This issue is resolved with our new repository. More information can be found here.

JesusPaz avatar Aug 29 '23 19:08 JesusPaz