私はオセアニア地域を旅行していたユーザーからラップトップを渡され、コマンドを実行しようとしました apt-get update
しかし、メッセージが返されました
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/main/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/restricted/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/multiverse/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/restricted/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise/multiverse/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/main/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/main/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/restricted/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/universe/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-updates/multiverse/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/main/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/source/Sources 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/main/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/restricted/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/universe/binary-i386/Packages 403 Forbidden
W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/precise-backports/multiverse/binary-i386/Packages 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.
インターネットに直接接続してコマンドを実行しましたが、プロキシを経由しませんでした。 URLにアクセスしようとすると、「禁止」エラーが発生します。数日前には問題なかった。私が問題を解決することができた唯一の方法は例えばURLを変えることでした http://nz.archive.ubuntu.com/ubuntu/ precise main restricted
に http://archive.ubuntu.com/ubuntu/ precise main restricted
の中に sources.list
ファイル。
なぜ私は突然そのようなエラーになるのでしょうか。
ラップトップはUbuntu 12.04 LTSを実行しています
apt-get
更新はそれを修正しました。