Elasticsearch repository in a Ubuntu focal 20.04 throws the following error while attempting to update apt:
E: Failed to fetch https://artifacts.elastic.co/packages/7.x/apt/dists/stable/main/binary-amd64/Packages.bz2 File has unexpected size (78886 != 78795). Mirror sync in progress? [IP: 34.120.127.130 443]
Hashes of expected file:
- Filesize:78795 [weak]
- SHA512:6a31510a68ed4ec43116053445bcae3e01e8aee5a0a91115d33106751aa07803260f9e7c8de356cc6e80ca3225f2f60280de694cb59e0bbb9654de3149a2147b
- SHA256:33e8f2fba7c5914d6bae8741560b4f12874e7bd655dfc7eaa73c93ed80837707
- SHA1:41ff70e24888210b61ddf373af05076563e69e82 [weak]
- MD5Sum:d6ea4093e04c8575814315b36e7174f6 [weak]
Release file created at: Wed, 15 Sep 2021 21:37:54 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Is the repository down? any possible workarounds for this?