LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 06-14-2011, 06:10 PM   #1
susja
Member
 
Registered: May 2011
Posts: 125

Rep: Reputation: 1
Unable to run 'Software Update' after upgrade to rhel 6.1


Hello,
I was using RHAT 6.0 Open Client for a couple months and didn't have any issues. Recently my company released version 6.1 of Open Client and recommended to upgrade it. Upgrade went smoothly and I didn't notice any problems until at some point it failed to run 'Software Update' application. Someone from my company forum recommended to do the following:
sudo pgrep -f packagekit| xargs kill -9
sudo rm -rf /var/cache/yum/* /var/cache/PackageKit/*
reboot
After that I have a problem. If I try to start 'Software Update' app from menu I have the error: "An internal system error has occurred":
Error Type: <type 'exceptions.TypeError'>
Error Value: refresh_cache() takes exactly 2 arguments (1 given)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3270, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3266, in main
backend = PackageKitYumBackend('',
lock=True)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 243, in __init__
self.refresh_cache()
**
If I run yum update I have this error:
Updating:
google-talkplugin x86_64 2.1.6.0-1 google-talkplugin 7.3 M
perl x86_64 4:5.10.1-119.el6 RHEL-61-x86_64 10 M
perl-libs x86_64 4:5.10.1-119.el6 RHEL-61-x86_64 577 k

Transaction Summary
================================================================================
Upgrade 3 Package(s)

Total size: 18 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 274, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 211, in main
return_code = base.doTransaction()
File "/usr/share/yum-cli/cli.py", line 526, in doTransaction
msgs = self._run_rpm_check()
AttributeError: 'YumBaseCli' object has no attribute '_run_rpm_check'

How could I fix it?
Thanks
 
Old 06-16-2011, 10:09 PM   #2
susja
Member
 
Registered: May 2011
Posts: 125

Original Poster
Rep: Reputation: 1
Please ignore.
I fixed it.
 
Old 06-16-2011, 10:20 PM   #3
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
When you solve your problem, it is best to explain how your problem was resolved, in order to help others that come across this thread in a search.
 
Old 06-17-2011, 06:51 AM   #4
susja
Member
 
Registered: May 2011
Posts: 125

Original Poster
Rep: Reputation: 1
I agree with andrewthomas. In my case I didn't fixed it myself ... someone from my colleague realized that in my system /usr/local/ is a symbolic link with the wrong target. After he removed the link my problem disappeared.
 
  


Reply



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
unable to run wi fi on rhel 5 geekvikrant Linux - Newbie 4 10-15-2010 01:50 PM
unable to run wi fi on rhel 5 geekvikrant Linux - Newbie 2 10-15-2010 01:50 PM
Unable To Update BIOS on RHEL System carlosinfl Red Hat 2 05-04-2009 01:39 PM
Unable to upgrade to ubuntu 7.10, update manager fails to update.... jonbvgood Linux - Software 2 02-05-2008 03:58 PM
Unable to update software after Core 5 upgrade oldoak Fedora - Installation 2 03-26-2006 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration