Re: python nosignatures/digests in rpm 4.4.1?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-03-08 at 21:10 -0500, Matthew Miller wrote:
> I have a little python script I use to identify and remove duplicate RPMs
> from a tree. Since for this purpose I don't need to check signatures (and in
> fact, don't want to -- some of the packages might not be signed with a key
> that I consider "trusted" for my purposes). So, I'd been doing:
> 
>   ts = rpm.TransactionSet()
>   ts.setVSFlags(~(rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS))
> 
> This has the additional benefit of speeding the thing up by a factor of,
> like, twenty.
> 
> Anyway, we're finally getting around to doing FC4/FC5 stuff, and I
> discovered that, while the script *works* fine, it now dies if it hits an
> unsigned package -- the above incantation notwithstanding. And it seems like
> it's running pretty slowly. So my impression is that the flags now don't
> actually do anything.
> 
> I couldn't find anything about this in the changelog... can anyone point me
> in the right direction? Thanks!

while it might not be the answer you're looking for - repomanage in the
yum-utils package does what you want and I know it works on fc4/fc5.

it's a very simple script and you might consider looking at it for what
you want to do.

-sv


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux