[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: python nosignatures/digests in rpm 4.4.1?
- From: seth vidal <skvidal linux duke edu>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: python nosignatures/digests in rpm 4.4.1?
- Date: Wed, 08 Mar 2006 21:32:02 -0500
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]