aws-codebuild-docker-images
aws-codebuild-docker-images copied to clipboard
Broken apt repo for chrome
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:
- Start a CodeBuild job with the current ubuntu standard:5.0 image
- Run
apt updatein the buildspec - 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 I was having this issue this morning as well. Seems like it's working now?
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.