Page 1 of 1

[Solved] Could not refresh the list of updates - NO_PUBKEY 6494C6D6997C215E

Posted: Fri Aug 04, 2017 4:34 pm
by Aily
My update manager tells me that it "could not refresh the list of updates". I tried to solve it by doing like in this post viewtopic.php?t=231516#p1226233
When I update the cache I get this message. If I just close it and try and update my update manager, I get the same message.

Code: Select all

W: GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215E
W: The repository 'http://dl.google.com/linux/chrome/deb stable Release' is not signed.
I guess it has something to do with google chrome and uninstall it only to continue to have the same message. When I search for chrome files I get over 700 hits and many of them are locked folders simply called 'chrome'.

I have know idea what this means and what to do about it.

Could someone please help me solve this and maybe make me understand what happened?

Thank you!

Re: Could not refresh the list of updates

Posted: Fri Aug 04, 2017 5:01 pm
by larsone
I'm seeing the same thing. (I installed google chrome via that repo)
As for what happened, it's tough to say. Perhaps their key expired.

Re: Could not refresh the list of updates

Posted: Fri Aug 04, 2017 5:10 pm
by turtlebay
Open a Terminal and copy and paste this into it,

Code: Select all

sudo apt update
Enter your password (It won't look as though anything is typing) and press Enter.

When it's finished, close the terminal (press the X or input Exit).

Then retry your Update Manager.

Should be refreshed now.

Re: Could not refresh the list of updates

Posted: Fri Aug 04, 2017 5:20 pm
by Aily
turtlebay wrote:Open a Terminal and copy and paste this into it,

Code: Select all

sudo apt update
Enter your password (It won't look as though anything is typing) and press Enter.

When it's finished, close the terminal (press the X or input Exit).

Then retry your Update Manager.

Should be refreshed now.
Thank you for answering, but I still get the same error, this time in the terminal window though. :?

Re: Could not refresh the list of updates

Posted: Fri Aug 04, 2017 5:25 pm
by Neil Edmond
Do you have an active internet connection? Or is it just the google repo that is not available?

Re: Could not refresh the list of updates

Posted: Fri Aug 04, 2017 5:37 pm
by JeremyB
Try

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
Then refresh the list of updates or do

Code: Select all

sudo apt-get update
It can also be fixed with

Code: Select all

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Re: Could not refresh the list of updates

Posted: Fri Aug 04, 2017 6:00 pm
by SLinovitz
@JeremyB
Works perfectly, thanks.

Re: Could not refresh the list of updates

Posted: Fri Aug 04, 2017 6:50 pm
by Aily
JeremyB wrote:Try

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
Then refresh the list of updates or do

Code: Select all

sudo apt-get update
It can also be fixed with

Code: Select all

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
Thank you! It worked like a charm. :D

Re: Could not refresh the list of updates

Posted: Fri Aug 04, 2017 6:51 pm
by MarkR61
JeremyB wrote:Try

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
I had the same problem today and this fixed it for me. Thank you very much, JeremyB!

Re: Could not refresh the list of updates

Posted: Fri Aug 04, 2017 7:39 pm
by felemur
JeremyB wrote:Try

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
Then refresh the list of updates or do

Code: Select all

sudo apt-get update
It can also be fixed with

Code: Select all

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Thanks for that, I had the same issue today, and the

Code: Select all

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
[/b] worked for me.

Re: [Solved] Could not refresh the list of updates

Posted: Sat Aug 05, 2017 8:53 am
by mwbworld
Perfect. I was having the problem and was about to post about - but naturally looked first and found you ever awesome folks had the solution!

Thanks!

Re: [Solved] Could not refresh the list of updates

Posted: Sun Aug 06, 2017 10:49 am
by powerwagon75
Thank you, Jeremy!!

Re: [Solved] Could not refresh the list of updates

Posted: Sun Aug 06, 2017 2:58 pm
by majpooper
This solved my Google Chrome issue but I am still have the same problem with OpenVpn.

I am in the process of researching how to update the authentication key but so far no luck.

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://build.openvpn.net/debian/openvpn/stable xenial Release: The following signatures were invalid: KEYEXPIRED 1501828379 KEYEXPIRED 1501828379 KEYEXPIRED 1501828379
W: Failed to fetch http://build.openvpn.net/debian/openvpn ... elease.gpg The following signatures were invalid: KEYEXPIRED 1501828379 KEYEXPIRED 1501828379 KEYEXPIRED 1501828379
W: Some index files failed to download. They have been ignored, or old ones used instead.

Re: [Solved] Could not refresh the list of updates

Posted: Sun Aug 06, 2017 7:23 pm
by peterldg
I'm going to ask a very critical question about this solution.

what does the command do:

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6494C6D6997C215E
Why do I need to update the keys on this app?

Are you part of a nationally sponsored intelligence system?

Re: [Solved] Could not refresh the list of updates

Posted: Sun Aug 06, 2017 7:31 pm
by JeremyB
Google Chrome had their key expire. It is that simple and I don't work for any intelligence agency so you can remove the tinfoil hat.

Re: [Solved] Could not refresh the list of updates

Posted: Sun Aug 06, 2017 8:14 pm
by majpooper
JeremyB wrote:Google Chrome had their key expire. It is that simple and I don't work for any intelligence agency so you can remove the tinfoil hat.
It also seems as if the OpenVPN authentication key has expired - any guidance as to how to update it will be appreciated.

Re: [Solved] Could not refresh the list of updates

Posted: Sun Aug 06, 2017 8:43 pm
by peterldg
Please direct us to Chrome documentation that provides the updated key and the expiration notice.

Tin Foil Suit: ON
All Systems Reporting: Nominal
System Check Complete: Success
Paranoia Level: 10.9

Re: [Solved] Could not refresh the list of updates

Posted: Mon Aug 07, 2017 2:10 am
by phd21
Hi "majpooper", & Anyone Else getting the OpenVPN and Google Expired keys,

I.) FYI: Google Chrome Linux information link
https://www.google.com/linuxrepositories/

II.) To Update or fix the OpenVPN expired key, open a console terminal prompt, and copy and paste each line below one at a time. Info came from link below.
https://community.openvpn.net/openvpn/w ... twareRepos

Code: Select all

sudo wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg|apt-key add -
OR

Code: Select all

sudo -s

Code: Select all

wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg|apt-key add -

Code: Select all

exit
Then, do an update

Code: Select all

sudo apt-get update

Hope this helps ...

Re: [Solved] Could not refresh the list of updates

Posted: Mon Aug 07, 2017 9:43 am
by majpooper
THX much

I tried reinstalling OpenVPN and used the commands you show from the OpenVPN site with no joy.

However I found the solution below and it fixed it rooting around - sorry I did not bookmark or copy the URL but it was a Linix Mint site . . . . ? ? ? ? ?

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com `sudo apt update 2>&1 | grep -o '[0-9A-Z]\{16\}$' | xargs`

Re: [Solved] Could not refresh the list of updates

Posted: Mon Aug 07, 2017 10:48 am
by phd21
Hi "majpooper",

You are welcome...

Those instructions I gave were for updating the "openVPN" security key to stop getting messages when updating your software sources in the Mint Update Manager or from the console terminal command line (sudo apt-get update), not for installing or updating their "openVPN" software. Your command in your last reply is not from the developers of the "openVPN" software.

After running the commands I gave before, If you still were getting messages, then run the command below to remove their expired key.

Code: Select all

sudo apt-key del E158C569
For instructions on installing a current version of "openVPN" software, or updating it, which is a great thing to do if you use VPN's, see the link below because their instructions from the web link I provided are a little cryptic.

Is it possible to install the latest openvpn on 17.3 without breaking everything[SOLVED]
viewtopic.php?f=157&t=242583&hilit=openvpn

Hope this helps ...