No PUB_KEY- Solved
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
No PUB_KEY- Solved
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
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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: No PUB_KEY
To update a key missing in apt-get type the following in Terminal: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
Code: Select all
sudo apt-key adv --recv-key --keyserver keyserver.linuxmint.com “missing key number”
Code: Select all
gpg --export --armor "Missing Key Number"| sudo apt-key add -
Then you are ready for
Code: Select all
sudo apt-get update
Code: Select all
sudo apt-get dist-upgrade
Re: No PUB_KEY
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
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
Re: No PUB_KEY
Perhaps it is the host part (Linuxmint.com) Try this, then the second part from the previous.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
Code: Select all
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 3EE67F3D0FF405B2
Re: No PUB_KEY
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:~$
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:~$
Re: No PUB_KEY
Did we cross in the mail? My last post changed the host name to ubuntu.com.
Re: No PUB_KEY
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.hhoyt wrote:THANK YOU !!!
Ubuntu did the trick.
THANKS SO MUCH,
Howard
Re: No PUB_KEY
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.
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.
- Larry78723
- Level 14
- Posts: 5464
- Joined: Wed Jan 09, 2019 7:01 pm
- Location: Jasper County, SC, USA
Re: No PUB_KEY- Solved
xavierbaez, please start a new thread of your own and be as specific as possible about your problem.
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.