No PUB_KEY- Solved

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
hhoyt
Level 1
Level 1
Posts: 41
Joined: Wed May 06, 2009 9:23 am

No PUB_KEY- Solved

Post by hhoyt » Tue Dec 08, 2009 7:08 pm

Can anyone help me with this.
Seems to have occured after using command line upgrade to Mint 8.
One of my wine apps quit after upgrade to 8 but I cannot upgrade Wine.


W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://packages.linuxmint.com helena Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3EE67F3D0FF405B2

W: Failed to fetch http://packages.linuxmint.com/dists/helena/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.

Sorry, I just do not understand what i am supposed to do ?

Tks, Howard
Last edited by hhoyt on Fri Sep 17, 2010 8:29 pm, edited 1 time in total.

User avatar
bobcollard
Level 5
Level 5
Posts: 709
Joined: Thu Oct 22, 2009 4:44 pm
Location: Springfield, IL

Re: No PUB_KEY

Post by bobcollard » Tue Dec 08, 2009 10:44 pm

hhoyt wrote:Can anyone help me with this.
Seems to have occured after using command line upgrade to Mint 8.
One of my wine apps quit after upgrade to 8 but I cannot upgrade Wine.


W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://packages.linuxmint.com helena Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3EE67F3D0FF405B2

W: Failed to fetch http://packages.linuxmint.com/dists/helena/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.

Sorry, I just do not understand what i am supposed to do ?

Tks, Howard
To update a key missing in apt-get type the following in Terminal:

Code: Select all

sudo apt-key adv --recv-key --keyserver keyserver.linuxmint.com “missing key number” 
Where "Missing key number" is 3EE67F3D0FF405B2 in this case. (Leave out the Quotation marks) Then you need another line:

Code: Select all

gpg --export --armor "Missing Key Number"| sudo apt-key add -
Make sure the hyphen is on the end of this line or it won't work.
Then you are ready for

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get dist-upgrade
and it should finish for you. Hope this helps.
Robert Collard, Springfield, IL
Dell Inspiron 1545 Laptop, Intel Duo T3400 CPUs @2.16 Ghz. 4GB RAM
Linux Mint Debian Edition, Xfce 4.6.2 Desktop, 2.6.37-0.dmz.6-liquorix-amd64

hhoyt
Level 1
Level 1
Posts: 41
Joined: Wed May 06, 2009 9:23 am

Re: No PUB_KEY

Post by hhoyt » Wed Dec 09, 2009 9:44 am

Thanks Robert !
I seem to be doing something wrong:
sudo apt-key adv --recv-key --keyserver keyserver.linuxmint.com 3EE67F3D0FF405B2

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --recv-key --keyserver keyserver.linuxmint.com 3EE67F3D0FF405B2
PRODUCES:
gpgkeys: HTTP fetch error 7: couldn't connect to host

User avatar
bobcollard
Level 5
Level 5
Posts: 709
Joined: Thu Oct 22, 2009 4:44 pm
Location: Springfield, IL

Re: No PUB_KEY

Post by bobcollard » Wed Dec 09, 2009 9:58 am

hhoyt wrote:Thanks Robert !
I seem to be doing something wrong:
sudo apt-key adv --recv-key --keyserver keyserver.linuxmint.com 3EE67F3D0FF405B2

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --recv-key --keyserver keyserver.linuxmint.com 3EE67F3D0FF405B2
PRODUCES:
gpgkeys: HTTP fetch error 7: couldn't connect to host
Perhaps it is the host part (Linuxmint.com) Try this, then the second part from the previous.

Code: Select all

sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 3EE67F3D0FF405B2 
Robert Collard, Springfield, IL
Dell Inspiron 1545 Laptop, Intel Duo T3400 CPUs @2.16 Ghz. 4GB RAM
Linux Mint Debian Edition, Xfce 4.6.2 Desktop, 2.6.37-0.dmz.6-liquorix-amd64

hhoyt
Level 1
Level 1
Posts: 41
Joined: Wed May 06, 2009 9:23 am

Re: No PUB_KEY

Post by hhoyt » Wed Dec 09, 2009 10:34 am

maybe this helps ?
n4af@ny4a-b:~$ sudo apt-get update && apt-get install wine
Ign http://www.geekconnection.org ubuntu/ Release.gpg
Ign http://www.geekconnection.org ubuntu/ Translation-en_US
Hit http://download.virtualbox.org karmic Release.gpg
Hit http://security.ubuntu.com karmic-security Release.gpg
Ign http://security.ubuntu.com karmic-security/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Get:1 http://packages.linuxmint.com helena Release.gpg [198B]
Hit http://archive.ubuntu.com karmic Release.gpg
Ign http://archive.ubuntu.com karmic/main Translation-en_US
Ign http://www.geekconnection.org ubuntu/ Release
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://security.ubuntu.com karmic-security/universe Translation-en_US
Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_US
Hit http://security.ubuntu.com karmic-security Release
Hit http://ppa.launchpad.net karmic Release
Ign http://packages.linuxmint.com helena/main Translation-en_US
Ign http://packages.linuxmint.com helena/upstream Translation-en_US
Ign http://packages.linuxmint.com helena/import Translation-en_US
Ign http://archive.ubuntu.com karmic/restricted Translation-en_US
Ign http://archive.ubuntu.com karmic/universe Translation-en_US
Ign http://archive.ubuntu.com karmic/multiverse Translation-en_US
Hit http://archive.ubuntu.com karmic-updates Release.gpg
Ign http://archive.ubuntu.com karmic-updates/main Translation-en_US
Ign http://archive.ubuntu.com karmic-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com karmic-updates/universe Translation-en_US
Ign http://archive.ubuntu.com karmic-updates/multiverse Translation-en_US
Ign http://www.geekconnection.org ubuntu/ Packages
Ign http://download.virtualbox.org karmic/non-free Translation-en_US
Hit http://archive.ubuntu.com karmic Release
Hit http://security.ubuntu.com karmic-security/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Get:2 http://packages.linuxmint.com helena Release [7,251B]
Ign http://www.geekconnection.org ubuntu/ Packages
Hit http://archive.ubuntu.com karmic-updates Release
Hit http://download.virtualbox.org karmic Release
Hit http://security.ubuntu.com karmic-security/restricted Packages
Hit http://security.ubuntu.com karmic-security/universe Packages
Hit http://security.ubuntu.com karmic-security/multiverse Packages
Hit http://www.geekconnection.org ubuntu/ Packages
Err http://packages.linuxmint.com helena Release <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Hit http://archive.ubuntu.com karmic/main Packages
Hit http://archive.ubuntu.com karmic/restricted Packages
Hit http://archive.ubuntu.com karmic/universe Packages
Hit http://archive.ubuntu.com karmic/multiverse Packages
Hit http://download.virtualbox.org karmic/non-free Packages
Hit http://archive.ubuntu.com karmic-updates/main Packages
Hit http://archive.ubuntu.com karmic-updates/restricted Packages
Hit http://archive.ubuntu.com karmic-updates/universe Packages
Hit http://archive.ubuntu.com karmic-updates/multiverse Packages
Fetched 7,449B in 1s (4,426B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://packages.linuxmint.com helena Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3EE67F3D0FF405B2

W: Failed to fetch http://packages.linuxmint.com/dists/helena/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
n4af@ny4a-b:~$

User avatar
bobcollard
Level 5
Level 5
Posts: 709
Joined: Thu Oct 22, 2009 4:44 pm
Location: Springfield, IL

Re: No PUB_KEY

Post by bobcollard » Wed Dec 09, 2009 10:47 am

Did we cross in the mail? My last post changed the host name to ubuntu.com.
Robert Collard, Springfield, IL
Dell Inspiron 1545 Laptop, Intel Duo T3400 CPUs @2.16 Ghz. 4GB RAM
Linux Mint Debian Edition, Xfce 4.6.2 Desktop, 2.6.37-0.dmz.6-liquorix-amd64

hhoyt
Level 1
Level 1
Posts: 41
Joined: Wed May 06, 2009 9:23 am

Re: No PUB_KEY

Post by hhoyt » Wed Dec 09, 2009 7:18 pm

THANK YOU !!!
Ubuntu did the trick.

THANKS SO MUCH,

Howard

User avatar
bobcollard
Level 5
Level 5
Posts: 709
Joined: Thu Oct 22, 2009 4:44 pm
Location: Springfield, IL

Re: No PUB_KEY

Post by bobcollard » Wed Dec 09, 2009 11:16 pm

hhoyt wrote:THANK YOU !!!
Ubuntu did the trick.

THANKS SO MUCH,

Howard
Great, one more thing before I leave you. If you would, please, go to your original post on the top of this page, then, Edit it and add <Solved> to the "No PUB_KEY" in the Topic line. It will tell others something has worked, then they can choose to read it or pass it by. Thanks.
Robert Collard, Springfield, IL
Dell Inspiron 1545 Laptop, Intel Duo T3400 CPUs @2.16 Ghz. 4GB RAM
Linux Mint Debian Edition, Xfce 4.6.2 Desktop, 2.6.37-0.dmz.6-liquorix-amd64

whittaker007
Level 1
Level 1
Posts: 2
Joined: Sat Mar 13, 2010 11:40 pm

Re: No PUB_KEY

Post by whittaker007 » Sun Mar 14, 2010 12:44 am

Hi guys, I know this is an old thread but I'd just like to say this fixed it for me too.

Actually my original error was a BADSIG invalid signature error, which I tried to fix by opening Synapric Package Manager and deleting the bad signature from the list of package sources. That just turned the BADSIG error into the No PUB_KEY error listed here.

So anyone who has my BADSIG problem can probably fix it the same way, or maybe even just apply the solution here without deleting the key first, I don't know. But this topic should be marked fixed as it certainly helped me where some other threads did not. :D

Post Reply

Return to “Newbie Questions”