FWIW, I am currently experiencing the same error when running "createrepo" on a repo containing 20 RPMs. The host system is running Ubuntu 14.04.5 LTS, libxml2 version is 2.9.1+dfsg1-3ubuntu. For me, the error occurs every time, removing the repodata directories does not resolve this.
% createrepo .
Spawning worker 0 with 20 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
I/O error : No such file or directory
(process:18005): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing filelists.xml error: Premature end of data in tag package line 2263
(process:18005): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing filelists.xml error: Premature end of data in tag filelists line 2
Traceback (most recent call last):
File "/usr/share/createrepo/genpkgmetadata.py", line 308, in <module>
main(sys.argv[1:])
File "/usr/share/createrepo/genpkgmetadata.py", line 280, in main
mdgen.doRepoMetadata()
File "/usr/lib/python2.7/dist-packages/createrepo/__init__.py", line 999, in doRepoMetadata
rp.getFilelists(complete_path, csum)
File "/usr/lib/python2.7/dist-packages/sqlitecachec.py", line 54, in getFilelists
self.repoid))
TypeError: Parsing filelists.xml error: Premature end of data in tag file line 2332
FWIW, I am currently experiencing the same error when running "createrepo" on a repo containing 20 RPMs. The host system is running Ubuntu 14.04.5 LTS, libxml2 version is 2.9.1+dfsg1- 3ubuntu. For me, the error occurs every time, removing the repodata directories does not resolve this.
% createrepo .
Spawning worker 0 with 20 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
I/O error : No such file or directory
(process:18005): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing filelists.xml error: Premature end of data in tag package line 2263
(process:18005): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing filelists.xml error: Premature end of data in tag filelists line 2
Traceback (most recent call last): createrepo/ genpkgmetadata. py", line 308, in <module> sys.argv[ 1:]) createrepo/ genpkgmetadata. py", line 280, in main doRepoMetadata( ) python2. 7/dist- packages/ createrepo/ __init_ _.py", line 999, in doRepoMetadata getFilelists( complete_ path, csum) python2. 7/dist- packages/ sqlitecachec. py", line 54, in getFilelists
File "/usr/share/
main(
File "/usr/share/
mdgen.
File "/usr/lib/
rp.
File "/usr/lib/
self.repoid))
TypeError: Parsing filelists.xml error: Premature end of data in tag file line 2332