Google Cloud の Ubuntu 18.04 LTS では sudo apt update を実行できません。

Google Cloud の Ubuntu 18.04 LTS では sudo apt update を実行できません。
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:    18.04
Codename:   bionic

$ sudo apt-get update
Hit:1 http://asia-northeast1.gce.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://asia-northeast1.gce.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://asia-northeast1.gce.archive.ubuntu.com/ubuntu bionic-backports InRelease
Ign:4 http://packages.cloud.google.com/apt google-cloud-monitoring-bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:6 http://archive.canonical.com/ubuntu bionic InRelease
Err:7 http://packages.cloud.google.com/apt google-cloud-monitoring-bionic Release
  404  Not Found [IP: 172.217.25.238 80]
Reading package lists... Done
E: The repository 'http://packages.cloud.google.com/apt google-cloud-monitoring-bionic Release' does not have a Release file.
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.

ベストアンサー1

Googleの欠陥のあるStackdriver Agentを実行しているようです。インストールスクリプト

/etc/apt/sources.list.d/google-cloud-monitoring.list地域(バイオテクノロジーなど)がその地域にない場合でも、スクリプトは更新されます。https://packages.cloud.google.com/apt/dists

さらに、xenial(バイオテクノロジー)はaと<=衝突changing google-cloud-monitoring.listのために失敗します。libcurl3curllibcurl4

Googleはスクリプトを変更する必要があります。

おすすめ記事