Script to identify source of RPM
Manuel Wolfshant
wolfy at nobugconsulting.ro
Tue Jul 21 00:02:59 UTC 2009
On 07/20/2009 10:25 PM, Jon Stanley wrote:
> On Mon, Jul 20, 2009 at 9:38 AM, Michael Stahnke<mastahnke at gmail.com> wrote:
>
>
>> First off, thanks for this. Secondly, would it be possible to comma
>> separate the rpm,repo ? Then it's easily grep-able and such. Tabs
>> might work also.
>>
>
> It came back waving flags :)
>
> I've got a new version at
> http://jstanley.fedorapeople.org/key_checker.py that takes a new -m
> option to output in a machine-readable format. The code has also been
> significantly refactored to make it less retarded :)
>
>
Where should bug reports go ?
a)
[wolfy at wolfy bin]$ ./key_checker.py
Traceback (most recent call last):
File "./key_checker.py", line 60, in <module>
getPkg()
File "./key_checker.py", line 41, in getPkg
pkgs[key].append(nevra)
KeyError: 'Unkown key 0b86274e'
b)
keys.py works OK by itself but cries for mamma if piped to head:
[wolfy at wolfy bin]$ ./keys.py |head -5
Unknown signing key
-------------------
perl-Tk-804.028-9.fc10.x86_64
RPM Fusion repository (Fedora - free)
Traceback (most recent call last):
File "./keys.py", line 59, in <module>
print pkginstance
IOError: [Errno 32] Broken pipe
More information about the epel-devel-list
mailing list