Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.5.0
    • Fix Version/s: None
    • Component/s: RPM
    • Labels:

      Description

      Symptoms: The yum client will not work with packages stored in a local RPM repository, when pulling through a remote works fine.

      Steps to reproduce:

      1. Create a remote repository to https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/
      2. Pull a package from the remote (EX: Zoo)
        wget http://artifactory:8081/artifactory/rpm-aix/zoo/zoo-2.10-5.aix5.1.ppc.rpm
      3. Copy the package to a local repository
      4. Compare the repodata/*-primary.xml.gz files:

      [Remote repo - zoo-2.10-5.aix5.1.ppc.rpm]
      <rpm:provides>
      <rpm:entry name="zoo" flags="EQ" epoch="0" ver="2.10" rel="5"/>
      </rpm:provides>

      [local artifactory - zoo-2.10-5.aix5.1.ppc.rpm]
      <rpm:provides/>

       

      For further comparison, you can download the non-AIX RPM zoo file and observe the correct tags are generated in a local Artifactory repository:

      [Public non-AIX RPM - zoo-2.10-2.2.el6.rf.x86_64.rpm]
      <rpm:provides>
      <rpm:entry name="zoo" flags="EQ" epoch="0" ver="2.10" rel="2.2.el6.rf"/>
      <rpm:entry name="zoo(x86-64)" flags="EQ" epoch="0" ver="2.10" rel="2.2.el6.rf"/>
      </rpm:provides>

       

      No errors are produced in the Artifactory logs, the only entries that indicate any kind of problem are trace debug logs:

       

      2018-10-26 21:33:19,083 [art-exec-7] [DEBUG] (o.a.a.y.i.ArtifactoryRpmArtifact:72) - Acquiring the content stream of 'rpm-zoo:zoo/zoo-2.10-5.aix5.1.ppc.rpm'

      [...]

      2018-10-26 21:33:19,085 [art-exec-7] [TRACE] (o.j.m.e.RpmFormatReader:79) - Signature ended at '72' and contained '2' headers (expected '0').
      2018-10-26 21:33:19,085 [art-exec-7] [TRACE] (o.j.m.e.RpmFormatReader:89) - Header ended at '2696 and contained '42' headers (expected '0').

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              patrickr Patrick Russell
            • Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: