Google Chrome for Linux Saying "No Public Key"


Recommended Posts

So I had a strange issue today while installing Google Chrome on a Debian machine.  I kept getting an error when manually checking for updates in the terminal with "apt-get update" telling me there was no public key for something.  I started disabling 3rd party repositories and found out the problem was coming from Google Chrome's repository.  Normally the deb file from google(dot)com/chrome automagically sets up the repository, adds the public signing key, etc. so that the end user doesn't have to do anything other than install regular system updates when they're available and Chrome will get pulled in with everything else.  In this case however, for whatever reason, the deb I downloaded today (28 April 2016, Chrome version 50.0.2661.86 (64-bit)) didn't add the signing key.  It added the repository, but without the key my system kept warning me there was no public key available for the repository.

 

If you run into this issue, Google has a page set up specifically for showing you how to manually add the public signing key for your particular package manager.  You can find it here: http://www.google.com/linuxrepositories/

 

I just wanted to share this little tidbit of info in case anybody else runs into this problem.  When the error first popped up in the terminal it didn't tell me "which" repository was having a problem, just that one of them was missing the public key, so I narrowed it down by manually disabling the repositories (removing the 3rd party files from /etc/apt/sources.list.d) until the error went away.

  • Like 3
  On 28/04/2016 at 22:18, Gerowen said:

So I had a strange issue today while installing Google Chrome on a Debian machine.  I kept getting an error when manually checking for updates in the terminal with "apt-get update" telling me there was no public key for something.  I started disabling 3rd party repositories and found out the problem was coming from Google Chrome's repository.  Normally the deb file from google(dot)com/chrome automagically sets up the repository, adds the public signing key, etc. so that the end user doesn't have to do anything other than install regular system updates when they're available and Chrome will get pulled in with everything else.  In this case however, for whatever reason, the deb I downloaded today (28 April 2016, Chrome version 50.0.2661.86 (64-bit)) didn't add the signing key.  It added the repository, but without the key my system kept warning me there was no public key available for the repository.

 

If you run into this issue, Google has a page set up specifically for showing you how to manually add the public signing key for your particular package manager.  You can find it here: http://www.google.com/linuxrepositories/

 

I just wanted to share this little tidbit of info in case anybody else runs into this problem.  When the error first popped up in the terminal it didn't tell me "which" repository was having a problem, just that one of them was missing the public key, so I narrowed it down by manually disabling the repositories (removing the 3rd party files from /etc/apt/sources.list.d) until the error went away.

Expand  

Man, good job. And also, I love your setup, too! (Watched your youtube vid) That's awesome! (Y)

Related issue, if you're using Ubuntu 16.04, Linux Mint 17.x, Debian Stretch, etc. You'll start encountering a warning saying gpgv:/var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stable_Release.gpg: The repository is insufficiently signed by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 (weak digest). This is due to the depreciation of SHA-1 and currently Google Chrome's repository is half broken because of this (as are other repos).

 

https://wiki.debian.org/Teams/Apt/Sha1Removal

 

https://bugs.chromium.org/p/chromium/issues/detail?id=596074

 

Using one of these workarounds will fix it once Google fixes everything on their side (as I said, still half broken). It *should* also fix the OP's issue;

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1397BC53640DB551

Or...

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

 

Edited by Boo Berry
This topic is now closed to further replies.
  • Posts

    • I’m so glad to see the direction this political image thread has gone. 
    • Explorer patcher is a free alternative that also works great. I get that you use startisback it’s more for others that see this and are curious.
    • PeaZip 10.5.0 by Razvan Serea PeaZip is an open source file and archive manager. It's freeware and free of charge for any use. PeaZip can extract most of archive formats both from Windows and Unix worlds, ranging from mainstream 7Z, RAR, TAR and ZIP to experimental ones like PAQ/LPAQ family, currently the most powerful compressor available. Open and extract 200+ archive formats: 001, 7Z, ACE(*), ARC, ARJ, BZ2, CAB, DMG, GZ, ISO, LHA, PAQ, PEA, RAR, TAR, UDF, WIM, XZ, ZIP ZIPX - view full list of supported archive file formats for archiving and for extraction. PeaZip provides fast, high compression ratio multi-format archiving - view file compression and decompression benchmarks for more information. PeaZip is localized in 29 languages and is capable of handling all most popular archive formats (180+ file types), supporting a wide array of advanced file and archive management features (search, bookmarks, thumbnail viewer, find duplicate files and compute hash/checksum value, convert archive files...), especially focused on security (strong encryption, two factor authentication, encrypted password manager, secure file deletion...). PeaZip 10.5.0 release notes: PeaZip 10.5.0 brings a major update in the file manager, boosting archive browsing performances, improving archive editing, adding new functions to open file as archive from within archives, to prevent running a custom list of file extensions without confirmation, and to hide or show hidden files. On macOS all file browser styles and icon sizes are now available as on other platforms. On Windows it is now possible to explore NTFS Alternate Data Streams to gather additional information on files, including a dedicated tools to batch scan the input for Zone.Identifier (Mark of The Web) to detect files coming from remote systems. In addition, the option to include the Zone.Identifier metadata in archives is now enabled by default for all formats supporting it (RAR, WIM). Backend were updated to Pea 1.25. Full list of changes and fixes is available at https://peazip.github.io/changelog.html Download: PeaZip 64-bit | PeaZip Portable 64-bit | ~13.0 MB (Open Source) Download: PeaZip 32-bit | PeaZip Portable 32-bit View: PeaZip Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I’m still waiting for “small taskbar icons” don’t need a huge ass task bar. Been using explorer patcher for years simply for this functionality. Cmon ms, not everyone uses touch screens.
  • Recent Achievements

    • One Month Later
      jezzzy earned a badge
      One Month Later
    • First Post
      CSpera earned a badge
      First Post
    • One Month Later
      MIR JOHNNY BLAZE earned a badge
      One Month Later
    • Apprentice
      Wireless wookie went up a rank
      Apprentice
    • Week One Done
      bukro earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      624
    2. 2
      ATLien_0
      280
    3. 3
      +FloatingFatMan
      179
    4. 4
      Michael Scrip
      149
    5. 5
      Steven P.
      118
  • Tell a friend

    Love Neowin? Tell a friend!