LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Yum doesnt work after latest update (https://www.linuxquestions.org/questions/linux-newbie-8/yum-doesnt-work-after-latest-update-512114/)

icechong 12-19-2006 09:09 PM

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]#

charleykadet 12-20-2006 12:16 PM

it looks like a python problem.. try to download the rpm on redhat server.. and intall it with rpm -ivh --force <something.rpm>

icechong 12-20-2006 11:25 PM

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?

Zmyrgel 12-21-2006 12:29 AM

Quote:

Originally Posted by icechong
tahnks for your reply. but how to fix the YUM problem?

Try reinstalling python.


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