未找到AWS CLI冰川命令

Rea*_*k N 0 amazon-web-services amazon-glacier aws-cli

我收到"无效选择"错误.

ubuntu@server:/home/foo$ aws glacier
usage: aws [options] <command> <subcommand> [parameters]
aws: error: argument command: Invalid choice, valid choices are:

autoscaling                              | cloudformation
cloudfront                               | cloudsearch
cloudtrail                               | cloudwatch
datapipeline                             | directconnect
dynamodb                                 | ec2
elasticache                              | elasticbeanstalk
elastictranscoder                        | elb
emr                                      | iam
importexport                             | kinesis
opsworks                                 | rds
redshift                                 | route53
ses                                      | sns
sqs                                      | storagegateway
sts                                      | support
swf                                      | s3api
s3                                       | configure
help


ubuntu@server:/home/foo$ aws --version
aws-cli/1.2.9 Python/3.4.0 Linux/3.13.0-65-generic
Run Code Online (Sandbox Code Playgroud)

以前我使用以下方法安装它: ubuntu@server:/home/foo$ sudo apt-get install awscli

是什么赋予了?

eck*_*kes 6

你有一个非常古老的1.2.9版本.根据该更新日志中40年7月1日加入冰川的支持,目前是15年9月1日.

也许最好通过pip安装它,你的ubuntu软件包repo似乎已经过时了.