我正在尝试在我的amazon ec2实例上安装gcc和g ++编译器。但是当我在实例上键入命令时
sudo apt-get install gcc
当我尝试连接亚马逊档案时,我陷入了困境。我在这儿稍等一下:
0% [Connecting to us-west-2.ec2.archive.ubuntu.com (54.231.160.74)]
然后得到一堆关于无法连接到档案的错误。有谁知道解决方案?感谢。
错误:
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty/main libasan0 i386 4.8.2-19ubuntu1
Could not connect to us-west-2.ec2.archive.ubuntu.com:80 (54.231.160.74), connection timed out
E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.19-0ubuntu6_i386.deb Unable to connect to us-west-2.ec2.archive.ubuntu.com:http: