[Pulp-list] Copying newest RPM versions from one repo to another

Barnaby Court bcourt at redhat.com
Tue Mar 31 12:53:58 UTC 2015


Hi Paul,

I don't know of a good way to copy only the latest version of a given RPM.  For you second question, if the RPMs have the same versions & checksum then duplicates will not be created. If either the version or the checksum is different then a new RPM unit will be created in the repo. If you are trying to copy an existing rpm with a new file that has a different checksum but the same everything else a new unit will be created as the source content is considered to be different. Regards,

-Barnaby

----- Original Message -----
From: "Paul Urwin" <me at paulurwin.com>
To: pulp-list at redhat.com
Sent: Tuesday, March 31, 2015 4:59:45 AM
Subject: Re: [Pulp-list] Copying newest RPM versions from one repo to another



Hi everyone, 

I'm guessing from the silence that this isn't straightforward? 

'Copy all packages from repo A into repo B but only copy the newest version of each' 

Or 

'Copy all packages from repo A to repo B, then remove any duplicate older versions from repo B' 

Any ideas? 

Cheers, 

Paul 

On Mon, 23 Mar 2015 13:20 Paul Urwin < me at paulurwin.com > wrote: 




Hi folks, 

Is it possible to construct a command in pulp-admin to copy the newest version of each RPM package in the original repo into the target repo? 

Thanks! 

Paul 

_______________________________________________
Pulp-list mailing list
Pulp-list at redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list




More information about the Pulp-list mailing list