linux - 尝试在 ubuntu ec2 实例上安装某些东西

标签 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?

我做错了什么?这是一个已知问题吗?

最佳答案

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

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

关于linux - 尝试在 ubuntu ec2 实例上安装某些东西,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18438352/

相关文章:

email - 是否可以在 Postfix 上使用其 ID 阅读电子邮件?

postgresql - 自动故障转移在 repmgr 中不起作用

php - apache 提供的空白 php 页面

Daemon 可以使用 STDOUT 启动外部进程吗?

java - 每个下级节点上的Reducer执行

linux - 为什么 bash 返回负数而不是 2^64?

python - 索引错误 : Layer [4] not found

linux - Bash 脚本 - 如何在文本文件中匹配模式后插入变量值作为新行,第 2 行

javascript - 如何从 WebSocket 二进制数据显示图像?

regex - Linux bash : sed, awk 等工具将行尾正则表达式 '$' 匹配为终端宽度