GoogleCloudPlatform / GoogleCloudPlatform/osconfig
OSConfigAgent Error retry.go
- Dominant language
- Go
- Stars
- 99
- Forks
- 113
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 5
Description
While installing the **OPS Agent** I am getting this error continuously (every 15 mins)
`
> OSConfigAgent Error retry.go:63: Error Applying apt changes, attempt 1, retrying in 1s: error running /usr/bin/apt-get with args ["update"]: exit status 100, stdout: "Hit:1 http://security.debian.org/debian-security buster/updates InRelease
> Hit:2 http://deb.debian.org/debian buster InRelease
> Hit:3 http://packages.cloud.google.com/apt cloud-sdk-buster InRelease
> Hit:4 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-buster InRelease
> Hit:5 http://packages.cloud.google.com/apt google-compute-engine-buster-stable InRelease
> Hit:6 http://deb.debian.org/debian buster-updates InRelease
> Hit:7 http://deb.debian.org/debian buster-backports InRelease
> Hit:8 https://packages.cloud.google.com/apt google-cloud-monitoring-buster-all InRelease
> Hit:9 https://packages.cloud.google.com/apt google-cloud-ops-agent-buster-all InRelease
> Get:10 https://deb.nodesource.com/node_12.x buster InRelease [4584 B]
> Ign:11 https://download.arangodb.com/arangodb37/DEBIAN InRelease
> Get:12 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu groovy InRelease [23.8 kB]
> Hit:13 https://adoptopenjdk.jfrog.io/adoptopenjdk/deb buster InRelease
> Hit:14 https://download.arangodb.com/arangodb37/DEBIAN Release
> Err:12 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu groovy InRelease
> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB9B1D8886F44E2A
> Reading package lists...
> ", stderr: "W: GPG error: http://ppa.launchpad.net/openjdk-r/ppa/ubuntu groovy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB9B1D8886F44E2A
> E: The repository 'http://ppa.launchpad.net/openjdk-r/ppa/ubuntu groovy InRelease' is not signed.
`
Contributor guide
Research direction
Start at retry.go:63 and inspect the apt changes retry path. Use the reported apt-get update output, especially the missing GPG key and unsigned repository error, to investigate the repeated retries. The issue does not specify the expected fix or a completion test, so those requirements would need clarification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- debian, go
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100