我已经创建了 ubuntu 10.04 ec2 映像,现在我需要在我的实例上安装 tomcat apache 和 jdk6,但每当我使用该命令时sudo apt-get install sun-java6-jdk
or sudo apt-get install tomcat6 admin
or sudo apt-get install ec2-api-tools
Package ec2-api-tools is not available, but is referred to by another package.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ec2-api-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package ec2-api-tools has no installation candidate
另一种选择是添加他们的官方存储库到 apt - 这将为您提供最新的 AWS 工具:
sudo apt-add-repository ppa:awstools-dev/awstools
sudo apt-get update
sudo apt-get install ec2-api-tools -y
这对于进一步的版本和最新的官方错误修复等非常有用,只需运行通常的命令
sudo apt-get update
sudo apt-get upgrade -y
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)