Thank you for posting this in our Community.
E: Failed to fetch https://archive.cloudera.com/cm5/ubuntu/xenial/amd64/cm/pool/contrib/o/oracle-j2sdk1.7/oracle-j2sdk1... transfer closed with 118225812 bytes remaining to read
"The above could mean that the connectivity between the Host and the Cloudera archive might have been intervened by network congestion/flaky network"
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? END (100) remote package oracle-j2sdk1.7
Have you tried the above-mentioned? If not, Since you are on Ubuntu, Try to fix/retry the missing packages by executing this:
#sudo apt-get update
#sudo apt-get update --fix-missing
Let us know how it goes.