I have found a bug in the docker-ce…deb packages for ubuntu xenial amd64 on download.docker.com, not sure if it appears in other distribution/architectures.
Since the version 18.09.0, there is line like this in DEBIAN/control file in the package:
The problem is the 5: on the beginning of the version number. This number is also consequently apperaring in the Packages.bz2 package list in the repository. However the packages in official repository (https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/) are correct, when I make the mirror of this repository using aptly, it interprets the metadata and renames the files putting the string 5: in the filename, making it unusable becase then the package name is not docker-ce but docker-ce_5 and it’s not possible to update it from this mirror.
Last usable version was docker-ce_18.06.3~ce~3-0~ubuntu_amd64, later versions look like docker-ce_5:18.09.1~3-0~ubuntu-xenial_amd64, the same with the package docker-ce-cli.
Could you please explain why there is this apparently useless string?
Could you please eventually remove this string?
I didn’t try another mirroring software, but since the mentioned version the mirror made by aptly is unusable.