Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-24848

APT repository Error - Writing more data than expected

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.25.1
    • APT

    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

          Activity

            People

              Unassigned Unassigned
              hard Evgeny
              Joe Tom Joe Tom
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                tigCommentSecurity.panel-title