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 ? import up2dateAuth File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 4, in ? import rpmSource File "/usr/share/rhn/up2date_client/rpmSource.py", line 11, in ? import up2dateUtils File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 15, in ? import rpmUtils 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 rpm --rebuilddb [dmitch@jules dmitch]$ Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Installed Redhat 6.2 Professional 2.Ran up2date from the command line as root Additional info:
What happens when you run `rpm --rebuilddb` and try it again?
Same results...
what's happening is up2date is unable to find a package that provdes "redhat-release" can you try: rpm -q --what-provides "redhat-release" also: rpm -q redhat-release
Thanks for the response. :) Here's the results: [root@jules dmitch]# rpm -q --whatprovides "redhat-release" redhat-release-6.2-1 [root@jules dmitch]# rpm -q redhat-release redhat-release-6.2-1 [root@jules dmitch]#
Adding the package corrected this problem in my case. Up2date works for me now
Fixed, closing.