Real Geek N
Real Geek N

Reputation: 165

AWS CLI glacier command not found

I get an "Invalid choice" error.

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

Previously I installed it using: ubuntu@server:/home/foo$ sudo apt-get install awscli

What gives?

Upvotes: 0

Views: 663

Answers (1)

eckes
eckes

Reputation: 10423

You have a very old 1.2.9 version. According to the changelog glacier support was added in 1.7.40, and current is 1.9.15.

Perhaps it is better to install it via pip, your ubuntu package repo seems outdated.

Upvotes: 6

Related Questions