It has been very difficult to deal with awscli on a fresh debian jessie install.
I just installed via pip install.
aws --version is:
aws-cli/1.10.20 Python/2.7.9 Linux/4.1.19+ botocore/1.4.11
But when I try to create a bucket:
aws --endpoint-url http://objects.dreamhost.com s3 mb s3://apriltest2016
make_bucket failed: s3://apriltest2016/ Parameter validation failed:
Invalid type for parameter CreateBucketConfiguration.LocationConstraint, value: None, type: <type ‘NoneType’>, valid types: <type ‘basestring’>
I am able to ls, cp and sync stuff to my buckets.
But the worst of it all is that awscli is reading wrong characters from the files in the buckets. It is like a locale mess.
File with names like 201 - foo bar.test , as are in my macbook, and as I upload then via cyberduck, looks like 201%-%foo_%bar.test inside the linux machine using awscli. This did not happned with my old machine with debian wheezy before.
This is the aws --version output of my old linux machine were everything works just fine:
aws-cli/1.8.6 Python/2.7.3 Linux/3.18.0-trunk-rpi