Re: Up2date failure ?

Chris Kloiber <[email protected]>
Newsgroups gmane.linux.redhat.taroon
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Fri, 2003-09-05 at 17:19, Kern, Thomas wrote:
> 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

Is redhat-release installed? Or rather does rpm think it's installed?

# rpm -q redhat-release

-- 
Chris Kloiber
Red Hat, Inc.


--
Taroon-beta-list mailing list
[email protected]
http://www.redhat.com/mailman/listinfo/taroon-beta-list
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.