Sudo apt-get update issue

Ok, now I’m having the same problem. New Install of Jetson AGX Xavier. The SDK installer kept failing installing the target tools and eventually I traced it down to this.

$ sudo apt update
Hit:1 https://repo.download.nvidia.com/jetson/common r32.4 InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:3 https://repo.download.nvidia.com/jetson/t194 r32.4 InRelease [2,565 B]   
Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease            
Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Get:7 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages [20.5 kB]
Err:7 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages
  File has unexpected size (16348 != 20547). Mirror sync in progress? [IP: 23.38.112.80 443]
  Hashes of expected file:
   - Filesize:20547 [weak]
   - SHA256:4d91f844a54139dc1f90943be413599f35f6955eb5ad576a28ee5a865a845ddf
   - SHA1:ca8b7235d5af9a8f62e5d7681690df304a3898aa [weak]
   - MD5Sum:702c20f887d4d08a0293e31e4401db6f [weak]
  Release file created at: Wed, 21 Oct 2020 14:36:39 +0000
Fetched 2,565 B in 3s (984 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 (16348 != 20547). Mirror sync in progress? [IP: 23.38.112.80 443]
   Hashes of expected file:
    - Filesize:20547 [weak]
    - SHA256:4d91f844a54139dc1f90943be413599f35f6955eb5ad576a28ee5a865a845ddf
    - SHA1:ca8b7235d5af9a8f62e5d7681690df304a3898aa [weak]
    - MD5Sum:702c20f887d4d08a0293e31e4401db6f [weak]
   Release file created at: Wed, 21 Oct 2020 14:36:39 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
jetson@Xavier:~$ 

I’ve been having this problem all day. Multiple clean installs and fresh flashes of the Xavier kit. This is clearly a recurring issue. Can someone at NVIDIA please fix this?

Not that I think it matters, but since it’s been asked before, I’ve tried running this repeatedly from maybe 10:00 to now, 1:30, US Eastern time.

Hi john.c.schwartz,

Not sure if issue has been resolved, if not, please help to open a new topic for your issue. Thanks

Still getting the same issue on update File has unexpected size (16348 != 20547). Mirror sync in progress? @WayneWWW

nvidia@nvidia-desktop:~$ cat /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
nvidia@nvidia-desktop:~$ sudo apt-get clean
nvidia@nvidia-desktop:~$ sudo apt-get update
Get:1 file:/var/cuda-repo-10-2-local-10.2.89 InRelease
Ign:1 file:/var/cuda-repo-10-2-local-10.2.89 InRelease
Get:2 file:/var/cuda-repo-10-2-local-10.2.89 Release [574 B]
Get:2 file:/var/cuda-repo-10-2-local-10.2.89 Release [574 B]
Hit:3 https://repo.download.nvidia.com/jetson/common r32.4 InRelease
Hit:4 Index of /ubuntu-ports bionic InRelease
Get:5 https://repo.download.nvidia.com/jetson/t194 r32.4 InRelease [2,565 B]
Hit:7 Index of /ubuntu-ports bionic-updates InRelease
Hit:8 Index of /ubuntu-ports bionic-backports InRelease
Hit:9 Index of /ubuntu-ports bionic-security InRelease
Get:10 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages [20.5 kB]
Err:10 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages
File has unexpected size (16348 != 20547). Mirror sync in progress? [IP: 23.194.190.169 443]
Hashes of expected file:

  • Filesize:20547 [weak]
  • SHA256:4d91f844a54139dc1f90943be413599f35f6955eb5ad576a28ee5a865a845ddf
  • SHA1:ca8b7235d5af9a8f62e5d7681690df304a3898aa [weak]
  • MD5Sum:702c20f887d4d08a0293e31e4401db6f [weak]
    Release file created at: Wed, 21 Oct 2020 14:36:39 +0000
    Fetched 2,565 B in 2s (1,456 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 (16348 != 20547). Mirror sync in progress? [IP: 23.194.190.169 443]
    Hashes of expected file:
    - Filesize:20547 [weak]
    - SHA256:4d91f844a54139dc1f90943be413599f35f6955eb5ad576a28ee5a865a845ddf
    - SHA1:ca8b7235d5af9a8f62e5d7681690df304a3898aa [weak]
    - MD5Sum:702c20f887d4d08a0293e31e4401db6f [weak]
    Release file created at: Wed, 21 Oct 2020 14:36:39 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.

Same here @kayccc

Err:10 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages
File has unexpected size (20547 != 16348). Mirror sync in progress? [IP: 2.23.84.222 443]
Hashes of expected file:
 - Filesize:16348 [weak]
 - SHA256:8859c6b21ae2b670e4f61c112e14312fc6af680cc972b0810ca1560e3d77ceb2
 - SHA1:75b6c30fbfa9ef08aa42375e48045214b24c786e [weak]
 - MD5Sum:000df3cc102579db84a10ca1430f2744 [weak]
Release file created at: Thu, 08 Oct 2020 08:32:21 +0000
Fetched 2 562 B in 2s (1 311 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 (20547 != 16348). Mirror sync in progress? [IP: 2.23.84.222 443]
 Hashes of expected file:
  - Filesize:16348 [weak]
  - SHA256:8859c6b21ae2b670e4f61c112e14312fc6af680cc972b0810ca1560e3d77ceb2
  - SHA1:75b6c30fbfa9ef08aa42375e48045214b24c786e [weak]
  - MD5Sum:000df3cc102579db84a10ca1430f2744 [weak]
 Release file created at: Thu, 08 Oct 2020 08:32:21 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

Same here. I ran
sudo apt-get update
on a fresh installation and got the following:

Get:20 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages [20.5 kB]
Err:20 https://repo.download.nvidia.com/jetson/t194 r32.4/main arm64 Packages
File has unexpected size (16348 != 20547). Mirror sync in progress? [IP: 23.194.190.169 443]
Hashes of expected file:

  • Filesize:20547 [weak]
  • SHA256:4d91f844a54139dc1f90943be413599f35f6955eb5ad576a28ee5a865a845ddf
  • SHA1:ca8b7235d5af9a8f62e5d7681690df304a3898aa [weak]
  • MD5Sum:702c20f887d4d08a0293e31e4401db6f [weak]
    Release file created at: Wed, 21 Oct 2020 14:36:39 +0000
    Fetched 2,565 B in 3s (778 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 (16348 != 20547). Mirror sync in progress? [IP: 23.194.190.169 443]
    Hashes of expected file:
    - Filesize:20547 [weak]
    - SHA256:4d91f844a54139dc1f90943be413599f35f6955eb5ad576a28ee5a865a845ddf
    - SHA1:ca8b7235d5af9a8f62e5d7681690df304a3898aa [weak]
    - MD5Sum:702c20f887d4d08a0293e31e4401db6f [weak]
    Release file created at: Wed, 21 Oct 2020 14:36:39 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.

Same issue here, it has been going on since Oct 30th at least. The problematic file is:

https://repo.download.nvidia.com/jetson/common/dists/r32.4/InRelease

There seems to be an outdated version of this file on the CDN. Here it is.

https://pastebin.com/McY1QANL

I have been able to work around the issue by adding an entry for repo.download.nvidia.com to my /etc/hosts file.

95.100.95.160 repo.download.nvidia.com

2 Likes

Just did a fresh install and get
`user@user-desktop:~$ sudo apt-get update
[sudo] password for user:
Hit:1 https://repo.download.nvidia.com/jetson/common r32.5 InRelease
Get:2 https://repo.download.nvidia.com/jetson/t186 r32.5 InRelease [2,561 B]
Hit:3 Index of /ubuntu-ports bionic InRelease
Hit:4 Index of /ubuntu-ports bionic-updates InRelease
Hit:5 Index of /ubuntu-ports bionic-backports InRelease
Hit:6 Index of /ubuntu-ports bionic-security InRelease
Get:7 https://repo.download.nvidia.com/jetson/t186 r32.5/main arm64 Packages [18.0 kB]
Err:7 https://repo.download.nvidia.com/jetson/t186 r32.5/main arm64 Packages
File has unexpected size (18512 != 18039). Mirror sync in progress? [IP: 104.93.21.89 443]
Hashes of expected file:

  • Filesize:18039 [weak]
  • SHA256:16750924cb0ea9e1c24fe42eb36f8b4deeb46ca37be93b9dfe925860780b1090
  • SHA1:a764566161b3d34ac509e0e725c47a5b5a2a8e36 [weak]
  • MD5Sum:46176352024c08e1d53b5e8f6e6388ba [weak]
    Release file created at: Wed, 26 May 2021 17:02:50 +0000
    Fetched 2,561 B in 1s (1,707 B/s)
    Reading package lists… Done
    E: Failed to fetch https://repo.download.nvidia.com/jetson/t186/dists/r32.5/main/binary-arm64/Packages.gz File has unexpected size (18512 != 18039). Mirror sy]
    Hashes of expected file:
    - Filesize:18039 [weak]
    - SHA256:16750924cb0ea9e1c24fe42eb36f8b4deeb46ca37be93b9dfe925860780b1090
    - SHA1:a764566161b3d34ac509e0e725c47a5b5a2a8e36 [weak]
    - MD5Sum:46176352024c08e1d53b5e8f6e6388ba [weak]
    Release file created at: Wed, 26 May 2021 17:02:50 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead. `
1 Like