试图在ubuntu ec2实例上安装一些东西

时间:2013-08-26 07:00:04

标签: linux bash ubuntu amazon-web-services amazon-ec2

我在ubuntu中运行这行:

sudo apt-get install pptpd

这是我得到的输出:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  bcrelay
The following NEW packages will be installed:
  bcrelay pptpd
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 96.2 kB of archives.
After this operation, 446 kB 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/ natty/main bcrelay amd64 1.3.4-3ubuntu1
  403  Forbidden
Err http://us-west-1.ec2.archive.ubuntu.com/ubuntu/ natty/main pptpd amd64 1.3.4-3ubuntu1
  403  Forbidden
Failed to fetch http://us-west-1.ec2.archive.ubuntu.com/ubuntu/pool/main/p/pptpd/bcrelay_1.3.4-3ubuntu1_amd64.deb  403  Forbidden
Failed to fetch http://us-west-1.ec2.archive.ubuntu.com/ubuntu/pool/main/p/pptpd/pptpd_1.3.4-3ubuntu1_amd64.deb  403  Forbidden
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
我在做错了什么?这是一个众所周知的问题吗?

2 个答案:

答案 0 :(得分:1)

您正在运行不再受支持的Ubuntu 11.04(Natty Narwhal)。您需要升级到最新的长期支持(LTS)版本12.04,通过11.10,如下所述:

http://fridge.ubuntu.com/2012/10/28/ubuntu-11-04-natty-narwhal-end-of-life-reached-on-october-28-2012/

答案 1 :(得分:0)

该存储库未响应您的更新请求。

我相信通过修改/etc/apt/sources.list添加其他存储库可以解决您的问题。有关详细信息,请查看此page