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

RPM/YUM Virtual Repository Only Lists Packages From The First Smart Remote Repo When Using Yum List Available Command

    Details

      Description

      RPM/YUM Virtual Repository only lists packages from the first smart remote repo when using: "yum list available".

       

      Steps to reproduce:

       

      Create Virtual repo: Rpm-virtual

      Create two smart remote repositories that are pointing to two other Artifactory local repositories:

               Rpm-remote
               Rpm-remote2

      Under /etc/yum.repo.d/     folder create “artifactory.repo” file with the following content as described under “Set Me Up” feature.

      name=Artifactory
      baseurl=http://admin:password@<host_name>:8081/artifactory/rpm-virtual
      enabled=1
      gpgcheck=0

       

      Let's assume that two smart remote repositories, that we created earlier, are listed in the following sequence in your virtual repository:

               1. Rpm-remote
               2. Rpm-remote2

      Run:
          1. sudo yum clean all
          2. sudo yum update
          3. yum list available
          4. It will list only the package from the Rpm-remote repository, because it is listed as first in the list in Virtual repository
          5. Now, go to Virtual repository and place the Rpm-remote2 as first in the list, and Rpm-remote as a second, and run the following commands:

          6.  sudo yum clean all
          7. sudo yum update
          8. yum list available
          9. It will list the packages from the Rpm-remote2 only

      It should list all packages from both remote repositories. For that reason, when running yum install <package_from_second_smart_repo>, it fails to install that package from second smart repo.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                barh Bar Haim
                Reporter:
                timt Tim Telman
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: