Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E: The repository 'https://dl.google.com/linux/chrome/deb stable InRelease' is not signed. #1293

Closed
pkhadka56 opened this issue Jan 31, 2025 · 4 comments
Assignees
Labels

Comments

@pkhadka56
Copy link

We are using image cypress/browser with tag node-18.16.1-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1. When running apt update I am getting this error

root@ba2a0167bdc7:/# apt update
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 https://packages.microsoft.com/repos/edge stable InRelease [3590 B]                                            
Get:3 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]                 
Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]          
Get:5 https://dl.google.com/linux/chrome/deb stable InRelease [1825 B]
Get:6 http://deb.debian.org/debian bullseye/main amd64 Packages [8066 kB]
Get:7 https://packages.microsoft.com/repos/edge stable/main amd64 Packages [15.1 kB]
Err:5 https://dl.google.com/linux/chrome/deb stable InRelease        
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
Get:8 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [340 kB]                                            
Get:9 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]                                                     
Reading package lists... Done                                                                                                         
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: GPG error: https://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 32EE5355A6BC6E42
E: The repository 'https://dl.google.com/linux/chrome/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/microsoft-edge-stable.list:1 and /etc/apt/sources.list.d/microsoft-edge.list:3
@MikeMcC399
Copy link
Collaborator

@pkhadka56

Google Chrome 114 was released in May 2023 and according to the error message it has been removed from their server. Google only supports the latest version of its Chrome browser (currently 132.x), plus beta, dev and canary channels. So this error will not be fixed.

Your options are:

  • Ignore the error message
  • Use a later version of cypress/browsers
  • Build a custom version of a Cypress Docker image using the factory process using a newer version of Google Chrome
  • Build a custom version of a Cypress Docker image using the example Chrome for Testing

The Cypress support statement for browsers says:

Cypress officially supports the latest 3 major versions of Chrome, Firefox, and Edge.

This means currently Chrome 130, 131, & 132. Chrome 114 is no longer supported by Cypress.

@MikeMcC399 MikeMcC399 self-assigned this Jan 31, 2025
@MikeMcC399
Copy link
Collaborator

@pkhadka56

If you need some community help you can also ask in the Cypress technical community on Discord

Discord chat (click on button)

I suggest to close this issue as it can't be fixed by the Cypress Docker repo. #1293 (comment) ⬆ lists your options.

@pkhadka56
Copy link
Author

@MikeMcC399 Thank you for your answer. The following solved the issue, but I will update the image.

​wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | tee /etc/apt/trusted.gpg.d/google.asc >/dev/null

@MikeMcC399
Copy link
Collaborator

@pkhadka56

Thank you for posting your wget workaround!

I double-checked that Chrome 114 isn't available anymore through the Cypress factory process:

0.459 Installing Chrome version:  114.0.5735.133-1
0.697 http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.133-1_amd64.deb:
0.697 2025-01-31 11:04:52 ERROR 404: Not Found.

Updating your image, as you wrote, is probably the best way forward, so that you are using supported versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants