Amazon EC2 우분투 적절한 저장소 중단?

Amazon EC2 우분투 적절한 저장소 중단?

무슨 일이 있었나요?Amazon S3 아카이브에서 호스팅되는 Ubuntu Mirror Repos?

Ubuntu S3 아카이브에서 "forbidden 403" 메시지가 반환되었습니다.

이전에는 작동했지만 최근에는 더 이상 작동하지 않습니다. 조언해주세요

$ apt-get -y install ruby1.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
puppet-common : Depends: libxmlrpc-ruby
Depends: libopenssl-ruby
Depends: libshadow-ruby1.8 but it is not going to be installed
Depends: libaugeas-ruby1.8 but it is not going to be installed
Depends: facter (>= 1.5) but it is not going to be installed
Depends: facter (< 2.0) but it is not going to be installed
Recommends: debconf-utils but it is not going to be installed
ruby1.8 : Depends: libruby1.8 (= 1.8.7.352-2ubuntu1.4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Err http://us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com/ubuntu/ precise/main augeas-lenses all 0.10.0-0ubuntu4
403 Forbidden
.............
............

답변1

Amazon 리포지토리는 Amazon에 등록된 시스템에서만 사용할 수 있습니다. Amazon EC2 서비스(해당 팜 중 하나)를 사용하지 않는 경우 이를 사용할 수 없으므로 이를 사용하려는 모든 항목에 대한 액세스가 거부됩니다.

저장소를 공식으로 변경 http://archive.ubuntu.com/하면 괜찮을 것입니다.

sudo sed -i 's/\.s3\.amazonaws\.com//ig' /etc/apt/sources.list{,d/*.list}
sudo apt-get update

그러면 목록에서 Amazon 서버가 제거됩니다.

관련 정보