old deprecated gpg key and PPA

Asked by Ritesh Raj Sarraf

So I didn't realize that I had signed the CoC with the old key that I deprecated long back. I created a PPA today, and it got created with the old key. Now, when I add the PPA, I get the following error.

What I need to know is how I can update the key for my PPA with the new one? I ask this because I do not want to lose the PPA name.

rrs@zan:~/devel/Laptop-Mode-Tools/laptop-mode-tools (ubuntu)$ sudo add-apt-repository ppa:rrs/laptop-mode-tools
You are about to add the following PPA to your system:
 PPA for Laptop Mode Tools

This PPA is created for the latest and greatest version of Laptop Mode Tools. Please note that this PPA also ships a modified version of pm-utils, where all overlapping features have been removed from the pm-utils package.
So if you run into power related problems, do not just file a bug report on Launchpad. Investigate first.

Use at your own risk.
 More info: https://launchpad.net/~rrs/+archive/laptop-mode-tools
Press [ENTER] to continue or ctrl-c to cancel adding it

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.2/threading.py", line 740, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 141, in run
    self.add_ppa_signing_key(self.ppa_path)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 223, in add_ppa_signing_key
    tmp_keyring, tmp_secret_keyring, signing_key_fingerprint, tmp_keyring_dir):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 145, in _recv_key
    if not verify_keyid_is_v4(signing_key_fingerprint):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 126, in verify_keyid_is_v4
    return len(signing_key_fingerprint) >= 160/8
TypeError: object of type 'NoneType' has no len()

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
William Grant
Solved:
Last query:
Last reply:
Revision history for this message
Best William Grant (wgrant) said :
#1

Launchpad doesn't have your private key, so it generates its own key with which to sign your PPAs. It can take a few minutes for that key to be generated, and it looks like you tried to add the PPA before that happened. If you try again now it should work.

Revision history for this message
Ritesh Raj Sarraf (rrs) said :
#4

Thanks William Grant, that solved my question.