The ubuntu repositories dists folder contains both Packages, Packages.gz and Packages.bz2 files. Out of these, apt-get uses one of them during an update. Where can I configure apt to choose a particular compression type file instead of others.
I am in a university using an internal mirror and for some reason one of the files is giving a Hash mismatch error
. I think if I use bz2 instead of gzip, perhaps I can get past the erroneous file. My apt-get update
always tries to fetch .gz files and fails on one of them.
ubuntu_dists_trusty_main_binary-i386_Packages
. Anyways, I am more interested in apt than solving the error, hence the title. Answers to this error is delete the local file and update again. I did that only to repeat the error.