amazon ec2 ubuntu apt リポジトリが停止?

amazon ec2 ubuntu apt リポジトリが停止?

何か起こったのですか?Amazon S3 アーカイブでホストされている Ubuntu ミラー リポジトリ?

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 サービス (そのファームの 1 つ) を使用していない場合は使用できないため、使用しようとするものはすべてアクセスを拒否されます。

リポジトリを公式のものに変更すれhttp://archive.ubuntu.com/ば問題ありません:

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

これにより、Amazon のサーバーがリストから削除されます。

関連情報