Red Hat Bugzilla – Bug 81787
up2date error with Traceback
Last modified: 2007-04-18 12:49:45 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0 i686)
Description of problem:
I tried to run up2date for the first time, and I got the following stdout:
[dmitch@jules dmitch]$ up2date
Traceback (innermost last):
File "/usr/sbin/up2date", line 17, in ?
from up2date_client import rpcServer
File "/usr/share/rhn/up2date_client/rpcServer.py", line 8, in ?
File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 4, in ?
File "/usr/share/rhn/up2date_client/rpmSource.py", line 11, in ?
File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 15, in ?
File "/usr/share/rhn/up2date_client/rpmUtils.py", line 274, in ?
rpm_version = getRpmVersion()
File "/usr/share/rhn/up2date_client/rpmUtils.py", line 269, in getRpmVersion
raise up2dateErrors.RpmError("Couldn't determine what version of rpm you are
running.\nIf you get this error, try running \n\n\t\trpm --rebuilddb\n\n")
up2date_client.up2dateErrors.RpmError: RPM error. The message was:
Couldn't determine what version of rpm you are running.
If you get this error, try running
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Installed Redhat 6.2 Professional
2.Ran up2date from the command line as root
What happens when you run `rpm --rebuilddb`
and try it again?
what's happening is up2date is unable to find a package that
can you try:
rpm -q --what-provides "redhat-release"
rpm -q redhat-release
Thanks for the response. :) Here's the results:
[root@jules dmitch]# rpm -q --whatprovides "redhat-release"
[root@jules dmitch]# rpm -q redhat-release
Adding the package corrected this problem in my case.
Up2date works for me now