aws / aws/aws-codebuild-docker-images

Broken apt repo for chrome

Open
#477 2 comments 5 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.