Description of problem: Package, which is renamed, is not available for the client. It can be uploaded with new name. On CDS - in /var/lib/pulp-cds/packages and /var/lib/pulp-cds/repos/our_repo is new package with old name. But client can't see the package (neither new nor old name). Version-Release number of selected component (if applicable): RHEL-6.3-RHUI-2.1-20120801.0-Server-x86_64-DVD1.iso How reproducible: always Steps to Reproduce: 1. on RHUA: 1.1. have some package 1.2. rename the package with mv command 1.3. upload package to custom repository 1.4. synchronize CDS 2. on client 2.1. yum clean all 2.2. yum repolist (number of repolist is incremented correctly) 2.3. yum list available Actual results: new package is available Expected results: nothing (new package is not available)
There is meta data that is not simply changed by using mv.. You will need to rebuild the rpm after changing the rpm specfile. I suggest building a couple custom rpms to work with.
whoops broke my own rule.. instead of closing, moving to on_qa. Further explanation.. The spec file for the rpm needs to be changed, specifically the "name" value in the spec file..
Yes, I understand. But it doesn't solve problem, that RHUI let me upload this package, the package is on CDS, but it's not available for the client.. Moving bug to ON_DEV.
Is the "old" package (it's actually the same package to yum) already installed on the client? Can we see output from "rpm -qa" and "yum list all" on the client? As well as what the original package filename was, and what mv commands you ran. Thanks
I'm sorry. It doesn't relate to renaming. I was trying this with source packages and these aren't available for the client.. Moving bug to CLOSED - NOTABUG.
Created attachment 603513 [details] screen log