Bug 81787 - up2date error with Traceback
up2date error with Traceback
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Adrian Likins
Red Hat Satellite QA List
Depends On:
  Show dependency treegraph
Reported: 2003-01-13 19:09 EST by David Mitchell
Modified: 2007-04-18 12:49 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-03-10 11:07:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Mitchell 2003-01-13 19:09:20 EST
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:

Steps to Reproduce:
1.Installed Redhat 6.2 Professional
2.Ran up2date from the command line as root

Additional info:
Comment 1 Adrian Likins 2003-01-15 00:00:07 EST
What happens when you run `rpm --rebuilddb`
and try it again?
Comment 2 David Mitchell 2003-01-15 15:15:22 EST
Same results...
Comment 3 Adrian Likins 2003-01-16 01:09:24 EST
what's happening is up2date is unable to find a package that
provdes "redhat-release"

can you try:
     rpm -q --what-provides "redhat-release"


    rpm -q redhat-release
Comment 4 David Mitchell 2003-01-17 13:10:56 EST
Thanks for the response. :) Here's the results:

[root@jules dmitch]# rpm -q --whatprovides "redhat-release"
[root@jules dmitch]# rpm -q redhat-release
[root@jules dmitch]# 
Comment 5 Need Real Name 2003-03-10 11:00:24 EST
Adding the package corrected this problem in my case. 
Up2date works for me now
Comment 6 Josef Komenda 2003-03-10 11:07:57 EST
Fixed, closing.

Note You need to log in before you can comment on or make changes to this bug.