05-10-2024 04:26 AM
Ubuntu 22.04 doing "sudo apt update" I get the following package error. Which has persisted for a while. Have tried "apt purge" and "apt clean" commands without success
Err:10 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni i386 Packages
Fetched 232 kB in 1s (174 kB/s)
Reading package lists... Done
E: Failed to fetch https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy/dists/jammy/ni/binary-amd64/Packages.gz File has unexpected size (89020 != 89369). Mirror sync in progress? [IP: 104.17.118.104 443]
Hashes of expected file:
- Filesize:89369 [weak]
- SHA256:ccd8400dec853e1a40d67236ce01b134020703a27875bbe975dc32bef08e64bb
- SHA1:deeac0e02f630fab6bdec9d693c2ddf6e1b8de42 [weak]
- MD5Sum:3b25ced31ae0ea5a9b2b496daedf37d6 [weak]
Release file created at: Fri, 05 Apr 2024 01:08:30 +0000
E: Failed to fetch https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy/dists/jammy/ni/binary-i386/Packages.gz
05-10-2024 04:53 AM
Ironically, this has now resolved itself 🙂
05-13-2024 10:04 AM - edited 05-13-2024 10:05 AM
I am facing a similar issue. Not sure why this still appears
E: Failed to fetch https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy/dists/jammy/ni/binary-i386/Packages.gz File has unexpected size (27897 != 27986). Mirror sync in progress? [IP: ....]
Hashes of expected file:
- Filesize:27986 [weak]
- SHA256:034d9698ab8bce3bdc798dd225bb2b12b077c43da8a5a94f6aea59e47ba07794
- SHA1:df0d15ba2f433ded079b0f9814014a5456beb545 [weak]
- MD5Sum:5467a797dae7c4319eb6aad7d3684454 [weak]
Release file created at: Fri, 05 Apr 2024 01:08:30 +0000
I tried reinstalling the RIO modules as well as the usrp-host package, cleaned apt sources (including explicitly removing and refetching /etc/apt/sources.list.d), and have retried over the span of a few hours.
08-07-2024 02:52 PM - edited 08-07-2024 03:03 PM
Hello Everyone,
Does anyone have a fix for this issue or we just hope that it gets resolved on it own and not use any NI-packages till then. As I'm not able to install any of the NI packages (even from old fetched repository, as I this is first time I'm setting up ni repository).
Here are the errors I get,Err:7 https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy/ni i386 Packages
File has unexpected size (27940 != 27986). Mirror sync in progress? [IP: xxx.xxx.xxx.xxx]
Hashes of expected file:
- Filesize:27986 [weak]
- SHA256:034d9698ab8bce3bdc798dd225bb2b12b077c43da8a5a94f6aea59e47ba07794
- SHA1:df0d15ba2f433ded079b0f9814014a5456beb545 [weak]
- MD5Sum:5467a797dae7c4319eb6aad7d3684454 [weak]
Release file created at: Fri, 05 Apr 2024 01:08:30 +0000
08-11-2024 05:06 PM
I am also seeing these errors when trying to install the stream version of the NI drivers in Ubuntu (22.04). Anything from NI on when this will be fixed?
08-13-2024 01:27 AM
@DLJ wrote:
I am also seeing these errors when trying to install the stream version of the NI drivers in Ubuntu (22.04). Anything from NI on when this will be fixed?
The file at https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy/dists/jammy/ni/binary-i386/Packages.gz has been updated to the latest version, but the previous version is still cached in /var/lib/apt/lists/, leading to the mismatch error. Please try running the following commands to clear and update the cache.
sudo rm /var/lib/apt/lists/*ni-linux-desktop*
sudo apt-get update