aws-codebuild-docker-images icon indicating copy to clipboard operation
aws-codebuild-docker-images copied to clipboard

Broken apt repo for chrome

Open dbirks opened this issue 4 years ago • 2 comments

Describe the bug When running apt update in the current Ubuntu standard:5.0 image, I get an inconsistent error about the Google Chrome apt repo. I get either one of these errors:

E: The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release file.

or

E: The repository 'http://dl.google.com/linux/chrome/deb stable Release' is not signed.

To Reproduce Steps to reproduce the behavior:

  1. Start a CodeBuild job with the current ubuntu standard:5.0 image
  2. Run apt update in the buildspec
  3. Hold its hand as it dies

Expected behavior It should update apt without erroring.

Logs

E: The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release file.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1

or

E: The repository 'http://dl.google.com/linux/chrome/deb stable Release' is not signed.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1

Platform (please complete the following information):

  • OS: Ubuntu
  • Arch: x64

Additional context I can workaround it with:

rm -f /etc/apt/sources.list.d/google-chrome.list

dbirks avatar Sep 01 '21 14:09 dbirks

@dbirks I was having this issue this morning as well. Seems like it's working now?

KyleThen avatar Sep 01 '21 15:09 KyleThen

Yes same here, with the workaround removed, I just get some warnings:

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1

I should probably keep this open for now, just so the duplicate chrome repo gets looked at.

dbirks avatar Sep 01 '21 15:09 dbirks