Can't find/add gpg keys to mint's repositories.

Questions about applications and software
Forum rules
Before you post please read this

Can't find/add gpg keys to mint's repositories.

Postby Vimk on Tue Apr 07, 2009 6:14 pm

While trying to add the XBMC repository to apt I somehow managed to remove all of the GPG keys for my existing repositories. I know I need to add the public keys with 'sudo apt-key add' but can't seem to find the keys anywhere. As a side effect I can't get to the repositories menu in synaptic, it just tells me the repositories have changed and I have to refresh. After each refresh it gives me the same error prompt.

Here are the results of apt-get update.
Code: Select all
vimk@vimk ~ $ sudo apt-get update
Hit http://ppa.launchpad.net intrepid Release.gpg                             
Ign http://ppa.launchpad.net intrepid/main Translation-en_US                   
Hit http://packages.medibuntu.org intrepid Release.gpg                         
Ign http://packages.medibuntu.org intrepid/free Translation-en_US             
Hit http://ppa.launchpad.net intrepid Release                                 
Ign http://packages.medibuntu.org intrepid/non-free Translation-en_US         
Hit http://packages.medibuntu.org intrepid Release                             
Ign http://ppa.launchpad.net intrepid/main Packages                           
Hit http://packages.medibuntu.org intrepid/free Packages                       
Get:1 http://archive.ubuntu.com intrepid Release.gpg [189B]                   
Ign http://archive.ubuntu.com intrepid/main Translation-en_US                 
Get:2 http://archive.canonical.com intrepid Release.gpg [189B]                 
Ign http://archive.canonical.com intrepid/partner Translation-en_US           
Hit http://packages.medibuntu.org intrepid/non-free Packages                   
Ign http://archive.ubuntu.com intrepid/restricted Translation-en_US           
Ign http://archive.ubuntu.com intrepid/universe Translation-en_US             
Ign http://archive.ubuntu.com intrepid/multiverse Translation-en_US           
Get:3 http://archive.ubuntu.com intrepid-updates Release.gpg [189B]           
Ign http://archive.ubuntu.com intrepid-updates/main Translation-en_US         
Ign http://archive.ubuntu.com intrepid-updates/restricted Translation-en_US   
Ign http://archive.ubuntu.com intrepid-updates/universe Translation-en_US     
Ign http://archive.ubuntu.com intrepid-updates/multiverse Translation-en_US   
Hit http://archive.canonical.com intrepid Release                             
Ign http://archive.canonical.com intrepid Release                             
Hit http://wine.budgetdedicated.com intrepid Release.gpg                       
Ign http://wine.budgetdedicated.com intrepid/main Translation-en_US           
Hit http://archive.ubuntu.com intrepid Release                                 
Hit http://archive.canonical.com intrepid/partner Packages                     
Ign http://archive.ubuntu.com intrepid Release                                 
Hit http://wine.budgetdedicated.com intrepid Release                           
Get:4 http://archive.ubuntu.com intrepid-updates Release [51.2kB]             
Ign http://archive.ubuntu.com intrepid-updates Release                         
Ign http://wine.budgetdedicated.com intrepid/main Packages                     
Hit http://archive.ubuntu.com intrepid/main Packages                           
Hit http://archive.ubuntu.com intrepid/restricted Packages                     
Hit http://archive.ubuntu.com intrepid/universe Packages                       
Hit http://archive.ubuntu.com intrepid/multiverse Packages                     
Hit http://wine.budgetdedicated.com intrepid/main Packages                     
Hit http://archive.ubuntu.com intrepid-updates/main Packages                   
Hit http://archive.ubuntu.com intrepid-updates/restricted Packages             
Ign http://ppa.launchpad.net intrepid/main Sources                             
Hit http://ppa.launchpad.net intrepid/main Packages                           
Hit http://archive.ubuntu.com intrepid-updates/universe Packages               
Hit http://archive.ubuntu.com intrepid-updates/multiverse Packages             
Hit http://ppa.launchpad.net intrepid/main Sources                   
Ign http://packages.linuxmint.com felicia Release.gpg                         
Ign http://packages.linuxmint.com felicia/main Translation-en_US               
Ign http://packages.linuxmint.com felicia/upstream Translation-en_US           
Ign http://packages.linuxmint.com felicia/import Translation-en_US             
Get:5 http://packages.linuxmint.com felicia Release [7869B]                   
Ign http://packages.linuxmint.com felicia/main Packages                       
Ign http://packages.linuxmint.com felicia/upstream Packages                   
Ign http://packages.linuxmint.com felicia/import Packages                     
Hit http://packages.linuxmint.com felicia/main Packages                       
Hit http://packages.linuxmint.com felicia/upstream Packages                   
Hit http://packages.linuxmint.com felicia/import Packages                     
Get:6 http://security.ubuntu.com intrepid-security Release.gpg [189B]         
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US
Ign http://security.ubuntu.com intrepid-security/restricted Translation-en_US
Ign http://security.ubuntu.com intrepid-security/universe Translation-en_US
Ign http://security.ubuntu.com intrepid-security/multiverse Translation-en_US
Get:7 http://security.ubuntu.com intrepid-security Release [51.2kB]
Ign http://security.ubuntu.com intrepid-security Release
Hit http://security.ubuntu.com intrepid-security/main Packages
Hit http://security.ubuntu.com intrepid-security/restricted Packages
Hit http://security.ubuntu.com intrepid-security/universe Packages
Hit http://security.ubuntu.com intrepid-security/multiverse Packages
Fetched 8627B in 53s (162B/s)
Reading package lists... Done
W: GPG error: http://archive.canonical.com intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: GPG error: http://archive.ubuntu.com intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: GPG error: http://archive.ubuntu.com intrepid-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: GPG error: http://security.ubuntu.com intrepid-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: You may want to run apt-get update to correct these problems


Here is my sources.list
Code: Select all
## +++ Backports & Proposed (not as stable) +++
# deb http://archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted universe multiverse

## +++ Source Repositories +++
# deb-src http://archive.ubuntu.com/ubuntu/ intrepid main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu/ intrepid-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted universe multiverse

## ------------------
## OTHER REPOSITORIES
## ------------------

## +++ Canonical (stable) +++
# deb http://archive.canonical.com/ubuntu/ intrepid partner

## +++ Medibuntu (stable) +++
# deb http://packages.medibuntu.org/ intrepid free non-free

## +++ XBMC +++
# deb http://ppa.launchpad.net/team-xbmc-intrepid/ppa/ubuntu intrepid main
# deb-src http://ppa.launchpad.net/team-xbmc-intrepid/ppa/ubuntu intrepid main


Any help you can give me is appreciated, I'm hoping it's just a matter of not being able to find the keys.

Thanks in advance.
Vimk
Level 1
Level 1
 
Posts: 8
Joined: Tue Apr 07, 2009 5:55 pm

Linux Mint is funded by ads and donations.
 

Re: Can't find/add gpg keys to mint's repositories.

Postby merlwiz79 on Tue Apr 07, 2009 6:47 pm

Linux Mint's repos doesn't have any keys.
You need to add XBMC's keys to get rid of that error.
User avatar
merlwiz79
Level 11
Level 11
 
Posts: 3637
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: Can't find/add gpg keys to mint's repositories.

Postby Vimk on Tue Apr 07, 2009 6:54 pm

Ah, I made a mistake in how I worded it. It's Ubuntu's repositories specifically. It updates XBMC's and mint's repository just fine, it's ubuntu's/canonical that's giving me issues.

Edit: The key for XBMC has already been added.
Vimk
Level 1
Level 1
 
Posts: 8
Joined: Tue Apr 07, 2009 5:55 pm

Re: Can't find/add gpg keys to mint's repositories.

Postby merlwiz79 on Tue Apr 07, 2009 7:24 pm

Weird I just ran apt update and it works fine.
Did you remove the keys?
Maybe you need to run the command apt update again?
I see the keys just fine.
http://archive.canonical.com/dists/intrepid/Release.gpg
http://archive.ubuntu.com/ubuntu/dists/ ... elease.gpg
http://archive.ubuntu.com/ubuntu/dists/ ... elease.gpg
http://security.ubuntu.com/ubuntu/dists ... elease.gpg
User avatar
merlwiz79
Level 11
Level 11
 
Posts: 3637
Joined: Wed Apr 04, 2007 1:50 pm
Location: Here again :)

Re: Can't find/add gpg keys to mint's repositories.

Postby Vimk on Tue Apr 07, 2009 7:54 pm

Trying to add the keys through 'apt-key add' gives me the error 'gpg: no valid OpenPGP data found.' Trying to open the file itself through the gui gives me 'Release: Unknown Signature. Signing key not in keyring.'

I'm considering just switching to the xfce version of mint which I had planned on doing at some point. Installing another version of mint would forgo the problem entirely.
Vimk
Level 1
Level 1
 
Posts: 8
Joined: Tue Apr 07, 2009 5:55 pm


Return to Software & Applications

Who is online

Users browsing this forum: George99 and 25 guests