Re: python nosignatures/digests in rpm 4.4.1?

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

 




On Mar 8, 2006, at 10:15 PM, Matthew Miller wrote:

out of curiosity why do you want a list of duplicates? I've found I
typically want a list old pkgs - though adding 'list duplicates' would be extremely trivial for repomanage and if you'd like to do that, do so
and send me a patch. I'll merge it.

Um, now that I think about it, a list of duplicates and a list of old
packages are probably actually exactly synonymous, 'cause I actually mean
"old packages which duplicate current packages". :)


Add this to /etc/popt:

rpm alias --dupes --qf '%|SOURCERPM?{%{name}.%{arch}}:{%|ARCH?{% {name}}:{%{name}-%{version}}|}|\n' --pipe "sort | uniq -d" \
        --POPTdesc=$"list duplicated packages"

Invoke as
     rpm -qa --dupes
or
    rpm -qp --dupes *.rpm

And it appears that the flag I want is simply rpm._RPMVSF_NOPAYLOAD. (And it
can be set only the once.)


Add --stats to see what time various operations take. If NOPAYLOAD is affecting,
then you have *lots* of packages with old header+payload signatures.

hth

73 de Jeff

_______________________________________________
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