[RTFACT-16454] RPM/YUM Virtual Repository Only Lists Packages From The First Smart Remote Repo When Using Yum List Available Command Created: 17/Apr/18  Updated: 12/Aug/19  Resolved: 02/Jul/19

Status: Resolved
Project: Artifactory Binary Repository
Component/s: RPM, Smart Remote Repository, Virtual Repositories
Affects Version/s: 5.6.2, 5.10.1
Fix Version/s: 6.12.0

Type: Bug Priority: High
Reporter: Tim Telman Assignee: Bar Haim
Resolution: Fixed Votes: 2
Labels: QF, QF-P1
Environment:

fixed already at  RTFACT-18335


Issue Links:
Duplicate
is duplicated by RTFACT-18563 RPM virtual repository is listing pac... Resolved
Sprint: Pam - Sprint 1, Pam - Quality 2

 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.



 Comments   
Comment by Joe Henshaw [ 30/Apr/19 ]

Hello,

Please could we get an ETA on a fix version?

Thanks

Generated at Sun Jan 19 11:42:46 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.