오류: 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-server데비안 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.

이는 Akamai의 콘텐츠 전송 네트워크에서 제공되는 것처럼 보이 repo.mysql.com므로 Akamai가 가장 가까운 사용 가능한 서버에서 콘텐츠를 제공하려고 시도함에 따라 다양한 위치와 시간에 이에 대한 DNS 쿼리가 응답으로 다른 IP 주소를 받게 됩니다. 그것을 제공하십시오.

하지만 귀하의 경우에는 Akamai가 귀하의 요청을 전달한 서버에 결함이 있는 것으로 보입니다. 아마도 콘텐츠 미러링이 아직 완료되지 않았을 때 클라이언트 요청에 응답하도록 허용되었거나 다른 문제가 발생했을 수도 있습니다.

당신은 확인하고 싶을 수도 있습니다Akamai 서비스 상태 페이지문제가 그곳에서 알려지지 않은 것 같으면 문의해 보세요.Akamai 기술 지원문제를 보고합니다.

관련 정보