W: File size /var/lib/apt/lists/http.debian.net_debian_dists_jessie_main_binary-amd64_Packages.gz - this is not what the server 9101219 9117278 reported

I install the mongo client and just started getting the following error message

 W: Size of file /var/lib/apt/lists/http.debian.net_debian_dists_jessie_main_binary-amd64_Packages.gz is not what the server reported 9101219 9117278 

This is the answer to the next RUN command in my Dockerfile .

 RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 && \ echo 'deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen' | tee /etc/apt/sources.list.d/mongodb.list && \ apt-get update && \ apt-get install -y mongodb-org-shell 

How should I solve this?

+6
source share

Source: https://habr.com/ru/post/978778/


All Articles