LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 12-19-2006, 10:09 PM   #1
icechong
Member
 
Registered: Oct 2006
Posts: 42
Thanked: 0
Yum doesnt work after latest update


[Log in to get rid of this advertisement]
Hi there,

I m having Fedora 6 runing in my linux box.

I did a full update yesterday(yum update). after that, yum doesnt work anymore.

could anyone please guide me how to solve this?

thanks.

[root@xxxxx]# yum search nozomi
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 102, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 359, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 336, in doCommand
return base.search(extcmds)
File "/usr/share/yum-cli/cli.py", line 893, in search
for (po, matched_value) in matching:
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1123, in searchGenerator
self.doRepoSetup()
File "/usr/share/yum-cli/cli.py", line 107, in doRepoSetup
self.doSackSetup(thisrepo=thisrepo)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 334, in doSackSetup
self.pkgSack.excludeArchs(archlist)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 312, in excludeArchs
sack.excludeArchs(archlist)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 557, 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)
_sqlite.DatabaseError: database disk image is malformed
[root@xxxxx]#
icechong is offline  
Tag This Post ,
Reply With Quote
Old 12-20-2006, 01:16 PM   #2
charleykadet
Member
 
Registered: Sep 2005
Location: Montreal
Distribution: Fedora Core 5, Gentoo, LFS
Posts: 83
Thanked: 0
it looks like a python problem.. try to download the rpm on redhat server.. and intall it with rpm -ivh --force <something.rpm>
charleykadet is offline     Reply With Quote
Old 12-21-2006, 12:25 AM   #3
icechong
Member
 
Registered: Oct 2006
Posts: 42
Thanked: 0

Original Poster
Quote:
Originally Posted by charleykadet
it looks like a python problem.. try to download the rpm on redhat server.. and intall it with rpm -ivh --force <something.rpm>



tahnks for your reply. but how to fix the YUM problem?
icechong is offline     Reply With Quote
Old 12-21-2006, 01:29 AM   #4
Zmyrgel
Member
 
Registered: Dec 2005
Location: Finland
Distribution: OpenBSD and Slackware64
Posts: 973
Thanked: 4
Quote:
Originally Posted by icechong
tahnks for your reply. but how to fix the YUM problem?
Try reinstalling python.
Zmyrgel is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Pirut, Yumex, yum -install doesnt work in FC5 kvsaputra Fedora 4 10-18-2006 07:55 AM
slapt-get --update doesnt work Haans Slackware 1 01-27-2006 10:16 PM
Wireless doesnt work after kernel update CLOSETGEEK Linux - Wireless Networking 2 05-25-2005 09:12 PM
Uptodate Corrupted? Why doesnt php4.3.6-11 work after update? geninblaze Fedora 1 07-12-2004 10:54 PM
nvnet doesnt work after update/patch ... devjam Linux - Hardware 27 02-19-2004 01:36 PM


All times are GMT -5. The time now is 07:47 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration