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

Upload of debian package fails with exception

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.18.1, 3.23.0, 3.29.2
    • APT
    • 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

            Unassigned Unassigned
            rseddon Rich Seddon
            Joe Tom Joe Tom
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              tigCommentSecurity.panel-title