Up2date failure ?

"Kern, Thomas" <[email protected]>
Newsgroups gmane.linux.redhat.taroon,gmane.spam.detected
Message-ID <13462231315105-01@Department_of_Energy_E-Mail_Security_Server>
I was running up2date trying to get down about two weeks of updates. At one
point in while it was installing some packages, my ssh session got
terminated. When I was able to get back in on the virtual machine console
(s390 platform), the ssh session and up2date had completely terminated. I
decided to reboot the system and clean out /var/spool/up2date to try for a
CLEAN process. Now, everytime I try any up2date command other than
--configure, I get this:
 
[root@lnxrh00 rhn]# up2date --show-channels
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 1150, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date", line 642, in main
    up2dateAuth.updateLoginInfo()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 137, in
updateLoginInfo
    loginInfo = login()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 104, in login
    maybeUpdateVersion()
  File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 51, in
maybeUpdateVersion
    systemVer = up2dateUtils.getVersion()
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 205, in
getVersion
    release, version = getOSVersionAndRelease()
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 198, in
getOSVersionAndRelease
    raise up2dateErrors.RpmError(
up2date_client.up2dateErrors.RpmError: RPM error.  The message was:
Could not determine what version of Red Hat Linux you are running.
If you get this error, try running

                rpm --rebuilddb


/Thomas Kern
/301-903-2211
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.