esl / packages

Makefile- and Docker-based build system for ESL's erlang and elixir binary packages.
Apache License 2.0
9 stars 6 forks source link

debian bullseye package is possibly broken in apt repository: esl-erlang_25.2.3-1~debian~bullseye_amd64.deb: size check mismatch #73

Closed shcherbak closed 6 months ago

shcherbak commented 7 months ago

Describe the bug unable to make apt repository mirror because of package size check mismatch (esl-erlang_25.2.3-1debianbullseye_amd64.deb)

To Reproduce

1) create repositroy mirror aptly mirror create -architectures=amd64 -filter-with-deps bullseye-erlang https://packages.erlang-solutions.com/debian bullseye contrib 2) update repository mirror getting error:

Downloading https://packages.erlang-solutions.com/debian/dists/bullseye/contrib/binary-amd64/Packages.bz2...
Success downloading https://packages.erlang-solutions.com/debian/dists/bullseye/contrib/binary-amd64/Packages.bz2
[!] skipping package esl-erlang_1:25.2.3-1_amd64: duplicate in packages index
[!] skipping package esl-erlang_1:25.2.3-1_amd64: duplicate in packages index
[!] skipping package esl-erlang_1:25.2.3-1_amd64: duplicate in packages index
[!] skipping package esl-erlang_1:25.2.3-1_amd64: duplicate in packages index
Building download queue...
Download queue: 1 items (38.75 MiB)
Downloading https://packages.erlang-solutions.com/debian/pool/esl-erlang_25.2.3-1~debian~bullseye_amd64.deb...
Error downloading https://packages.erlang-solutions.com/debian/pool/esl-erlang_25.2.3-1~debian~bullseye_amd64.deb: https://packages.erlang-solutions.com/debian/pool/esl-erlang_25.2.3-1~debian~bullseye_amd64.deb: size check mismatch 40631804 != 40634644 retrying...
Retrying 0 https://packages.erlang-solutions.com/debian/pool/esl-erlang_25.2.3-1~debian~bullseye_amd64.deb...
Giving up on https://packages.erlang-solutions.com/debian/pool/esl-erlang_25.2.3-1~debian~bullseye_amd64.deb...
ERROR: unable to update: download errors:
  https://packages.erlang-solutions.com/debian/pool/esl-erlang_25.2.3-1~debian~bullseye_amd64.deb: size check mismatch 40631804 != 40634644

Expected behavior packages are matching apt metadata

Affected versions 25.2.3

dalbarado commented 6 months ago

HI there, checking it. Seems that you re using the old Repo, which is going to be discontinued soon. Maybe you could do a try to use instead Https://binaries2.erlang-solutions.com

shcherbak commented 6 months ago

thank you @dalbarado

shcherbak commented 6 months ago

Is old repository EOL?

dalbarado commented 6 months ago

Yes, it will be archived soon