11

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:

$ 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]?

Why is it warning me about the packages not being verified?

1 Answer 1

14

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.

6
  • 1
    +1, BTW the exact command to add your ppa is shown right on the PPA web page.
    – Isaiah
    Commented Aug 3, 2010 at 20:34
  • Perfect! One small little issue - the repository isn't showing up in the "Ubuntu Software Center". Commented Aug 3, 2010 at 20:39
  • @Pynt: I don't see it anywhere on the page... Commented Aug 3, 2010 at 20:40
  • @George: It's right there in bold edge.launchpad.net/~george-edison55/+archive/george-edison
    – Isaiah
    Commented Aug 3, 2010 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. Commented Aug 3, 2010 at 20:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .