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

Add ability to upload source packages to Debian APT repo

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.25.1
    • Fix Version/s: None
    • Component/s: APT
    • Labels:
      None
    • Environment:
      NXRM is running on Ubuntu 18.04.5

      Description

      I'm running NXRM OSS version 3.25.1-04.

      I have a small APT repository to which I can upload binary packages (.deb files). I also want to be able to upload the corresponding source packages (.dsc files).

      When I try, I see a small popup saying "Invalid header format:" and this exception pops up in the logs:

      java.io.IOException: invalid header Format:
      at org.sonatype.nexus.repository.apt.internal.org.apache.commons.compress.archivers.ar.ArArchiveInputStream.getNextArEntry(ArArchiveInputStream.java:112)
      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)}}

      (I can post the entire stack trace if needed)

      I don't sign the packages myself, because Nexus signs the .deb files when I upload them. (I'm assuming it would also sign the dsc files if I could upload them.)

      Thanks in advance for any help...
      -Steve

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stevesobol-sonatype Steve Sobol
              Last Updated By:
              Joe Tom Joe Tom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response:

                  tigCommentSecurity.panel-title