Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15974

repomd.xml has references to not existing files - RPM repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 2 - Critical
    • Resolution: Done
    • Affects Version/s: 5.5.0, 5.9.0, 5.8.2
    • Fix Version/s: 5.11.0
    • Component/s: RPM
    • Labels:
      None
    • Severity:
      Critical

      Description

      The encountered behavior:
      Being not able to download from an RPM repository, due to corruption of the index files.
      Re-calculation of the Index doesn't work.

      Workaround:
      Delete the entire repodata directory, and then re-index.

      Issue:
      The repomd.xml file has references to un-existing primary/filelists/other files.
      once re-calculation is triggered, it generates new index files, which are being immediately deleted, as Artifactory thinks they are the oldest ones.

      There seems to be a bug with the comparator, and this is experienced when there is a big difference between the "last modified" time of the old files and the time of the re-calculation.

      This will usually be encountered when using a repository that wasn't used for a few months.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              uriahl Uriah Levy
              Reporter:
              arielk Ariel Kabov
              Votes:
              7 Vote for this issue
              Watchers:
              14 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-15974 -
                  SYNCHRONIZED
                  • Last Sync Date: