[Solved] GPG error , no key available

Good afternoon, i have problems while updating the system:

[code]
W: GPG error: http://ppa.launchpad.net raring Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY CBDFA02B432BB368
W: GPG error: http://ppa.launchpad.net raring Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 497A0F381F691896
W: GPG error: http://ppa.launchpad.net raring Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B725097B3ACC3965
W: GPG error: http://ppa.launchpad.net raring Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 807AE9E3672921BB
W: GPG error: http://ppa.launchpad.net raring Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/enigma-1306-getdeb/apps/binary-i386/Packages 404 Not Found [IP: 141.101.116.236 80]

W: Failed to fetch http://ppa.launchpad.net/shnatsel/zram/ubuntu/dists/raring/main/source/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/shnatsel/zram/ubuntu/dists/raring/main/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.[/code]
I searched on google how to fix it, but i failed. can someone help me please?
Thank you for all!

[color=#000080][i]¿Raring?.. Netrunner 13.12 is based on Saucy :dodgy:

The solution is simple, write the key in the terminal we typing the last 8 characters of the key that has given us the error:[/i][/color]

[size=medium]PUBKEY=432BB368[/size]

[color=#000080]We export the key, copy and paste the following:[/color]

[size=medium]gpg --keyserver subkeys.pgp.net --recv-key $PUBKEY && gpg -a --export $PUBKEY | sudo apt-key add –[/size]

[color=#000080]And then update it:[/color]

[size=medium]sudo apt-get update[/size]

[color=#000080]I have to do it separately for each key …But there are many![/color] :huh:

You’re right, saucy. i’ve confused the session.
The code, that you have written, gave me this error: (for example)

$ gpg --keyserver subkeys.pgp.net --recv-key $1F691896 && gpg -a --export $1F691896 | sudo apt-key add -- gpg: "F691896" not a key ID: skipping
Thank you for your attention!

[color=#000080]Remember … are the last eight (8) characters displayed, the sequence is by example:[/color]

[size=medium]PUBKEY=12345678[/size]

[color=#000080]Then no occasion to modify anything, write this command in the terminal (copy/paste):[/color]

[size=medium]gpg --keyserver subkeys.pgp.net --recv-key $PUBKEY && gpg -a --export $PUBKEY | sudo apt-key add –[/size]

[color=#000080]And then update it:[/color]

[size=medium]sudo apt-get update[/size]

[color=#000080]Then you can install the package[/color] :shy:

How did you add the ppa ? If you use the software sources tool to add this ppa (btw. why do you need that ppa anyways ?) it automatically download the gpg key and adds it to the system.
One easy solution so would be removing the ppa and readding it with the software sources tool.

Ghermain, i’ve tried, but nothing happened.
Here is the solution:
Since this command gave me:

$ sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 432BB368 [sudo] password: gpg: WARNING: unsafe ownership on configuration file `/home/roberto/.gnupg/gpg.conf' gpg: external program calls are disabled due to unsafe options file permissions gpg: keyserver communications error: general error gpg: keyserver receive failed: general error
i made:

sudo chown myusername:myusername ~/.gnupg chmod 700 ~/.gnupg chmod 600 ~/.gnupg/*
And after:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com CBDFA02B432BB368 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 497A0F381F691896 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B725097B3ACC3965 sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 807AE9E3672921BB sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C2518248EEA14886
The key error is solved now. For the ppa problems:

$ ls -1 /etc/apt/sources.list.d/ sudo rm /etc/apt/sources.list.d/getdeb.list sudo rm /etc/apt/sources.list.d/shnatsel-zram-raring.list
Finally

sudo apt-get update

Thank you for all! I hope this solution will be important for someone else.

[color=#000080]Surely if.
Thanks for taking the time to share and comment.
I’m glad this community take the right course of cooperation and mutual aid.
[/color] :wink: