Sudo apt-get update issue

Get:19 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages [8,239 B]
Err:19 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages
File has unexpected size (8490 != 8239). Mirror sync in progress? [IP: 184.28.219.8 443]
Hashes of expected file:

  • Filesize:8239 [weak]
  • SHA256:bd3c7533684455dc3d1f94a39a1c4afe48d5a020f35b3b784f1ea3787e193cca
  • SHA1:ea31489efd3e7f756fa70d3288d401319b7fce57 [weak]
  • MD5Sum:5c6a54ba6437bb76e7537ff6ba3d1d0c [weak]
    Release file created at: Tue, 28 Apr 2020 06:35:46 +0000
    Fetched 2,559 B in 3s (976 B/s)
    Reading package lists… Done
    E: Failed to fetch https://repo.download.nvidia.com/jetson/t194/dists/r32.4/main/binary-arm64/Packages.gz File has unexpected size (8490 != 8239). Mirror sync in progress? [IP: 184.28.219.8 443]
    Hashes of expected file:
    - Filesize:8239 [weak]
    - SHA256:bd3c7533684455dc3d1f94a39a1c4afe48d5a020f35b3b784f1ea3787e193cca
    - SHA1:ea31489efd3e7f756fa70d3288d401319b7fce57 [weak]
    - MD5Sum:5c6a54ba6437bb76e7537ff6ba3d1d0c [weak]
    Release file created at: Tue, 28 Apr 2020 06:35:46 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.

Hi,

Please share some description about your error. For example, how you hit this problem?

sudo apt-get update during the initial install. Tried: sudo apt-get clean but can’t clear the error

If I comment out the second line below I don’t get the error:

/etc/apt/sources.list.d/nvidia-l4t-apt-source.list

deb https://repo.download.nvidia.com/jetson/common r32.4 main
#deb https://repo.download.nvidia.com/jetson/t194 r32.4 main

I’m attempting to follow these directions to build librealsense from source on the latest Jetson Nano image (Ubuntu 18.04). I get the same behavior when attempting to run sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade. In particular, the line deb https://repo.download.nvidia.com/jetson/t210 r32.4 main in /etc/apt/sources.list.d/nvidia-l4t-apt-source.list causes the following error

Err:18 https://repo.download.nvidia.com/jetson/t210 r32.4/main arm64 Packages
  File has unexpected size (8479 != 8232). Mirror sync in progress? [IP: 23.36.39.211 443]
  Hashes of expected file:
   - Filesize:8232 [weak]
   - SHA256:a6f3d01f9fd0b6ac4318633fe1b049f3524c3e9bc36cdda2bc0ff693570470b5
   - SHA1:e7e34ada6a048427d083ae673a58c2326193ab40 [weak]
   - MD5Sum:037995b9e01d2e8a4621173482b95ac4 [weak]
  Release file created at: Tue, 28 Apr 2020 06:22:43 +0000
Fetched 2,559 B in 2s (1,104 B/s)
Reading package lists... Done
E: Failed to fetch https://repo.download.nvidia.com/jetson/t210/dists/r32.4/main/binary-arm64/Packages.gz  File has unexpected size (8479 != 8232). Mirror sync in progress? [IP: 23.36.39.211 443]
   Hashes of expected file:
    - Filesize:8232 [weak]
    - SHA256:a6f3d01f9fd0b6ac4318633fe1b049f3524c3e9bc36cdda2bc0ff693570470b5
    - SHA1:e7e34ada6a048427d083ae673a58c2326193ab40 [weak]
    - MD5Sum:037995b9e01d2e8a4621173482b95ac4 [weak]
   Release file created at: Tue, 28 Apr 2020 06:22:43 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

Commenting out the t210 source allows the original command to complete without error.

Getting the same issue on nvidia xavier.

nvidia@nvidia-desktop:~/butterfly$ sudo apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:2 https://repo.download.nvidia.com/jetson/common r32.4 InRelease
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:4 https://repo.download.nvidia.com/jetson/t194 r32.4 InRelease [2,559 B]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:7 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages [8,239 B]
Err:7 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages
File has unexpected size (8490 != 8239). Mirror sync in progress? [IP: 23.36.39.211 443]
Hashes of expected file:

  • Filesize:8239 [weak]
  • SHA256:bd3c7533684455dc3d1f94a39a1c4afe48d5a020f35b3b784f1ea3787e193cca
  • SHA1:ea31489efd3e7f756fa70d3288d401319b7fce57 [weak]
  • MD5Sum:5c6a54ba6437bb76e7537ff6ba3d1d0c [weak]
    Release file created at: Tue, 28 Apr 2020 06:35:46 +0000
    Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 DEP-11 Metadata [290 kB]
    Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 DEP-11 Metadata [274 kB]
    Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 DEP-11 Metadata [7,968 B]
    Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 DEP-11 Metadata [39.9 kB]
    Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 DEP-11 Metadata [44.1 kB]
    Fetched 910 kB in 3s (357 kB/s)
    Reading package lists… Done
    E: Failed to fetch https://repo.download.nvidia.com/jetson/t194/dists/r32.4/main/binary-arm64/Packages.gz File has unexpected size (8490 != 8239). Mirror sync in progress? [IP: 23.36.39.211 443]
    Hashes of expected file:
    - Filesize:8239 [weak]
    - SHA256:bd3c7533684455dc3d1f94a39a1c4afe48d5a020f35b3b784f1ea3787e193cca
    - SHA1:ea31489efd3e7f756fa70d3288d401319b7fce57 [weak]
    - MD5Sum:5c6a54ba6437bb76e7537ff6ba3d1d0c [weak]
    Release file created at: Tue, 28 Apr 2020 06:35:46 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.
1 Like

Hi guys,

I just tried apt-update on Nano and Xavier with “nvidia-l4t-apt-source.list” but have no error.

Are you using the original release from Jetpack/SDcard image without any modification or OTA?

EDIT: Just like that, the error’s gone. Works just fine now. Odd.

Same error here on Jetson Nano. Just flashed SD card with original release from JetPack. Was able to successfully run apt update && apt upgrade upon first install, rebooted, checked for new packages with apt update, and this error showed up.

Interestingly enough I’d seen it the other day with a different install, it went away, now it’s back.

Get:19 https://repo.download.nvidia.com/jetson/t210 r32.4/main arm64 Packages [8,232 B]
Err:19 https://repo.download.nvidia.com/jetson/t210 r32.4/main arm64 Packages
  File has unexpected size (8479 != 8232). Mirror sync in progress? [IP: 184.31.1.179 443]
  Hashes of expected file:
   - Filesize:8232 [weak]
   - SHA256:a6f3d01f9fd0b6ac4318633fe1b049f3524c3e9bc36cdda2bc0ff693570470b5
   - SHA1:e7e34ada6a048427d083ae673a58c2326193ab40 [weak]
   - MD5Sum:037995b9e01d2e8a4621173482b95ac4 [weak]
  Release file created at: Tue, 28 Apr 2020 06:22:43 +0000
Fetched 2,559 B in 2s (1,091 B/s)
Reading package lists... Done
E: Failed to fetch https://repo.download.nvidia.com/jetson/t210/dists/r32.4/main/binary-arm64/Packages.gz  File has unexpected size (8479 != 8232). Mirror sync in progress? [IP: 184.31.1.179 443]
   Hashes of expected file:
    - Filesize:8232 [weak]
    - SHA256:a6f3d01f9fd0b6ac4318633fe1b049f3524c3e9bc36cdda2bc0ff693570470b5
    - SHA1:e7e34ada6a048427d083ae673a58c2326193ab40 [weak]
    - MD5Sum:037995b9e01d2e8a4621173482b95ac4 [weak]
   Release file created at: Tue, 28 Apr 2020 06:22:43 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

Hi,

Can someone provide any concrete steps to reproduce this error?
For example, using a fresh one and run “apt update” once. Then, run “apt upgrade” and see if any commands would trigger this error.

The Upgrade is working fine now. I did these steps to upgrade LT4.4 from LT4.3
sudo apt update sudo apt dist-upgrade
$sudo apt-get install nvidia-jetpack

But then upgrade is faulty and gives me cuda driver error.

Seems intermittent. I can’t reproduce it at the moment. Makes me think it is/was actually an issue with the repo itself… maybe it’s like the error message says: Mirror sync in progress?

I had just set up a brand new Jetson NX flashing the latest image to an SD-card. After boot and initial setup I tried to sudo apt-get update when I first received the error.

We will check what is going on here.

Just started having the exact same issue on a clean install on a Jetson AGX Xavier. When installing the Jetson SDK Components it’s mentioning the line:
“INFO : CUDA Toolkit for L4T : E: Failed to fetch https://repo.download.nvidia.com/jetson/t194/dists/r32.4/main/binary-arm64/Packages.gz File has unexpected size (8490 != 8239). Mirror sync in progress? [IP: 184.28.219.26 443]”
When I try to run “sudo apt-get update” it also mentions:
“Err:10 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages
File has unexpected size (8490 != 8239). Mirror sync in progress? [IP: 184.28.219.26 443]”
Is there any update as to the cause of the problem? Is it just a problem with the repository that will be resolved with patience? How long does this “Mirror sync” normally take?

Same for me when calling “apt update” it mostly fails, sometimes it works. And it really looks like an repo problem. Unfortunately I am not allowed to simply cut and paste the errors as it contains URLs and as newbie I am only allowed 3 links … bummer.
Get:7 https://repo.download.nvidia.com/jetson/t210 r32.4/main arm64 Packages [8.232 B]
Err:7 https://repo.download.nvidia.com/jetson/t210 r32.4/main arm64 Packages
File has unexpected size (8479 != 8232). Mirror sync in progress? [IP: 92.123.212.152 443]
Hashes of expected file:
- Filesize:8232 [weak]
- SHA256:a6f3d01f9fd0b6ac4318633fe1b049f3524c3e9bc36cdda2bc0ff693570470b5
- SHA1:e7e34ada6a048427d083ae673a58c2326193ab40 [weak]
- MD5Sum:037995b9e01d2e8a4621173482b95ac4 [weak]
Release file created at: Tue, 28 Apr 2020 06:22:43 +0000
Fetched 2.559 B in 2s (1.680 B/s)
Reading package lists… Done
E: Failed to fetch https://repo.download.nvidia.com/jetson/t210/dists/r32.4/main/binary-arm64/Packages.gz File has unexpected size (8479 != 8232). Mirror sync in progress? [IP: 92.123.212.152 443]
Hashes of expected file:
- Filesize:8232 [weak]
- SHA256:a6f3d01f9fd0b6ac4318633fe1b049f3524c3e9bc36cdda2bc0ff693570470b5
- SHA1:e7e34ada6a048427d083ae673a58c2326193ab40 [weak]
- MD5Sum:037995b9e01d2e8a4621173482b95ac4 [weak]
Release file created at: Tue, 28 Apr 2020 06:22:43 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

When calling “apt update” with some debug options “apt -o Debug::pkgAcquire::Auth=true -o Debug::Hashs=true -o Debug::pkgAcquire::Auth=true update” I get more insight but the hashes are simply wrong…

Greetings,
Tom

If this helps in nailing it down for me “repo.download.nvidia.com” maps to “repo.download.nvidia.com.edgekey.net” which maps to “e28142.d.akamaiedge.net” which resolves to “92.123.212.147” and “92.123.212.152”.

It seems specific to Jetpack 4.4 DP and not 4.3 as 4.3 updates just fine. Any idea as to when the 4.4 repository issue will be resolved?

Just following up on this issue, the repository issue seems to have been resolved for Jetpack 4.4 as it’s finishing up its install as I type :) Reading back over others posts it appears as though this occurs from time to time with no explanation.

Actually we didn’t do anything yet. Please check if this issue still happens from time to time.

Hi,

We 've cleaned up something in the CDN, please check if this issue is still there on your side. Thanks.