No matter what I do, I get the following error:
gpg: keyblock resource ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: resource limit
The original error(Dutch)
Original Dutch
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)
Here is the original error in it's entirety:
Google Translated
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 )
Things I tried to fix this:
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get check
sudo dpkg --configure -a
sudo apt-get -f install
And also: sudo apt-mark hold apt; sudo apt-get -f install
When trying to install anything i also get the following:
WARNING: The following packages can not be authenticated!
If you pre-install the webupd8 team's y-ppa-manager your life is going to be easier
You can then remove or backup the existing gpg's by executing:
Now you will see something like this :
This means that you will have to re-import all keys ...
Now launch the y-ppa-manager application
BAM! You should be back in business with all your repos working correctly!
I tried the solution from @A.B. it didn't go well but I managed to do a modified one. I installed
y-ppa-manager
:Launched it :
And then : Manage PPAs > removed all the PPAs containing
webupd8team
(I had 4 of them ) and then closed the y-ppa=manager.In console, I re-added them. Ex :
And I did a
sudo apt-get update
and all went smoothly. No errors anymore.I use the following commands to install all the missing keys automatically :
Here is an example output :
Hope this helps.