The installation of CDH5 packages from archive.cloudera.com fails:
> sudo wget 'https://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/cloudera.list' -O /etc/apt/sources.list.d/cloudera.list ... (command succeeds) > sudo apt update ... E: Failed to fetch http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/dists/xenial-cdh5/contrib/source/Sources Writing more data than expected (11598 > 11595) E: Failed to fetch http://archive.cloudera.com/cdh5/ubuntu/xenial/amd64/cdh/dists/xenial-cdh5/contrib/binary-amd64/Packages E: Some index files failed to download. They have been ignored, or old ones used instead.
Looks like the tree is inconsistent:
See also https://community.cloudera.com/t5/Cloudera-Manager-Installation/Cannot-update-Cloudera-Manager-5-16-... which seems to be related.