moby: Fail to install new docker-engine package: size mismatch

# apt-get install docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  aufs-tools cgroup-lite
The following NEW packages will be installed:
  aufs-tools cgroup-lite docker-engine
0 upgraded, 3 newly installed, 0 to remove and 4 not upgraded.
Need to get 5,691 kB/5,787 kB of archives.
After this operation, 28.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://apt.dockerproject.org/repo/ ubuntu-trusty/main docker-engine amd64 1.8.2-0~trusty [5,691 kB]
Fetched 5,691 kB in 0s (7,373 kB/s)
E: Failed to fetch https://apt.dockerproject.org/repo/pool/main/d/docker-engine/docker-engine_1.8.2-0~trusty_amd64.deb  Size mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 38 (6 by maintainers)

Most upvoted comments

I just got this error for version 1.10.3, forcing apt to install the previous version with sudo apt-get install docker-engine=1.10.2-0~trusty solved the problem