CircleCI-Public / CircleCI-Public/cimg-ruby

Bug Report: apt-get update fails due to google repository

Open
#218 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Dockerfile
Stars
37
Forks
42
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
apt-get update fails due to google repository

**To Reproduce**
Run the `cimg/ruby:3.3.4-browsers` image and issue a `sudo apt-get update`. I suspect this issue exists on other images. Started within the last day or two, but was hoping it was somehow related to github issues.

```
docker run -it --platform linux/amd64 cimg/ruby:3.3.4-browsers /bin/bash
circleci@cd9dc76f78ec:~/project$ sudo apt-get update
Get:1 https://download.docker.com/linux/ubuntu jammy InRelease [48.5 kB]
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:5 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease [24.6 kB]
Get:6 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease [24.6 kB]
Get:4 https://packagecloud.io/github/git-lfs/ubuntu jammy InRelease [29.2 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
Get:9 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages [83.6 kB]
Get:10 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B]
Get:11 https://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy/main amd64 Packages [2,978 B]
Get:12 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1,298 kB]
Get:13 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6,468 kB]
Get:14 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main amd64 Packages [43.3 kB]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3,708 kB]
Get:15 https://packagecloud.io/github/git-lfs/ubuntu jammy/main amd64 Packages [2,601 B]
Get:17 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [62.6 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:19 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:20 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1,792 kB]
Get:21 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1,610 kB]
Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [6,688 kB]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4,047 kB]
Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [70.9 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [37.2 kB]
Get:27 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [83.9 kB]
Err:10 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 FD533C07C264648F
Reading package lists... Done
W: https://download.docker.com/linux/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
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 FD533C07C264648F
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.
```

**Expected behavior**
The `apt-get update` to complete successfully

**Workarounds**
Swapped to the `cimg/ruby:3.3.4-node` image for workflows that don't need browsers.
Attempted to swap to the [browser-tools-orb](https://github.com/CircleCI-Public/browser-tools-orb), but ended up with a significant difference in the outcome of tests.

**Screenshots and Build Links**
Image

**Additional context**
Add any other context about the problem here.

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.