gpg: recurso de keyblock ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: limite de recursos

18

Não importa o que eu faça, recebo o seguinte erro:

gpg: keyblock resource ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: resource limit

O erro original (holandês)

Original holandês

sudo apt-get -f install
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De status informatie wordt gelezen... Klaar
0 pakketten opgewaardeerd, 0 pakketten nieuw geïnstalleerd, 0 te verwijderen en 12 niet opgewaardeerd.
1 pakketten niet volledig geïnstalleerd of verwijderd.
Door deze operatie zal er 0 B extra schijfruimte gebruikt worden.
Instellen van apt (0.9.9.1~ubuntu3.1) ...
gpg: sleutelblok bronnen ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: resource limit
gpg: sleutelblok bronnen ‘/etc/apt/trusted.gpg.d//webupd8team-themes.gpg’: resource limit
gpg: sleutelblok bronnen ‘/etc/apt/trusted.gpg.d//webupd8team-tor-browser.gpg’: resource limit
gpg: sleutelblok bronnen ‘/etc/apt/trusted.gpg.d//wfg-0ad.gpg’: resource limit
gpg: sleutelblok bronnen ‘/etc/apt/trusted.gpg.d//yorba-ppa.gpg’: resource limit
gpg: sleutel 437D05B5: “Ubuntu Archive Automatic Signing Key <[email protected]>” niet veranderd
gpg: sleutel FBB75451: “Ubuntu CD Image Automatic Signing Key <[email protected]>” niet veranderd
gpg: sleutel C0B21F32: “Ubuntu Archive Automatic Signing Key (2012) <[email protected]>” niet veranderd
gpg: sleutel EFE21092: “Ubuntu CD Image Automatic Signing Key (2012) <[email protected]>” niet veranderd
gpg: Totaal aantal verwerkt: 4
gpg:              Onveranderd: 4
dpkg: error processing apt (--configure):
 subproces installed post-installation script gaf een foutwaarde 2 terug
Fouten gevonden tijdens behandelen van:
 apt
E: Sub-process /usr/bin/dpkg returned an error code (1)

Aqui está o erro original em sua totalidade:

Google Traduzido

sudo apt- get- f install
Reading package lists ... Done
Building dependency tree
The status information is read ... Ready
0 packages upgraded , 0 newly installed, 0 to remove and 12 not upgraded .
1 not fully installed or removed.
Through this operation, 0 B of additional disk space will be used .
Setting up apt ( 0.9.9.1 ~ ubuntu3.1 ) ...
gpg : key block sources '/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg' :resource limit
gpg : key block sources '/etc/apt/trusted.gpg.d//webupd8team-themes.gpg': resource limit
gpg : key block sources '/etc/apt/trusted.gpg.d//webupd8team-tor - browser.gpg ' : resource limit
gpg : key block sources '/etc/apt/trusted.gpg.d//wfg-0ad.gpg': resource limit
gpg : key block sources '/etc/apt/trusted.gpg.d//Yorba-ppa.gpg': resource limit
gpg : key 437D05B5 : "Ubuntu Archive Automatic Signing Key <[email protected]>" not changed
gpg : key FBB75451 : "Ubuntu CD Image Automatic Signing Key <[email protected]>" not changed
gpg : key C0B21F32 : "Ubuntu Archive Automatic Signing Key (2012 ) <[email protected]>" not changed
gpg : key EFE21092 : "Ubuntu CD Image Automatic Signing Key (2012 ) <[email protected]>" not changed
gpg : Total number processed : 4
gpg : unchanged : 4
dpkg : error processing apt (--configure) :
 subprocess installed post-installation script returned error 2 back
Errors were encountered while processing :
 apt
E : Sub -process/usr/bin/dpkg returned an error code ( 1 )

Coisas que tentei corrigir:

  • sudo apt-get autoremove
  • sudo apt-get clean
  • sudo apt-get check
  • sudo dpkg --configure -a
  • sudo apt-get -f install

E também: sudo apt-mark hold apt; sudo apt-get -f install

Ao tentar instalar qualquer coisa, eu também recebo o seguinte:

WARNING: The following packages can not be authenticated!

    
por blade19899 11.04.2014 / 14:58

3 respostas

8

Se você pré-instalar o gerenciador y-ppa da equipe webupd8, sua vida será mais fácil

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo update && sudo apt-get install y-ppa-manager

Você pode então remover ou fazer backup dos gpg existentes executando:

sudo rm /etc/apt/trusted.gpg.d/*
sudo apt-get update

Agora você verá algo assim:

W: GPG error: http://ppa.launchpad.net wily InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
W: GPG error: http://ppa.launchpad.net wily InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
W: GPG error: http://ppa.launchpad.net wily InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
W: GPG error: http://ppa.launchpad.net vivid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886

Isso significa que você terá que reimportar todas as chaves ...

Agora, inicie o aplicativo y-ppa-manager

Click on Advanced
Select Try to import all missing GPG keys

BAM! Você deve estar de volta aos negócios com todos os seus repos funcionando corretamente!

    
por A.B. 11.11.2015 / 13:14
0

Eu tentei a solução de @ A.B. não deu certo, mas consegui fazer um modificado. Eu instalei y-ppa-manager :

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo update && sudo apt-get install y-ppa-manager

Lançou:

sudo y-ppa-manager

E depois: gerencie PPAs > removeu todos os PPAs contendo webupd8team (Eu tinha 4 deles) e depois fechei o y-ppa = manager.

No console, eu os adicionei novamente. Ex:

sudo add-apt-repository ppa:webupd8team/java -y
sudo add-apt-repository ppa:webupd8team/sublime-text-3 -y
....
....

E eu fiz um sudo apt-get update e tudo correu bem. Não há mais erros.

    
por iMitwe 14.12.2015 / 08:36
0

Eu uso os seguintes comandos para instalar automaticamente todas as chaves ausentes:

sudo apt install add-apt-key -y
sudo apt-get update 2>&1 >/dev/null | awk '/InRelease:.*not available: NO_PUBKEY/{print "sudo add-apt-key "$NF}' | sh -x

Aqui está um exemplo de saída:

+ sudo add-apt-key 4C1CBE14852541CB
gpg: requesting key 852541CB from hkp server keyserver.ubuntu.com
gpg: key 852541CB: "Launchpad PPA for Panda Jim" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
OK
+ sudo add-apt-key 03647209B58A653A
gpg: requesting key B58A653A from hkp server keyserver.ubuntu.com
gpg: key B58A653A: "Launchpad PPA for Unit 193" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
OK

Espero que isso ajude.

    
por SebMa 24.04.2016 / 22:01

Tags