2014-11-02 94 views
4

我試圖與Ubuntu的Amazon EC2 Ubuntu的安裝GCC

sudo apt-get install gcc 

在EC2實例安裝gcc給我:

Do you want to continue? [Y/n] 
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main linux-libc-dev amd64 3.13.0-36.63 
404 Not Found [IP: 91.189.88.149 80] 
Err http://security.ubuntu.com/ubuntu/ trusty-security/main linux-libc-dev amd64 3.13.0-36.63 
404 Not Found [IP: 91.189.92.201 80] 
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.13.0-36.63_amd64.deb 404 Not Found [IP: 91.189.92.201 80] 

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 

我在想什麼?

回答

19

sudo apt-get update修復了這個問題。