[GH-ISSUE #150] gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory issue on debian #125

Open
opened 2026-02-26 04:30:34 +03:00 by kerem · 3 comments
Owner

Originally created by @ghost on GitHub (Aug 16, 2018).
Original GitHub issue: https://github.com/LionSec/katoolin/issues/150

when i run the script to add kali repo i get this error !!

What do you want to do ?> 1
Executing: /tmp/apt-key-gpghome.RMXm7dtUuk/gpg.1.sh --keyserver pgp.mit.edu --recv-keys XXXXXXXXXXXXX
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/run/user/0/gnupg/d.9w497wuo5zu7bi7jxguwpw7r/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr

Originally created by @ghost on GitHub (Aug 16, 2018). Original GitHub issue: https://github.com/LionSec/katoolin/issues/150 when i run the script to add kali repo i get this error !! What do you want to do ?> _1_ Executing: /tmp/apt-key-gpghome.RMXm7dtUuk/gpg.1.sh --keyserver pgp.mit.edu --recv-keys XXXXXXXXXXXXX gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory gpg: connecting dirmngr at '/run/user/0/gnupg/d.9w497wuo5zu7bi7jxguwpw7r/S.dirmngr' failed: No such file or directory gpg: keyserver receive failed: No dirmngr
Author
Owner

@GitHPS commented on GitHub (Sep 14, 2018):

I'got the same exact error as described by Mr-P3rry

<!-- gh-comment-id:421480353 --> @GitHPS commented on GitHub (Sep 14, 2018): I'got the same exact error as described by Mr-P3rry
Author
Owner

@rrroyal commented on GitHub (Oct 2, 2018):

sudo apt install dirmngr

<!-- gh-comment-id:426227506 --> @rrroyal commented on GitHub (Oct 2, 2018): sudo apt install dirmngr
Author
Owner

@trevor002 commented on GitHub (Oct 8, 2019):

@rrroyal thanks this is the solution and it also worked well from my end.

<!-- gh-comment-id:539525359 --> @trevor002 commented on GitHub (Oct 8, 2019): @rrroyal thanks this is the solution and it also worked well from my end.
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#125
No description provided.