07-25-2022 04:58 AM
Hi!
Similar to this question: https://forums.ni.com/t5/NI-Package-Manager-NIPM/Linux-NI-device-drivers/td-p/4096945
I am working on Ubuntu 20.04 LTS and installed ni-ubuntu2004firstlook-drivers-stream.deb from this download page (version 21.5). Following the installation manual, i executed apt update afterwards. This was the result:
sudo apt update
Hit:1 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:5 http://packages.microsoft.com/repos/code stable InRelease
Ign:6 https://download.ni.com/ni-linux-desktop/stream/deb/ni/focal focal InRelease
Err:7 https://download.ni.com/ni-linux-desktop/stream/deb/ni/focal focal Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 104.16.191.245 443]
Reading package lists... Done
E: The repository 'https://download.ni.com/ni-linux-desktop/stream/deb/ni/focal focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Is the SSL certificate expired?
Additionally i tried updating with SSL verification disabled, which showed the following error:
sudo apt -o "Acquire::https::Verify-Peer=false" update
Hit:1 http://gb.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Hit:5 http://packages.microsoft.com/repos/code stable InRelease
Get:6 https://download.ni.com/ni-linux-desktop/stream/deb/ni/focal focal InRelease [3,064 B]
Get:7 https://download.ni.com/ni-linux-desktop/stream/deb/ni/focal focal/ni amd64 Packages [74.6 kB]
Err:7 https://download.ni.com/ni-linux-desktop/stream/deb/ni/focal focal/ni amd64 Packages
File has unexpected size (82139 != 74593). Mirror sync in progress? [IP: 104.16.190.245 443]
Hashes of expected file:
- Filesize:74593 [weak]
- SHA256:081a36fee6ba271a1a2e2ea812b19be9c365b925671fa5e5411b1a5af295f483
- SHA1:68c9b63dbd6791f523cd025a931431524c1126a3 [weak]
- MD5Sum:de8411a9936d2fa47c16929eac0473e0 [weak]
Release file created at: Sat, 09 Apr 2022 13:45:34 +0000
Get:8 https://download.ni.com/ni-linux-desktop/stream/deb/ni/focal focal/ni i386 Packages [24.6 kB]
Fetched 364 kB in 2s (211 kB/s)
Reading package lists... Done
E: Failed to fetch https://download.ni.com/ni-linux-desktop/stream/deb/ni/focal/dists/focal/ni/binary-amd64/Packages.gz File has unexpected size (82139 != 74593). Mirror sync in progress? [IP: 104.16.190.245 443]
Hashes of expected file:
- Filesize:74593 [weak]
- SHA256:081a36fee6ba271a1a2e2ea812b19be9c365b925671fa5e5411b1a5af295f483
- SHA1:68c9b63dbd6791f523cd025a931431524c1126a3 [weak]
- MD5Sum:de8411a9936d2fa47c16929eac0473e0 [weak]
Release file created at: Sat, 09 Apr 2022 13:45:34 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
What could be the issue?
08-29-2022 09:53 AM
Hi max__,
Did you ever resolve this? I'd recommend reposting to NI Linux User Group if this is something you're still hoping to resolve.
-dousley