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

Upload of debian package fails with exception

    Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.18.1, 3.23.0, 3.29.2
    • Fix Version/s: None
    • Component/s: APT
    • Labels:
    • Notability:
      3

      Description

      Attempting to upload the "SentinelAgent_linux_v4_0_3_11.deb" debian package to a hosted APT repository fails with an exception:

      2020-06-03 12:44:38,215-0500 ERROR [qtp1103812860-204] admin org.sonatype.nexus.coreui.UploadResource - Unable to perform upload to repository elc-required
      java.io.IOException: invalid entry trailer. not read the content? Occured at byte: 10420954
      at org.sonatype.nexus.repository.apt.internal.org.apache.commons.compress.archivers.ar.ArArchiveInputStream.getNextArEntry(ArArchiveInputStream.java:146)
      at org.sonatype.nexus.repository.apt.internal.org.apache.commons.compress.archivers.ar.ArArchiveInputStream.getNextEntry(ArArchiveInputStream.java:240)
      at org.sonatype.nexus.repository.apt.internal.AptPackageParser.parsePackage(AptPackageParser.java:45)
      at org.sonatype.nexus.repository.apt.AptUploadHandler.handle(AptUploadHandler.java:72)
      at org.sonatype.nexus.repository.upload.internal.UploadManagerImpl.handle(UploadManagerImpl.java:98)

      This package can be listed and extracted using standard dpkg tooling, and it can be installed with apt. So it seems like this is a bug on our side?
       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Joe Tom Joe Tom
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title