Re: Unable to start yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kaplan, Andrew H. wrote:
I was going to use yum to update a software package on Fedora Core 5, and I was confronted with the following error:

Component: Software Manager
Summary: TB9f78d0ec main.py:244:executedatabaseError: database disk image is malformed

Traceback (most recent call last):
File "/usr/sbin/pirut", line 363, in ?
main()
File "/usr/sbin/pirut", line 359, in main
pm.run()
File "/usr/sbin/pirut", line 286, in run
self.doRefresh()
File "/usr/sbin/pirut", line 297, in doRefresh
self.reposSetup(pbar)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 151, in reposSetup
self.doSackSetup()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 294, in doSackSetup
self.pkgSack.excludeArchs(archlist)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 496, in excludeArchs
cur.execute(querystring)
File "/usr/lib/python2.4/site-packages/sqlite/main.py", line 244, in execute
self.rs = self.con.db.execute(SQL)
DatabaseError: database disk image is malformed

Local variables in innermost frame:
self: <sqlite.main.Cursor instance at 0xb6d8ae8c>
parms: ()
SQL: select * from packages WHERE arch != "i686" AND arch != "i586" AND arch != "i486" AND arch != "i386" AND arch != "noarch"

What is the cause of this, and how do I fix it? Thanks.


It looks like a revealing error to someone who knows the ins and outs of these messages. I would suggest running 'yum clean all' and trying again. I don't know if pirut will have a GUI feature for cleaning the headers and other items from the GUI. I don't believe it does right now.

Regarding the SQL: select line above, it looks like it is excluding all archs standard to a 32-bit PC.

Realistically, you might need to file a bug report on this error.

Jim

--
Support staff hung over, send aspirin and come back LATER.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux