Menu

#48 apt-key command fails to complete

v1.0 (example)
closed
nanotube
5
2020-02-19
2020-02-15
mdlueck
No

Greetings nanotube,

I am trying to install on Xubuntu 20.04 beta. The command to install the key fails to complete. I am using this syntax:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2667CA5C

I grabbed an strace output of the hang spot. I have attached it.

Please kindly advise.

I am thankful,
Michael Lueck

1 Attachments

Discussion

  • nanotube

    nanotube - 2020-02-17

    Hi Michael,
    Perhaps let's try it in two steps.

    1. grab key from keyserver:
      gpg --recv-keys --keyserver keyserver.ubuntu.com 0xB7B9C16F2667CA5C
    2. export it and pipe to apt-key:
      gpg --export 0xB7B9C16F2667CA5C | sudo apt-key add -

    And see if that works!
    Best,
    nanotube

     
  • mdlueck

    mdlueck - 2020-02-18

    Greetings nanotube,

    Very odd... using both your two step syntax, as well as your usual one liner... today both ways complete successfully. Synaptic is how happy with all my added repositories... including UbuntuZilla.

    I am thankful,
    Michael Lueck

     
  • nanotube

    nanotube - 2020-02-19

    Odd indeed, perhaps some intermittent issue with the keyserver or something.
    Glad it's working now, thanks for circling back to confirm! :)

     
  • nanotube

    nanotube - 2020-02-19
    • status: open --> closed
    • assigned_to: nanotube
     

Log in to post a comment.

MongoDB Logo MongoDB