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

Debian virtual repositories not being re-indexed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 7.11.5
    • Fix Version/s: None
    • Component/s: Debian
    • Labels:
      None
    • Severity:
      Medium

      Description

      It appears the the debian virtual repositories do not get automatically re-indexed when a change is made to the encapsulated repositories within it.

      This is particularly noticeable when an package is removed. For example, Ubuntu security releases a new version of a package, and removes the old one - the Release file still reports the old version to the Debian client, when then produces a 404 when trying to fetch that package version.

      I believe I have also reproduced this with a local Debian repo under the virtual one also (but my memory is slightly faded on that one).

      Manually triggering a re-index 'fixes' it (until it goes out of date again).

      The problem does not appear to affect the remote repositories themselves (i.e. at the time when the error is present, hitting an ubuntu-security-remote repo directly does not exhibit the 404 behavior, but the same repo wrapped in a virtual repo does).

      Work around's: Avoid virtual repos, or cron-job to trigger a re-index daily

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              bd0007 B D
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: