Couchbase tidies

Also fixes apt install. Tested on AWS-EC2