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

Unable to resolve specific versions of packages from choco client

    XMLWordPrintable

    Details

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

      Description

      Problem description:

      **While trying to resolve specific packages from the 'choco' client through Artifactory, the packages aren't being resolved and errors printed are:

      'The package was not found with the sources listed'

      'the package may not be found'

      'It is possible that version does not exist for chocolatey at the source specified'

      Expected Behavior: 

       To be able to pull the packages if they are available in the remote repo

      Steps to reproduce: 

      1. Run a windows machine and install a choco client.
      2. Create a remote nuget repository pointing to 'https://www.chocolatey.org'
      3. Try resolving the below package with the exact command:(You may change the server 'omertesting' to your server, which points to the remote choco)

       

      choco install chocolatey --version 1.0.0 --verbose --exact --noop -y -r  --ignoredependencies --acceptlicense -s 'https://omertesting.jfrog.io/artifactory/api/nuget/nuget-choco-remote' -u admin -p password
      

            4. Errors will be printed on screen; the package with version 1.0.0 won't be resolved

            5. You may pull another package with Artifactory, for example 1.1.0 with the exact command mentioned above. It should work as expected.

            6. Bypassing Artifactory to pull the package directly from https://www.chocolatey.org works as expected:

       

      choco install chocolatey --version 1.0.0 --verbose --exact --noop -y -r  --ignoredependencies --acceptlicense
      

       

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              omerb Omer Borshan
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Sync Status

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