[Rpm-metadata] createrepo not generate deltarpm in case of update

Farkas Levente lfarkas at lfarkas.org
Wed Nov 28 11:47:22 UTC 2012


On 11/27/2012 09:06 PM, James Antill wrote:
> On Tue, 2012-11-20 at 13:56 +0100, Farkas Levente wrote:
>> hi,
>> if i run this command:
>> createrepo --update --deltas --num-deltas 20 --oldpackagedirs x x
>> then it never generate drpms while if i remove --update ie:
>> createrepo --deltas --num-deltas 20 --oldpackagedirs x x
>> it's generate. why? i'd like to use --update since it's a rather large
>> repo and only a very small portion change, but i also like to generate
>> drpms for the updated packages.
> 
>  I assume you mean it doesn't generate deltas for packages it's already
> found in the metadata?
>  At a guess that was probably a time saving thing, and/or just never
> thought to be needed. What is the usecase you need it for (where you are
> doing an update but don't have deltas for the old packages?)

i mean if there is a
a-1.0
in the repo and i add
a-1.1
then it won't generate delta between a-1.0 and a-1.1.
while this is the most common use case:-)

-- 
  Levente                               "Si vis pacem para bellum!"


More information about the Rpm-metadata mailing list