エラー:http://repo.mysql.com/apt/debian/dists/buster/InRelease 403禁止[IP:23.57.81.191 80]を検索できません。

エラー:http://repo.mysql.com/apt/debian/dists/buster/InRelease 403禁止[IP:23.57.81.191 80]を検索できません。

mysql-serverDebian 10 にインストール中です。

wgetファイルで次のコマンドを使用した/tmp 後、sudo dpkg次の応答を返すコマンドを使用しました。

 acelys @ uno-test-temp: / tmp $ sudo dpkg -i mysql-apt *
    (Reading database ... 46803 files and directories already installed.)
    Preparing to unpack mysql-apt-config_0.8.19-1_all.deb ...
    Unpacking mysql-apt-config (0.8.19-1) to (0.8.19-1) ...
    Setting up mysql-apt-config (0.8.19-1) ...
    Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package mysql-apt-config)
    OK

次に、次のコマンドを入力します。sudo apt updateエラーに対する応答は次のとおりです。

acelys @ uno-test-temp: / tmp $ sudo apt update
    Err: 1 http://repo.mysql.com/apt/debian buster InRelease
      403 Forbidden [IP: 23.57.81.191 80]
    Reached: 2 http://deb.debian.org/debian buster InRelease
    Achieved: 3 http://security.debian.org/debian-security buster / updates InRelease
    Reached: 4 http://deb.debian.org/debian buster-updates InRelease
    Reached: 5 https://packages.sury.org/php buster InRelease
    Reading Package Lists ... Done
    E: Unable to retrieve http://repo.mysql.com/apt/debian/dists/buster/InRelease 403 Forbidden [IP: 23.57.81.191 80]
    E: The http://repo.mysql.com/apt/debian buster InRelease repository is unsigned.
    N: Updates from such a repository cannot be done securely, and are therefore disabled by default.
    N: See the apt-secure (8) man pages for repository creation and user configuration details.

私はオンラインで多くの記事を検索しましたが、すべてファイルの修正について話していますが、sources.listどのような修正を行うべきかは明確ではありませんでした。

これは私のsources.listファイルです:

# deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 DVD Binary-1 20190706-10:24]/ buster contrib main

#deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 DVD Binary-1 20190706-10:24]/ buster contrib main

deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib

# buster
deb http://deb.debian.org/debian/ buster main
# deb-src http://deb.debian.org/debian/ buster main

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
#deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free

これは私のmysql.listファイルです:

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/debian/ buster mysql-apt-config
deb http://repo.mysql.com/apt/debian/ buster mysql-8.0
deb http://repo.mysql.com/apt/debian/ buster mysql-tools
#deb http://repo.mysql.com/apt/debian/ buster mysql-tools-preview
deb-src http://repo.mysql.com/apt/debian/ buster mysql-8.0 

ベストアンサー1

これは、リポジトリサーバー構成エラーの典型的なケースのように見えます。

$ nslookup repo.mysql.com
[...]

Non-authoritative answer:
repo.mysql.com  canonical name = repo.mysql.com.edgekey.net.
repo.mysql.com.edgekey.net      canonical name = e7528.d.akamaiedge.net.
Name:   e7528.d.akamaiedge.net
Address: 23.43.108.232

$ nslookup 23.57.81.191
191.81.57.23.in-addr.arpa       name = a23-57-81-191.deploy.static.akamaitechnologies.com.

これはrepo.mysql.com、Akamaiのコンテンツ配信ネットワークによって提供されるように見えるため、Akamaiがコンテンツを提供できる最も近い利用可能なサーバーからコンテンツを提供しようとするため、他の場所と異なる時間にこれに対するDNSクエリは応答として異なるIPアドレスです。を受け取ります。

ただし、お客様の場合、Akamaiがお客様のリクエストを転送するサーバーに欠陥があるようです。おそらく、コンテンツミラーリングが完全に完了する前にクライアント要求に応答することが許可されているか、他の問題が発生した可能性があります。

確認したいかもしれませんAkamai サービスステータスページ問題が存在しないような場合はお問い合わせください。Akamai 技術サポート問題を報告してください。

おすすめ記事