[GH-ISSUE #289] gpg: keyserver receive failed: No name #243

Closed
opened 2026-02-26 04:30:50 +03:00 by kerem · 16 comments
Owner

Originally created by @synv-09 on GitHub (Jun 28, 2021).
Original GitHub issue: https://github.com/LionSec/katoolin/issues/289

i'm trying to install katoolin3 on ubuntu 20.04 but i get the following error
root@sy:/home/synv/katoolin3# ./install.sh
Executing: /tmp/apt-key-gpghome.1W0b3PytX0/gpg.1.sh -qq --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6
gpg: keyserver receive failed: No name
Executing: /tmp/apt-key-gpghome.j54UFnCqaJ/gpg.1.sh -qq --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys ED444FF07D8D0BF6
gpg: keyserver receive failed: No name
This may be a server issue. Please try again later

please help me fix that, thanks everyone.

Originally created by @synv-09 on GitHub (Jun 28, 2021). Original GitHub issue: https://github.com/LionSec/katoolin/issues/289 i'm trying to install katoolin3 on ubuntu 20.04 but i get the following error root@sy:/home/synv/katoolin3# ./install.sh Executing: /tmp/apt-key-gpghome.1W0b3PytX0/gpg.1.sh -qq --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6 gpg: keyserver receive failed: No name Executing: /tmp/apt-key-gpghome.j54UFnCqaJ/gpg.1.sh -qq --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys ED444FF07D8D0BF6 gpg: keyserver receive failed: No name This may be a server issue. Please try again later please help me fix that, thanks everyone.
kerem closed this issue 2026-02-26 04:30:50 +03:00
Author
Owner

@IvanNULP commented on GitHub (Jun 30, 2021):

The same problem... Can somebody help us?

<!-- gh-comment-id:871276423 --> @IvanNULP commented on GitHub (Jun 30, 2021): The same problem... Can somebody help us?
Author
Owner

@xstp commented on GitHub (Jul 3, 2021):

Try the following command:
% wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add

if this succeeds, comment out the following line in Katoolin.py

cmd1 = os.system("apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6")

This workaround works for the Python3 fork as well if applied to this line:

<!-- gh-comment-id:873393051 --> @xstp commented on GitHub (Jul 3, 2021): Try the following command: `% wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add` if this succeeds, comment out the following line in Katoolin.py `cmd1 = os.system("apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6")` This workaround works for the Python3 fork as well if applied to this line: - https://github.com/s-h-3-l-l/katoolin3/blob/91670e6a2660041fd15aa64782cfa98a15044a3a/install.sh#L22
Author
Owner

@orangeullr commented on GitHub (Jul 3, 2021):

would it be a good idea to replace the os.system() command with
(wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add)
cmd1 = os.system("apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6")
so that
cmd1 = os.system("wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add")

I tested it in the python 2.7.x interpreter on xubuntu xfce 18.04 and was able to get a return code of 0 and an stdout of "OK"

<!-- gh-comment-id:873454298 --> @orangeullr commented on GitHub (Jul 3, 2021): would it be a good idea to replace the os.system() command with (wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add) cmd1 = os.system("apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6") so that cmd1 = os.system("wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add") I tested it in the python 2.7.x interpreter on xubuntu xfce 18.04 and was able to get a return code of 0 and an stdout of "OK"
Author
Owner

@xstp commented on GitHub (Jul 4, 2021):

Yes. Don't forget to also update the package lists.

<!-- gh-comment-id:873552706 --> @xstp commented on GitHub (Jul 4, 2021): Yes. Don't forget to also update the package lists.
Author
Owner

@chuck1497 commented on GitHub (Jul 4, 2021):

Who's this

<!-- gh-comment-id:873552910 --> @chuck1497 commented on GitHub (Jul 4, 2021): Who's this
Author
Owner

@FlubOtic commented on GitHub (Jul 22, 2021):

I'm having the same problem. I don't want to manually download each tool, someone fix it plz :(

<!-- gh-comment-id:884674013 --> @FlubOtic commented on GitHub (Jul 22, 2021): I'm having the same problem. I don't want to manually download each tool, someone fix it plz :(
Author
Owner

@cclliu9333 commented on GitHub (Aug 11, 2021):

would it be a good idea to replace the os.system() command with
(wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add)
cmd1 = os.system("apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6")
so that
cmd1 = os.system("wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add")

I tested it in the python 2.7.x interpreter on xubuntu xfce 18.04 and was able to get a return code of 0 and an stdout of "OK"

I have the following error running the above.

quote:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
E: This command can only be used by root.
unquote:

what should I do?

<!-- gh-comment-id:896845933 --> @cclliu9333 commented on GitHub (Aug 11, 2021): > would it be a good idea to replace the os.system() command with > (wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add) > cmd1 = os.system("apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6") > so that > cmd1 = os.system("wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add") > > I tested it in the python 2.7.x interpreter on xubuntu xfce 18.04 and was able to get a return code of 0 and an stdout of "OK" I have the following error running the above. quote: Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). E: This command can only be used by root. unquote: what should I do?
Author
Owner

@shift-tab commented on GitHub (Sep 29, 2021):

After this command succeeds:
sudo wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add

open up "install.sh" located in the Katoolin folder using a text editor (sudo vi install.sh) and comment out (add #) the line that begins with:
apt-key adv -qq

Then again try running sudo ./install.sh. Katoolin install should succeed.

<!-- gh-comment-id:930225068 --> @shift-tab commented on GitHub (Sep 29, 2021): After this command succeeds: ```sudo wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add``` open up "install.sh" located in the Katoolin folder using a text editor (sudo vi install.sh) and comment out (add #) the line that begins with: ```apt-key adv -qq``` Then again try running ```sudo ./install.sh```. Katoolin install should succeed.
Author
Owner

@AkamiKuran commented on GitHub (Oct 8, 2021):

sudo wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add
This failed and here is the error message:
gpg: no valid OpenPGP data found.

<!-- gh-comment-id:938833488 --> @AkamiKuran commented on GitHub (Oct 8, 2021): sudo wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add This failed and here is the error message: gpg: no valid OpenPGP data found.
Author
Owner

@eaglegoboom commented on GitHub (Nov 10, 2021):

yep same issue, cant update, upgrade nothing with that no valid OpenPGP data

<!-- gh-comment-id:965818412 --> @eaglegoboom commented on GitHub (Nov 10, 2021): yep same issue, cant update, upgrade nothing with that no valid OpenPGP data
Author
Owner

@Sentaku67 commented on GitHub (Jan 8, 2022):

Use this line :
sudo wget -q -O - https://archive.kali.org/archive-key.asc | gpg --dearmor | sudo apt-key add
instead of :
sudo wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add

After this command succeeds: sudo wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add

open up "install.sh" located in the Katoolin folder using a text editor (sudo vi install.sh) and comment out (add #) the line that begins with:

<!-- gh-comment-id:1007852623 --> @Sentaku67 commented on GitHub (Jan 8, 2022): Use this line : `sudo wget -q -O - https://archive.kali.org/archive-key.asc | gpg --dearmor | sudo apt-key add` instead of : `sudo wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add` > After this command succeeds: `sudo wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add` > > open up "install.sh" located in the Katoolin folder using a text editor (sudo vi install.sh) and comment out (add #) the line that begins with:
Author
Owner

@kalistamp commented on GitHub (Feb 21, 2022):

I'm having the same problem. I don't want to manually download each tool, someone fix it plz :(

Hey Could i ask you a Favor, Could you briefly explain how i would possibly download the tools manually as i only need a few of them and i am also recieving the errror after running "sudo ./install.sh"

" gpg: keyserver receive failed: Server indicated a failure
This may be a server issue. Please try again later "

<!-- gh-comment-id:1047216584 --> @kalistamp commented on GitHub (Feb 21, 2022): > I'm having the same problem. I don't want to manually download each tool, someone fix it plz :( Hey Could i ask you a Favor, Could you briefly explain how i would possibly download the tools manually as i only need a few of them and i am also recieving the errror after running "sudo ./install.sh" " gpg: keyserver receive failed: Server indicated a failure This may be a server issue. Please try again later "
Author
Owner

@Daniel-Pms commented on GitHub (Mar 5, 2022):

Am i the only one who does not see a file called installed.sh ???

<!-- gh-comment-id:1059628949 --> @Daniel-Pms commented on GitHub (Mar 5, 2022): Am i the only one who does not see a file called installed.sh ???
Author
Owner

@dragoscosma commented on GitHub (Mar 5, 2022):

for katoolin3 do this and it will work:

  • open install.sh
  • edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later";
  • now go to the terminal and run this: chmod +x ./install.ch
  • and finally run: sudo ./install.sh
<!-- gh-comment-id:1059843490 --> @dragoscosma commented on GitHub (Mar 5, 2022): for katoolin3 do this and it will work: - open install.sh - edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later"; - now go to the terminal and run this: chmod +x ./install.ch - and finally run: sudo ./install.sh
Author
Owner

@Lupupam commented on GitHub (Aug 24, 2022):

many thanks dragoscosma......definetlyworks,,,bravo

<!-- gh-comment-id:1226155376 --> @Lupupam commented on GitHub (Aug 24, 2022): many thanks dragoscosma......definetlyworks,,,bravo
Author
Owner

@onsleji commented on GitHub (Aug 31, 2022):

for katoolin3 do this and it will work:

  • open install.sh
  • edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later";
  • now go to the terminal and run this: chmod +x ./install.ch
  • and finally run: sudo ./install.sh

Great Help!!!

<!-- gh-comment-id:1233223262 --> @onsleji commented on GitHub (Aug 31, 2022): > for katoolin3 do this and it will work: > > * open install.sh > * edit the line starting with: apt-key and paste this: apt-key adv -qq --keyserver keyserver.ubuntu.com --recv-keys ED444FF07D8D0BF6 || apt-key adv -qq --keyserver hkp://keyservers.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6 || die "This may be a server issue. Please try again later"; > * now go to the terminal and run this: chmod +x ./install.ch > * and finally run: sudo ./install.sh Great Help!!!
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/katoolin-LionSec#243
No description provided.