Version-Release number of selected component: createrepo-0.10-1.fc19 Additional info: reporter: libreport-2.1.9 cmdline: /usr/bin/python -t /usr/share/createrepo/genpkgmetadata.py --quiet --database --update --unique-md-filenames /var/lib/yum/plugins/local dso_list: yum-metadata-parser-1.1.4-9.fc20.x86_64 executable: /usr/share/createrepo/genpkgmetadata.py kernel: 3.11.10-300.fc20.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: sqlitecachec.py:61:getOtherdata:TypeError: Can not create keychange index: database disk image is malformed Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 301, in <module> main(sys.argv[1:]) File "/usr/share/createrepo/genpkgmetadata.py", line 279, in main mdgen.doRepoMetadata() File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 984, in doRepoMetadata rp.getOtherdata(complete_path, csum) File "/usr/lib64/python2.7/site-packages/sqlitecachec.py", line 61, in getOtherdata self.repoid)) TypeError: Can not create keychange index: database disk image is malformed Local variables in innermost frame: checksum: '84727ecec86e1a61762b8579f38be587ae2ec0199c8877423d39b1790813cb0e' self: <sqlitecachec.RepodataParserSqlite instance at 0x27fa950> location: '/var/lib/yum/plugins/local/.repodata/other.xml.gz'
Created attachment 838088 [details] File: backtrace
Created attachment 838089 [details] File: environ
> location: '/var/lib/yum/plugins/local/.repodata/other.xml.gz' Please, can you check this directory immediately after this error? If there's "other.xml.gz.sqlite" file, please upload it somewhere. Maybe I can then reproduce this and find out why the invalid database was created.
Created attachment 932803 [details] other.xml.gz from Franco DiRosa's comment
Comment on attachment 932803 [details] other.xml.gz from Franco DiRosa's comment I have the same problem with yum-metadata-parser-1.1.2-16.el6.x86_64. I added a print to the sqlitecachec.py prior to calling getotherdata to echo the command arguments it was called with. Spawning worker 0 with 6280 pkgs Workers Finished Gathering worker results Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs getOtherData(self, /opt/cid/repos/rhel_client2/./.repodata/other.xml.gz, 6c94f72557232ddb72d2008b652b45bf9d5d833bfe30d3421d5ac85321b73397 self.repoid = repoid Traceback (most recent call last): File "/usr/share/createrepo/genpkgmetadata.py", line 291, in <module> main(sys.argv[1:]) File "/usr/share/createrepo/genpkgmetadata.py", line 269, in main mdgen.doRepoMetadata() File "/usr/lib/python2.6/site-packages/createrepo/__init__.py", line 983, in doRepoMetadata rp.getOtherdata(complete_path, csum) File "/usr/lib64/python2.6/site-packages/sqlitecachec.py", line 63, in getOtherdata self.repoid)) TypeError: Can not create keychange index: database disk image is malformed
Created attachment 932805 [details] other.xml.gz.sqlite from Franco DiRosa It appears that the other.xml.gz.sqlite DB was created (attached) and am able to open the sqlite db using Sqlite Expert.
This message is a reminder that Fedora 20 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 20. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '20'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 20 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.