I’m trying to follow https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository on an Nvidia Orin (arm64 Jetson) running Ubuntu 22.04. Running sudo apt update I get
E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/jammy/stable/binary-arm64/Packages.bz2 File has unexpected size (81869 != 81267). Mirror sync in progress?
.
Google suggest that this is an issue with docker:
- Docker apt Packages file size mismatch · Issue #1475 · docker/for-linux · GitHub
- add-apt-repository failed due to "File has unexpected size" · Issue #830 · docker/for-linux · GitHub
https://forums.docker.com/t/install-issues-file-has-unexpected-size-and-some-index-files-failed-to-download/83009
Full output:
sudo apt update
Hit:1 https://repo.download.nvidia.com/jetson/common r36.5 InRelease
Get:2 https://download.docker.com/linux/ubuntu jammy InRelease [48.5 kB]
Get:3 https://download.docker.com/linux/ubuntu jammy/stable arm64 Packages [81.3 kB]
Err:3 https://download.docker.com/linux/ubuntu jammy/stable arm64 Packages
File has unexpected size (81869 != 81267). Mirror sync in progress? [IP: 2600:9000:2015:d000:3:db06:4200:93a1 443]
Hashes of expected file:
- Filesize:81267 [weak]
- SHA512:83806615b266fd7f2a6bbbcd4ac666dbd6f41d4d60669ccb86618e887268f289a5a59d6a41cd79e92cd5ffca59f1d1d30a16ea6267279b30d48bbdfb811ad6d9
- SHA256:2690349600b05f9e76783f545978c302588f0a65f0bdea4a283014ed514cc6fb
- SHA1:330fb3bb732443ec4762c90293555f2724c0262d [weak]
- MD5Sum:9279a511db784388c34641a41c2852d6 [weak]
Release file created at: Fri, 10 Jul 2026 12:27:24 +0000
Hit:4 https://repo.download.nvidia.com/jetson/ffmpeg r36.5 InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:7 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Hit:8 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Fetched 48.5 kB in 7s (6,798 B/s)
Reading package lists... Done
E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/jammy/stable/binary-arm64/Packages.bz2 File has unexpected size (81869 != 81267). Mirror sync in progress? [IP: 2600:9000:2015:d000:3:db06:4200:93a1 443]
Hashes of expected file:
- Filesize:81267 [weak]
- SHA512:83806615b266fd7f2a6bbbcd4ac666dbd6f41d4d60669ccb86618e887268f289a5a59d6a41cd79e92cd5ffca59f1d1d30a16ea6267279b30d48bbdfb811ad6d9
- SHA256:2690349600b05f9e76783f545978c302588f0a65f0bdea4a283014ed514cc6fb
- SHA1:330fb3bb732443ec4762c90293555f2724c0262d [weak]
- MD5Sum:9279a511db784388c34641a41c2852d6 [weak]
Release file created at: Fri, 10 Jul 2026 12:27:24 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
(Links have been escaped because new users can’t post multiple links)