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

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Aily

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

Post 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!
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.
larsone

Re: Could not refresh the list of updates

Post 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.
turtlebay

Re: Could not refresh the list of updates

Post 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.
Aily

Re: Could not refresh the list of updates

Post 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. :?
Neil Edmond
Level 6
Level 6
Posts: 1347
Joined: Thu Dec 26, 2013 10:19 am
Location: N.E. AR USA

Re: Could not refresh the list of updates

Post by Neil Edmond »

Do you have an active internet connection? Or is it just the google repo that is not available?
JeremyB
Level 21
Level 21
Posts: 13841
Joined: Fri Feb 21, 2014 8:17 am

Re: Could not refresh the list of updates

Post 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 -
SLinovitz

Re: Could not refresh the list of updates

Post by SLinovitz »

@JeremyB
Works perfectly, thanks.
Aily

Re: Could not refresh the list of updates

Post 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
Last edited by Aily on Fri Aug 04, 2017 7:14 pm, edited 1 time in total.
MarkR61

Re: Could not refresh the list of updates

Post 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!
User avatar
felemur
Level 5
Level 5
Posts: 537
Joined: Sun Sep 20, 2015 2:22 pm
Location: In the middle of 1000's of acres of corn & soy fields in a house full of cats.

Re: Could not refresh the list of updates

Post 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.
mwbworld

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

Post 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!
User avatar
powerwagon75
Level 4
Level 4
Posts: 338
Joined: Sun Feb 28, 2016 4:05 pm
Location: USA

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

Post by powerwagon75 »

Thank you, Jeremy!!
Image
Custom Antec Outside tower w/Mint 20.2
HP lap w/Mint 20.3
Optiplex 960 "Frankenbox" w/Fedora 39/Mint 19.2/Mint 20.2
Advantech TPC-1551T w/LinuxLite
Acer C720 Chromebook w/GalliumOS
Mac PPC G4 w/Lubuntu
User avatar
majpooper
Level 8
Level 8
Posts: 2084
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

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

Post 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.
peterldg

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

Post 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?
JeremyB
Level 21
Level 21
Posts: 13841
Joined: Fri Feb 21, 2014 8:17 am

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

Post 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.
User avatar
majpooper
Level 8
Level 8
Posts: 2084
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

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

Post 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.
peterldg

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

Post 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
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Post 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 ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
User avatar
majpooper
Level 8
Level 8
Posts: 2084
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

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

Post 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`
phd21
Level 20
Level 20
Posts: 10104
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

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

Post 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 ...
Phd21: Mint 20 Cinnamon & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 (7573, quad core i5-8250U ) 2 in 1 touch screen
Locked

Return to “Software & Applications”