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

RPMs with non-zero epoch are incorrectly recorded in primary.xml in hosted repositories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.9.0, 3.13.0, 3.14.0
    • Fix Version/s: 3.17.0
    • Component/s: Yum
    • Labels:

      Description

      RPMs with non-zero epoch have missing epoch attribute in <rpm:provides>
      element of the primary.xml database. This causes yum to fail during depsolve when such packages are being used.

      Specific case: I have a subset of packages from official centos7 repositories that I keep in a hosted yum repository. The failing package is dhclient (which uses epoch value "12"), resolved as a dependency of NetworkManager.

      Comparsion of primary.xml from nexus with the one created by createrepo shows the differences. Both files are attached.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jstephens Joseph Stephens
              Reporter:
              Nemes Antal Nemes
              Last Updated By:
              Peter Lynch Peter Lynch
              Team:
              NXRM - Cypher
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title