SDKManager fail installation components

Hi,
When trying to install the Computer Vision or NVIDIA Container Runtime component on the Xavier AGX board with the SDKManager, it throws me the following log:

Get: 1 file: / var / visionworks-repo InRelease
Ign: 1 file: / var / visionworks-repo InRelease
Get: 2 file: / var / visionworks-repo Release [2.001 B]
Get: 2 file: / var / visionworks-repo Release [2.001 B]
Hit: 3 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit: 6 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Get: 4 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Hit: 7 https://repo.download.nvidia.com/jetson/common r32.4 InRelease
Hit: 9 https://repo.download.nvidia.com/jetson/t194 r32.4 InRelease
Get: 5 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
Ign: 10 http://ports.ubuntu.com/ubuntu-ports bionic / main arm64 DEP-11 Metadata
Get: 11 http://ports.ubuntu.com/ubuntu-ports bionic / main DEP-11 48x48 Icons [28.4 kB]
Ign: 11 http://ports.ubuntu.com/ubuntu-ports bionic / main DEP-11 48x48 Icons
Ign: 13 http://ports.ubuntu.com/ubuntu-ports bionic / main DEP-11 64x64 Icons
Ign: 14 http://ports.ubuntu.com/ubuntu-ports bionic / restricted arm64 Packages
Ign: 15 http://ports.ubuntu.com/ubuntu-ports bionic / restricted Translation-en
Ign: 16 http://ports.ubuntu.com/ubuntu-ports bionic / multiverse arm64 Packages
Ign: 17 http://ports.ubuntu.com/ubuntu-ports bionic / multiverse Translation-en
Ign: 18 http://ports.ubuntu.com/ubuntu-ports bionic / multiverse DEP-11 64x64 Icons
Get: 10 http://ports.ubuntu.com/ubuntu-ports bionic / main arm64 DEP-11 Metadata [42.7 kB]
Err: 10 http://ports.ubuntu.com/ubuntu-ports bionic / main arm64 DEP-11 Metadata
File has unexpected size (471900! = 42748). Mirror sync in progress? [IP: 91.189.88.142 80]
Hashes of expected file:

  • Filesize: 42748 [weak]
  • SHA256: 92153ab4533e27cda8dd16856f1004e6fc9a76ed8325b0d2f941483ea4541d84
  • SHA1: 66e324d67ef7fad57ca2ebb7cffa77f124d39288 [weak]
  • MD5Sum: efbf3408ca099db2462a66007d3a0350 [weak]
    Release file created at: Wed, 20 Jan 2021 08:14:05 +0000
    Get: 11 http://ports.ubuntu.com/ubuntu-ports bionic / main DEP-11 48x48 Icons [28.4 kB]
    Err: 11 http://ports.ubuntu.com/ubuntu-ports bionic / main DEP-11 48x48 Icons

Get: 13 http://ports.ubuntu.com/ubuntu-ports bionic / main DEP-11 64x64 Icons [62.4 kB]
Err: 13 http://ports.ubuntu.com/ubuntu-ports bionic / main DEP-11 64x64 Icons

Get: 14 http://ports.ubuntu.com/ubuntu-ports bionic / restricted arm64 Packages [1912 B]
Err: 14 http://ports.ubuntu.com/ubuntu-ports bionic / restricted arm64 Packages

Get: 15 http://ports.ubuntu.com/ubuntu-ports bionic / restricted Translation-en [28.8 kB]
Err: 15 http://ports.ubuntu.com/ubuntu-ports bionic / restricted Translation-en

Get: 16 http://ports.ubuntu.com/ubuntu-ports bionic / multiverse arm64 Packages [2,360 B]
Err: 16 http://ports.ubuntu.com/ubuntu-ports bionic / multiverse arm64 Packages

Get: 17 http://ports.ubuntu.com/ubuntu-ports bionic / multiverse Translation-en [2.644 B]
Err: 17 http://ports.ubuntu.com/ubuntu-ports bionic / multiverse Translation-en

Get: 18 http://ports.ubuntu.com/ubuntu-ports bionic / multiverse DEP-11 64x64 Icons [2,638 B]
Err: 18 http://ports.ubuntu.com/ubuntu-ports bionic / multiverse DEP-11 64x64 Icons

Reading package lists … Donate
E: Repository ‘http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease’ changed its ‘Suite’ value from ‘bionic-security’ to ‘bionic-updates’
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure (8) manpage for details.
E: Repository ‘http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease’ changed its ‘Suite’ value from ‘bionic-security’ to ‘bionic-backports’
E: Repository ‘http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease’ changed its default priority for apt_preferences (5) from 500 to 100.
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure (8) manpage for details.

As a note, it also throws me an error when I do sudo apt-get update.

I have done this on other occasions and it has never given me any problem, the sdkmanager is the latest release.
Does anyone know what is happening?

Thanks in advance

The error seems to be caused by Ubuntu repository update. Please use following steps to fix the issue.

  1. ssh to the Xavier AGX board, and run ‘sudo apt update’ command. Make sure the command succeeds.
  2. Run SDK Manager again, skip flashing, and only install target components.

I Seem to have some kind of error when I try to do “sudo apt update”. My result is the following:

Get:1 file:/var/visionworks-repo InRelease
Ign:1 file:/var/visionworks-repo InRelease
Get:2 file:/var/visionworks-repo Release [2.001 B]
Get:2 file:/var/visionworks-repo Release [2.001 B]
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:4 https://repo.download.nvidia.com/jetson/common r32.4 InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:6 https://repo.download.nvidia.com/jetson/t194 r32.4 InRelease
Hit:7 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:8 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Ign:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 DEP-11 Metadata
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/main DEP-11 48x48 Icons [28,4 kB]
Ign:11 http://ports.ubuntu.com/ubuntu-ports bionic/main DEP-11 48x48 Icons
Ign:13 http://ports.ubuntu.com/ubuntu-ports bionic/main DEP-11 64x64 Icons
Ign:14 http://ports.ubuntu.com/ubuntu-ports bionic/restricted arm64 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports bionic/restricted Translation-en
Ign:16 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse Translation-en
Ign:18 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse DEP-11 64x64 Icons
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 DEP-11 Metadata [42,7 kB]
Err:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 DEP-11 Metadata
File has unexpected size (471900 != 42748). Mirror sync in progress? [IP: 91.189.88.142 80]
Hashes of expected file:

  • Filesize:42748 [weak]
  • SHA256:92153ab4533e27cda8dd16856f1004e6fc9a76ed8325b0d2f941483ea4541d84
  • SHA1:66e324d67ef7fad57ca2ebb7cffa77f124d39288 [weak]
  • MD5Sum:efbf3408ca099db2462a66007d3a0350 [weak]
    Release file created at: Wed, 20 Jan 2021 08:14:05 +0000
    Get:11 http://ports.ubuntu.com/ubuntu-ports bionic/main DEP-11 48x48 Icons [28,4 kB]
    Err:11 http://ports.ubuntu.com/ubuntu-ports bionic/main DEP-11 48x48 Icons

Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main DEP-11 64x64 Icons [62,4 kB]
Err:13 http://ports.ubuntu.com/ubuntu-ports bionic/main DEP-11 64x64 Icons

Get:14 http://ports.ubuntu.com/ubuntu-ports bionic/restricted arm64 Packages [1.912 B]
Err:14 http://ports.ubuntu.com/ubuntu-ports bionic/restricted arm64 Packages

Get:15 http://ports.ubuntu.com/ubuntu-ports bionic/restricted Translation-en [28,8 kB]
Err:15 http://ports.ubuntu.com/ubuntu-ports bionic/restricted Translation-en

Get:16 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 Packages [2.360 B]
Err:16 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 Packages

Get:17 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse Translation-en [2.644 B]
Err:17 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse Translation-en

Get:18 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse DEP-11 64x64 Icons [2.638 B]
Err:18 http://ports.ubuntu.com/ubuntu-ports bionic/multiverse DEP-11 64x64 Icons

Reading package lists… Done
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/dep11/Components-arm64.yml.xz File has unexpected size (471900 != 42748). Mirror sync in progress? [IP: 91.189.88.142 80]
Hashes of expected file:
- Filesize:42748 [weak]
- SHA256:92153ab4533e27cda8dd16856f1004e6fc9a76ed8325b0d2f941483ea4541d84
- SHA1:66e324d67ef7fad57ca2ebb7cffa77f124d39288 [weak]
- MD5Sum:efbf3408ca099db2462a66007d3a0350 [weak]
Release file created at: Wed, 20 Jan 2021 08:14:05 +0000
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/dep11/icons-48x48.tar.gz
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/main/dep11/icons-64x64.tar.gz
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/restricted/binary-arm64/Packages.xz
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/restricted/i18n/Translation-en.xz
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/multiverse/binary-arm64/Packages.xz
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/multiverse/i18n/Translation-en.xz
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/bionic/multiverse/dep11/icons-64x64.tar.gz
E: Some index files failed to download. They have been ignored, or old ones used instead.

Any ideas to fix it?

One of the mentioned URLs is:
http://ports.ubuntu.com/ubuntu-ports/dists/bionic/multiverse/dep11/icons-64x64.tar.gz

If you try to access this in a web browser, does it offer to view or download the file? For myself it does offer to download.

If there was some sort of multiverse update going on, then perhaps it was a temporary issue. If this still fails for you, then perhaps there is a stale temp file or cache issue.

FYI, there are various repositories for Ubuntu depending on what sort of software the installer is looking at. The “main”, “restricted”, and “multiverse” are just different categories, none of which are controlled by NVIDIA (they are Ubuntu repositories). Knowing if you can copy the URL and access it from a browser, or not, would be useful debug information.