http://bugzilla.novell.com/show_bug.cgi?id=559011 http://bugzilla.novell.com/show_bug.cgi?id=559011#c0 Summary: createrepo-0.4.11 creates invalid xml-file, therefore adding updates fails Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Critical Priority: P5 - None Component: Maintenance AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andreas.bolsch@alumni.tu-berlin.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 "createrepo" creates invalid "other.xml.gz" file due to illegal characters (e.g. ascii SOH or 0x01 instead of single quote and "A" in package nasm) in some package descriptions. This is arguably a problem in those package descriptions rather than a bug in createrepo; however, as it is rather difficult to check thousands of package descriptions for typos, createrepo should filter or escape invalid characters. I consider this a rather critical bug because it prevents update of any package (as package repository metadata is not updated, zypper doesn't see *any* update). Since a big number of machines are to be updated regularly and unattended, a local up-to-date repository is a must. Reproducible: Always Steps to Reproduce: 1. Create fresh repodata/* fileset: createrepo .../suse 2. Update repodata/* fileset: createrepo --cachedir /var/cache/createrepo --update .../suse Actual Results: /usr/cdrom/suse_11.2/suse/repodata/other.xml.gz:384598: parser error : PCDATA invalid Char value 1 * Fix bug where LIGN' would issue a full alignment datum instead ^ /usr/cdrom/suse_11.2/suse/repodata/other.xml.gz:548706: error: xmlSAX2Characters: huge text node: out of memory zz for 2.6.22.9</changelog><changelog author="gregkh@suse.de" date="1190808000"> ^ /usr/cdrom/suse_11.2/suse/repodata/other.xml.gz:548706: parser error : Extra content at the end of the document zz for 2.6.22.9</changelog><changelog author="gregkh@suse.de" date="1190808000"> ^ Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 724, in <module> main(sys.argv[1:]) File "/usr/share/createrepo/genpkgmetadata.py", line 647, in main mdgen.doPkgMetadata(directory) File "/usr/share/createrepo/genpkgmetadata.py", line 160, in doPkgMetadata basefile, flfile, otherfile, opts) File "/usr/share/createrepo/readMetadata.py", line 41, in __init__ self.scan() File "/usr/share/createrepo/readMetadata.py", line 64, in scan root = libxml2.parseFile(self.files['other']).getRootElement() File "/usr/lib/python2.6/site-packages/libxml2.py", line 1279, in parseFile if ret is None:raise parserError('xmlParseFile() failed') libxml2.parserError: xmlParseFile() failed -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.