LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 07-09-2008, 10:41 AM   #1
Nazzy
LQ Newbie
 
Registered: Jul 2008
Location: /dev/null
Posts: 1

Rep: Reputation: 0
Question problem with cpanel/whm server


Hello!

I have a problem with a cPanel/WHM server. After an update of cPanel/WHM where it froze on my Exim update and i rebooted it my yum just broke, everything works perfectly except yum.
Here's the error output


yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 86 kB 00:00
extras : ################################################## 235/235
primary.xml.gz 100% |=========================| 103 kB 00:00
updates : ################################################## 222/222
primary.xml.gz 100% |=========================| 1.1 MB 00:00
base : ################################################## 3222/3222
primary.xml.gz 100% |=========================| 157 B 00:00
Excluding Packages in global exclude list
Finished
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 94, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 381, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand
return base.updatePkgs(extcmds)
File "/usr/share/yum-cli/cli.py", line 685, in updatePkgs
obsoleting_pkg = self.getPackageObject(obsoleting)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1473, in getPackageObject
pkgs = self.pkgSack.searchPkgTuple(pkgtup)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 66, in searchPkgTuple
return self.searchNevra(name=n, arch=a, epoch=e, ver=v, rel=r)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 232, in searchNevra
return self._computeAggregateListResult("searchNevra", name, epoch, ver, rel, arch)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 369, in _computeAggregateListResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 574, in searchNevra
returnList.append(self.pc(rep,self.db2class(x)))
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 431, in db2class
y.checksum = {'pkgid': 'YES','type': db.checksum_type,
File "/usr/lib64/python2.4/site-packages/sqlite/main.py", line 97, in __getattr__
raise AttributeError, key
AttributeError: CHECKSUM_VALUE


I'm running CentOS 5.1 2.6.18-53.1.21.el5
Can anybody please help me?
Thanks alot!
 
Old 07-10-2008, 03:25 AM   #2
yunusyb
LQ Newbie
 
Registered: Jul 2008
Distribution: RHEL, Debian, Fedora, Centos,Suse
Posts: 4

Rep: Reputation: 0
rpm -e --nodeps yum-metadata-parser

You will then need to reinstall this package. You can download it from CentOS mirrors.
after installing this run

yum check-update
 
  


Reply


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
Odd [URGENT] cPanel/WHM Server Issue RobertNikic Linux - Server 26 07-03-2008 05:04 PM
cPanel/WHM Network Server Issue RobertNikic Linux - Networking 1 06-24-2008 01:27 AM
cpanel/whm initial setup - Do I need a separate DNS server? jlgreer1 Linux - Server 5 06-08-2008 09:24 AM


All times are GMT -5. The time now is 04:49 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