Description
We use latest Nexus OSSĀ 3.25.1-04
When simultaneously publishing packages to the apt repository and updating the list of packages on local machines using the apt-get update command, we get an error:
E: Failed to fetch https://nexus.company.com/repository/apt-repo/dists/portal/main/binary-all/Packages Writing more data than expected (612553 > 611061)
E: Some index files failed to download. They have been ignored, or old ones used instead.
We tried to remove these errors on the server side using options:
cat /etc/apt/apt.conf.d/80nexus Acquire::https::No-Cache "true"; Acquire::http::No-Cache "true"; Acquire::By-Hash "yes"; Acquire::CompressionTypes::Order:: "gz";
this did not help, errors are also saved.
The problem is on the Nexus side - since the InRelease and Packages files are not updated at the same time-this leads to this error.
Attachments
Issue Links
- is related to
-
NEXUS-25386 APT repository inconsistent during uploads
-
- Open
-