[Bug 559011] New: createrepo-0.4.11 creates invalid xml-file, therefore adding updates fails
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.
http://bugzilla.novell.com/show_bug.cgi?id=559011 http://bugzilla.novell.com/show_bug.cgi?id=559011#c shuang qiu <sqiu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sqiu@novell.com AssignedTo|bnc-team-screening@forge.pr |cthiel@novell.com |ovo.novell.com | Severity|Critical |Normal -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=559011 http://bugzilla.novell.com/show_bug.cgi?id=559011#c1 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |NEEDINFO CC| |dmacvicar@novell.com, | |mbarringer@novell.com Info Provider| |andreas.bolsch@alumni.tu-be | |rlin.de --- Comment #1 from Duncan Mac-Vicar <dmacvicar@novell.com> 2009-12-08 15:49:10 UTC --- Andreas. Can you reproduce this bug with createrepo 0.9.x in system:packagemanager project? this one miss lot of suse specific patches which we will port in the near future, but it would be interesting to know where the bug is present there. Not, I just enabled the project to build on openSUSE:11.2 so it may be a while until the package shows up. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=559011 http://bugzilla.novell.com/show_bug.cgi?id=559011#c Christoph Thiel <cthiel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cthiel@novell.com AssignedTo|cthiel@novell.com |dmacvicar@novell.com -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=559011 http://bugzilla.novell.com/show_bug.cgi?id=559011#c2 Andreas Bolsch <andreas.bolsch@alumni.tu-berlin.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|andreas.bolsch@alumni.tu-be | |rlin.de | --- Comment #2 from Andreas Bolsch <andreas.bolsch@alumni.tu-berlin.de> 2009-12-08 21:18:29 UTC --- No, seems to be fixed in: createrepo-0.9.8-81.1.i586 Actually, the offending char in nasm package description had been filtered by createrepo. At least this is a temporary fix for me, thanks a lot! -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=559011 http://bugzilla.novell.com/show_bug.cgi?id=559011#c3 Michael Calmer <mc@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mc@novell.com AssignedTo|dmacvicar@novell.com |cthiel@novell.com --- Comment #3 from Michael Calmer <mc@novell.com> 2010-03-11 15:46:59 UTC --- assign to maintainer. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=559011 http://bugzilla.novell.com/show_bug.cgi?id=559011#c4 Christoph Thiel <cthiel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|cthiel@novell.com |dmacvicar@novell.com --- Comment #4 from Christoph Thiel <cthiel@novell.com> 2010-03-12 11:08:28 UTC --- Back to Duncan, who did the update to 0.9.x and wanted to push this package + denendencies to Factory. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=559011 https://bugzilla.novell.com/show_bug.cgi?id=559011#c5 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Duncan Mac-Vicar <dmacvicar@novell.com> 2011-07-08 13:07:25 UTC --- created request id 75867 created request id 75868 created request id 75869 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com