LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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

Reply
 
LinkBack Search this Thread
Old 12-19-2006, 09:09 PM   #1
icechong
Member
 
Registered: Oct 2006
Posts: 42

Rep: Reputation: 15
Yum doesnt work after latest update


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]#
 
Old 12-20-2006, 12:16 PM   #2
charleykadet
Member
 
Registered: Sep 2005
Location: Montreal
Distribution: Fedora Core 5, Gentoo, LFS
Posts: 83

Rep: Reputation: 15
it looks like a python problem.. try to download the rpm on redhat server.. and intall it with rpm -ivh --force <something.rpm>
 
Old 12-20-2006, 11:25 PM   #3
icechong
Member
 
Registered: Oct 2006
Posts: 42

Original Poster
Rep: Reputation: 15
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?
 
Old 12-21-2006, 12:29 AM   #4
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
Quote:
Originally Posted by icechong
tahnks for your reply. but how to fix the YUM problem?
Try reinstalling python.
 
  


Reply

Tags
fedora 6, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pirut, Yumex, yum -install doesnt work in FC5 kvsaputra Fedora 4 10-18-2006 06:55 AM
slapt-get --update doesnt work Haans Slackware 1 01-27-2006 09:16 PM
Wireless doesnt work after kernel update CLOSETGEEK Linux - Wireless Networking 2 05-25-2005 08:12 PM
Uptodate Corrupted? Why doesnt php4.3.6-11 work after update? geninblaze Fedora 1 07-12-2004 09:54 PM
nvnet doesnt work after update/patch ... devjam Linux - Hardware 27 02-19-2004 12:36 PM


All times are GMT -5. The time now is 12:06 AM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration