Hide Forgot
running pungi to create an x86 build on an x64 host results in a crash: setarch i686 pungi --name=F16 --ver=F16 --destdir=/f16/p_dest --cachedir=/f16/p_cache --nosource --force --config=/f16/ks.cfg -C -B Pungi:INFO: Making repodata Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete Pungi:INFO: Running /usr/bin/repoview --quiet --state-dir /f16/p_cache/repoviewcache --title "F16 F16 - i386" /f16/p_dest/F16/i386/os Pungi:ERROR: Got an error from /usr/bin/repoview Pungi:ERROR: Traceback (most recent call last): File "/usr/bin/repoview", line 932, in <module> main() File "/usr/bin/repoview", line 929, in main Repoview(opts) File "/usr/bin/repoview", line 162, in __init__ letters = self.setup_letter_groups() File "/usr/bin/repoview", line 774, in setup_letter_groups pcursor.execute(query) sqlite3.DatabaseError: file is encrypted or is not a database Traceback (most recent call last): File "/usr/bin/pungi", line 222, in <module> main() File "/usr/bin/pungi", line 120, in main mypungi.doCreaterepo() File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 807, in doCreaterepo self._makeMetadata(self.topdir, cachedir, compsfile, repoview=True, repoviewtitle=repoviewtitle) File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 783, in _makeMetadata pypungi.util._doRunCommand(repoview, self.logger) File "/usr/lib/python2.7/site-packages/pypungi/util.py", line 36, in _doRunCommand raise OSError, "Got an error from %s: %s" % (command[0], err) OSError: Got an error from /usr/bin/repoview: Traceback (most recent call last): File "/usr/bin/repoview", line 932, in <module> main() File "/usr/bin/repoview", line 929, in main Repoview(opts) File "/usr/bin/repoview", line 162, in __init__ letters = self.setup_letter_groups() File "/usr/bin/repoview", line 774, in setup_letter_groups pcursor.execute(query) sqlite3.DatabaseError: file is encrypted or is not a database
this is a bug in repoview - it assumes bzip2 for the compression on the sqlite dbs from the repodata. reassigning.
*** This bug has been marked as a duplicate of bug 749028 ***