Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I created a package and uploaded it to my PPA. After it got built, I went to install it, but was faced with this message:

******@******-laptop:~$ sudo apt-get install stackapplet
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  stackapplet
0 upgraded, 1 newly installed, 0 to remove and 31 not upgraded.
Need to get 17.7kB of archives.
After this operation, 106kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  stackapplet
Install these packages without verification [y/N]?

My question is... why is it warning me about the packages not being verified? And how can I fix this?

share|improve this question
add comment

1 Answer 1

up vote 12 down vote accepted

Most likely this is caused by a missing PGP key in your APT keyring. You can add the key with the following command:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3

Of course you need to replace the key with your PPA key.

Also, the following command will add the key automatically:

sudo add-apt-repository ppa:user/ppa-name

After adding the key, you need to run apt-get update to download and verify the signature.

share|improve this answer
1  
+1, BTW the exact command to add your ppa is shown right on the PPA web page. –  Alvin Row Aug 3 '10 at 20:34
    
Perfect! One small little issue - the repository isn't showing up in the "Ubuntu Software Center". –  Nathan Osman Aug 3 '10 at 20:39
    
@Pynt: I don't see it anywhere on the page... –  Nathan Osman Aug 3 '10 at 20:40
    
@George: It's right there in bold edge.launchpad.net/~george-edison55/+archive/george-edison –  Alvin Row Aug 3 '10 at 20:54
    
@Pynt: All I see is the lines to add to your /etc/apt/sources.list file. I don't see any commands. –  Nathan Osman Aug 3 '10 at 20:56
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.