![403 알래스카 앵커리지에서 금지된 업데이트 오류가 발생했습니다.](https://linux55.com/image/193781/403%20%EC%95%8C%EB%9E%98%EC%8A%A4%EC%B9%B4%20%EC%95%B5%EC%BB%A4%EB%A6%AC%EC%A7%80%EC%97%90%EC%84%9C%20%EA%B8%88%EC%A7%80%EB%90%9C%20%EC%97%85%EB%8D%B0%EC%9D%B4%ED%8A%B8%20%EC%98%A4%EB%A5%98%EA%B0%80%20%EB%B0%9C%EC%83%9D%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
이상해 보이지만 앵커리지에서만 이런 일이 발생합니다. Ubuntu 18.04 LTS를 업데이트하고 "sudo apt update"를 실행하려고 하는데 다음과 같은 결과가 표시됩니다.
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/main/binary-amd64/Packages 403 Forbidden [IP: 91.189.91.38 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-amd64/Packages 403 Forbidden [IP: 91.189.91.38 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/bionic/universe/binary-i386/Packages 403 Forbidden [IP: 91.189.91.38 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.`
이것은 새로 설치한 것이며 앵커리지의 다른 가상 머신에서 동일한 오류로 여러 번 시도되었습니다.
나는 또한 캐나다의 다른 미러 사이트를 시도했지만 성공하지 못했습니다.
이해할 수 없는 일이지만 콜로라도에 있는 다른 사이트에서도 동일한 작업을 수행했는데 잘 진행되었습니다. 어떤 아이디어가 있나요?
이것은 내 /etc/apt/sources.list입니다.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
답변1
이 명령으로 문제가 해결되었습니다.
sed -i s/http/ftp/ /etc/apt/sources.list && apt-get update