LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-16-2010, 07:15 AM   #1
spacejunk
LQ Newbie
 
Registered: Aug 2003
Distribution: Ubuntu / Mac OS X
Posts: 5

Rep: Reputation: 0
Yum Update Breakage on CentOS 5


My yum update no longer works. Every time I try to update, I'm greeted with the following error:

Code:
Dependencies Resolved
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 261, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 362, in doTransaction
    lsts = self.listTransaction()
  File "/usr/share/yum-cli/output.py", line 895, in listTransaction
    self.tsInfo.makelists(True, True)
TypeError: makelists() takes exactly 1 argument (3 given)
Cleaning the yum and RPM databases doesn't fix it.

Any ideas? OS is CentOS 5.5 x86_64.
 
Old 07-16-2010, 11:53 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Quote:
Any ideas?
Yup - clean the yum database

Specifically, try:

yum clean all
... and then
yum -y upgrade

If it doesn't work:

Q: Please cut/paste the exact output from these two commands

Q: "What changed" just before the problem started?

Otherwise, please post back, and mark the thread "solved".

Thanx in advance .. PSM
 
Old 07-19-2010, 06:28 AM   #3
spacejunk
LQ Newbie
 
Registered: Aug 2003
Distribution: Ubuntu / Mac OS X
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by paulsm4 View Post
Hi -



Yup - clean the yum database

Specifically, try:

yum clean all
... and then
yum -y upgrade

If it doesn't work:

Q: Please cut/paste the exact output from these two commands

Q: "What changed" just before the problem started?

Otherwise, please post back, and mark the thread "solved".

Thanx in advance .. PSM
As I indicated in the original post, I already tried cleaning the yum database. The error in the original post is the one I receive when trying to yum update.

Nothing has changed since this problem first appeared; I'm using the same repos and whatnot as before.
 
Old 07-19-2010, 01:42 PM   #4
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I wasn't clear what you tried, because you didn't post your exact commands (either first post, or your reply).

Another suggestion: try uninstalling, then re-installing Yum. I'd uninstall/reinstall each of these dependent packages (including Python) at the same time (just to be sure).
Code:
http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/rpm-python-4.4.2-37.el5.x86_64.rpm
http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/m2crypto-0.16-6.el5.1.x86_64.rpm
http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/python-urlgrabber-3.1.0-2.noarch.rpm
http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/libxml2-python-2.6.26-2.1.2.x86_64.rpm
http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm
http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm
http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm
http://mirrors.kernel.org/centos/5.0/os/x86_64/CentOS/yum-3.0.5-1.el5.centos.2.noarch.rpm
Here are some good links:
http://forum.parallels.com/showthread.php?t=74745
http://wiki.openvz.org/Install_yum

'Hope that helps .. PSM

(PS: substitute the appropriate architecture if you're not running "x86_64", of course )
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 08:15 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
yum update on CentOS 5.3 upgraded my system to CentOS 5.4 diskoe Red Hat 1 10-29-2009 04:41 PM
centos yum update LinuxLover Linux - Server 2 09-01-2009 04:07 AM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM


All times are GMT -5. The time now is 10:56 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration