[rhn-users] Up2date problems

Knutsen, Mark Mark.Knutsen at nasdaq.com
Fri Aug 6 20:43:10 UTC 2004


Regarding your first question: Red Hat doesn't support that upgrade; how
did you perform it?

Instructions I've posted to this list note that the redhat-release
package changed names (to "redhat-release-3AS", for example), so you may
have both lying around. Pop in CD #1 and:

   mount /mnt/cdrom   (if necessary)
   rpm -e redhat-release
   rpm -ivh /mnt/cdrom/RedHat/RPMS/redhat-release*

Maybe that will help.

Also, some RHL8 packages that no longer exist in RHEL3 may cause
dependency problems when you run up2date. If this happens, note the
error message and remove the offending packages. Keep a running package
list and post it here to benefit others. I've posted a similar list for
RHL9 -> RHEL3 upgrades.

-----Original Message-----
From: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com]
On Behalf Of Scott Lacy
Sent: Friday, August 06, 2004 3:41 PM
To: rhn-users at redhat.com
Subject: [rhn-users] Up2date problems

Having problems with a couple of systems running up2date:

1)  I recently upgraded one system from RH8 to RH Enterprise AS.  
Up2date runs fine, but the system itself still insists on identifying 
itself to RHN as a Redhat 8 system, which means I can't entitle the 
system to Enterprise AS updates (the entitlement is there just waiting 
on it).  Redhat-release says it's RH Enterprise, so I'm a bit boggled as

to what to do.


2)   Another Enterprise AS install:

Traceback (most recent call last):
  File "/usr/sbin/up2date", line 1190, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date", line 669, in main
    up2dateAuth.updateLoginInfo()
  File "up2dateAuth.py", line 141, in updateLoginInfo
  File "up2dateAuth.py", line 105, in login
  File "up2dateAuth.py", line 49, in maybeUpdateVersion
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 228, in 
getVersion
    release, version = getOSVersionAndRelease()
  File "/usr/share/rhn/up2date_client/up2dateUtils.py", line 221, 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


I've done rpm --rebuilddb, and that didn't help.  I did rpm -q 
redhat-release it claimed it wasn't on the system, but the files are on 
the system.  I think the RPM database is hosed, because it says 
/bin/bash and /bin/sh don't belong to any packages.


Any ideas before I break down and call support?  :P


Thanks,

Scott
 


_______________________________________________
rhn-users mailing list
rhn-users at redhat.com
https://www.redhat.com/mailman/listinfo/rhn-users







More information about the rhn-users mailing list