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

Debian remote repository doesn't work when "Store Artifacts Locally" is disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.29.7, 7.31.10
    • Fix Version/s: None
    • Component/s: Debian
    • Labels:
      None
    • Severity:
      Medium
    • Location:
      External

      Description

      Problem description:

      Source packages are not working with remote repositories if caching is disabled.

      Steps to reproduce:
      1. Create a new Debian remote repository to http://deb.debian.org/debian and remove the Store Artifacts Locally option in the Repository
      2. On Debian 10 OS, edit the sources.list file with following content
      deb-src https://art.local/artifactory/debian-proxy buster main
      3. Run: sudo apt-get update
      Get:4 https://art.local/artifactory/debian-proxy buster InRelease [122 kB]
      Get:5 https://art.local/artifactory/debian-proxy buster/main Sources [7837 kB]
      Fetched 7958 kB in 2s (3241 kB/s)
      Reading package lists... Done
      4. Run : apt source fuse3
      Reading package lists... Done
      Need to get 1037 kB of source archives.
      Get:1 https://art.local/artifactory/debian-proxy buster/main fuse3 3.4.1-1+deb10u1 (dsc) [2359 B]
      Get:2 https://art.local/artifactory/debian-proxy buster/main fuse3 3.4.1-1+deb10u1 (tar) [1016 kB]
      Get:3 https://art.local/artifactory/debian-proxy buster/main fuse3 3.4.1-1+deb10u1 (asc) [1012 B]
      Err:3 https://art.local/artifactory/debian-proxy buster/main fuse3 3.4.1-1+deb10u1 (asc)
      File has unexpected size (801 != 1012). Mirror sync in progress? [IP: 13.229.43.1 443]
      Hashes of expected file:

      • SHA256:88f7b14e0076d1af3ed94878b7119b9ff0b25263bc7081c56302d2ba84951385
      • Filesize:1012 [weak]
      • MD5Sum:fdca5932226581b862b80913ee667ace [weak]
        Get:4 https://art.local/artifactory/debian-proxy buster/main fuse3 3.4.1-1+deb10u1 (diff) [17.0 kB]
        Fetched 1036 kB in 3s (358 kB/s)
        W: Download is performed unsandboxed as root as file 'fuse3_3.4.1-1+deb10u1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
        E: Failed to fetch https://art.local/artifactory/debian-proxy/pool/main/f/fuse3/fuse3_3.4.1.orig.tar.xz.asc File has unexpected size (801 != 1012). Mirror sync in progress? [IP: XXXXX 443]
        Hashes of expected file:
      • SHA256:88f7b14e0076d1af3ed94878b7119b9ff0b25263bc7081c56302d2ba84951385
      • Filesize:1012 [weak]
      • MD5Sum:fdca5932226581b862b80913ee667ace [weak]
        E: Failed to fetch some archives.

      What is the impact:
      We will not be able to uncheck the "Store Artifacts Locally" option for Debian repositories.

      What is the expected behavior?
      The Debian client should be able to resolve artifacts without any issues even after unchecking the "Store Artifacts Locally" option.

      Environment details:  
      Artifactory 7.31.10 with any supported database.

      Workaround

      No workaround other than enabling this option 

       

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              tataraov Tatarao Vana
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

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