Dne 23.1.2012 12:24, David Nutter napsal(a): > OK, a new release (0.7) is out which should correct this problem. > Thanks to Stefan F??rster for reporting this issue and testing the > fix. http://www.bioss.ac.uk/staff/davidn/spacewalk-stuff/ Regards,
David, Thanks, it works now for me. A few points: - I'm running it on C5, had to install C4 and C6 signing keys. Did not need to with previous version. - Did not helped for C6, since C5 rpm is not capable to work with C6 rpms. :o( So it imports the errata but keeps complaining: .....snip error: rpmts_HdrFromFdno: Header V4 RSA/SHA1 signature: BAD, key ID c105b9de process_pkg_file failed with exception error reading package header. Traceback (most recent call last): File "./centos-errata.py", line 1104, in processRPMFile header = rpmQuery.hdrFromFdno(fd) error: error reading package header Warning: package /var/satellite/redhat/strace-4.5.19-1.11.el6_2.1.x86_64.rpm does not exist or cannot be read. Searching for package strace-4.5.19-1.11.el6_2.1.x86_64.rpm failed Skipping errata CEBA-2012:0028 ......snip - I'm attaching the patch to work with mail-archive. - Are you willing to go to GitHub with script development? Thanks David Hrbáč
--- centos-errata.py.txt 2012-01-23 12:07:08.000000000 +0100 +++ centos-errata.py 2012-01-27 20:19:35.000000000 +0100 @@ -1043,7 +1043,7 @@ mailarchive_url="file://%s/mailarchive-test/" % (os.path.abspath( os.path.dirname(sys.argv[0])+"/" )) print "Using test data at %s " % mailarchive_url else: - mailarchive_url=MAILARCHIVE_BASE + mailarchive_url="http://www.mail-archive.com/centos-announce@centos.org/" try: messages_list_f = urllib.urlopen(mailarchive_url+"maillist.html") @@ -1060,7 +1060,7 @@ subjects_match = MessageMailArchive.subjects_re.match(line) if len(self.parsedMessages) >= self.options.max_errata: - print "Max errata count %d exceeded. Processing no more errata" % options.max_errata + print "Max errata count %d exceeded. Processing no more errata" % self.options.max_errata return self.parsedMessages if subjects_match is None:
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list