LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-19-2006, 03:17 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
Unable to start yum


I was going to use yum to update a software package, and I was confronted with the following error:

Component: Software Manager
Summary: TB9f78d0ec main.py:244:executeatabaseError: 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.
 
Old 11-21-2006, 12:20 AM   #2
the_warper
LQ Newbie
 
Registered: Apr 2006
Distribution: Fedora core 5
Posts: 24

Rep: Reputation: 15
strange...

Sometimes when you do a ctrl + c , while yum is setting up the install processes, you get such wierd errors. Usually a restart is enough. If not try "yum clean all" as root. Try it and let me know.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to update system with YUM (Dependency?) chess380 Fedora 1 09-23-2006 05:25 PM
yum unable to detect the installed packages ? gopiindiaever Linux - Software 3 09-18-2006 02:24 AM
Unable to yum update tkt Linux - Newbie 1 09-22-2005 11:02 AM
unable to set up yum chirayan Fedora 4 07-23-2005 07:56 PM
Xserver does not start after yum update dario77 Linux - Software 1 11-25-2004 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration