aws / aws/aws-codebuild-docker-images
Broken apt repo for chrome
- Dominant language
- Dockerfile
- Stars
- 1.2k
- Forks
- 971
- Avg merge
- 2h 47m
- Merged PRs (30d)
- 1
Description
**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
```
Contributor guide
Assessment
This issue has not been assessed yet.