Từ hôm qua tôi đã cố chạy
apt-get update
không thành công trong các phiên bản Ubuntu tôi đang tạo trên EC2.
Cụ thể tôi đã nhận được những lỗi này:
Ign http://security.ubuntu.com maverick-security/main amd64 Packages
Ign http://security.ubuntu.com maverick-security/universe amd64 Packages
Ign http://security.ubuntu.com maverick-security/multiverse amd64 Packages
Err http://security.ubuntu.com maverick-security/main Sources
404 Not Found [IP: 91.189.92.190 80]
Err http://security.ubuntu.com maverick-security/universe Sources
404 Not Found [IP: 91.189.92.190 80]
Err http://security.ubuntu.com maverick-security/main amd64 Packages
404 Not Found [IP: 91.189.92.190 80]
Err http://security.ubuntu.com maverick-security/universe amd64 Packages
404 Not Found [IP: 91.189.92.190 80]
Err http://security.ubuntu.com maverick-security/multiverse amd64 Packages
404 Not Found [IP: 91.189.92.190 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/main/source/Sources.gz 404 Not Found [IP: 91.189.92.190 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/source/Sources.gz 404 Not Found [IP: 91.189.92.190 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/main/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.190 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.190 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/binary-amd64/Packages.gz 404 Not Found [IP: 91.189.92.190 80]
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@ip-10-168-230-63:/etc/apt#
Cũng đang cố gắng cài đặt máy chủ mysql, tôi đã gặp phải lỗi:
root@ip-10-168-230-63:/etc/apt# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libhtml-template-perl mysql-server-5.1 mysql-server-core-5.1
Suggested packages:
libipc-sharedcache-perl tinyca mailx
The following NEW packages will be installed:
libhtml-template-perl mysql-server mysql-server-5.1 mysql-server-core-5.1
0 upgraded, 4 newly installed, 0 to remove and 81 not upgraded.
Need to get 12.1MB/12.2MB of archives.
After this operation, 29.5MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/main mysql-server-core-5.1 amd64 5.1.61-0ubuntu0.10.10.1
403 Forbidden
Err http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/main mysql-server-5.1 amd64 5.1.61-0ubuntu0.10.10.1
403 Forbidden
Err http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ maverick-updates/main mysql-server all 5.1.61-0ubuntu0.10.10.1
403 Forbidden
Failed to fetch http://us-west-1.ec2.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.1/mysql-server-core-5.1_5.1.61-0ubuntu0.10.10.1_amd64.deb 403 Forbidden
Failed to fetch http://us-west-1.ec2.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.1/mysql-server-5.1_5.1.61-0ubuntu0.10.10.1_amd64.deb 403 Forbidden
Failed to fetch http://us-west-1.ec2.archive.ubuntu.com/ubuntu/pool/main/m/mysql-5.1/mysql-server_5.1.61-0ubuntu0.10.10.1_all.deb 403 Forbidden
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@ip-10-168-230-63:/etc/apt#
Tôi đã chạy
apt-get update --fix-missing
không có may mắn
Có ý kiến gì không?
Tôi đã thực hiện các tác vụ này nhiều lần trên các phiên bản Ubuntu Linux đang chạy trong AWS EC2 mà không gặp vấn đề gì. Cảm ơn trước sự giúp đỡ của bạn!