[rhn-users] RPM/up2date Oddity

Tim Evans tkevans at tkevans.com
Thu Apr 12 14:50:34 UTC 2007


I have odd inconsistency between what rpm and up2date tell me about an RHEL 4 
system.  rpm --rebuilddb doesn't change this.

up2date tells me:

# up2date -i -u -f

Fetching Obsoletes list for channel: rhel-x86_64-es-4...

Name                                    Version        Rel     
----------------------------------------------------------
mysql                                   4.1.20         2.RHEL4.1         i386  
mysql                                   4.1.20         2.RHEL4.1         x86_64
mysql-devel                             4.1.20         2.RHEL4.1         x86_64


Testing package set / solving RPM inter-dependencies...
There was a package dependency problem. The message was:

Unresolvable chain of dependencies:
mysql-server-4.1.20-1.RHEL4.1            requires mysql = 4.1.20-1.RHEL4.1 


The following packages were added to your selection to satisfy dependencies:
Package                                Required by
----------------------------------------------------------------------------

(Note thre are no packages listed under the packages add header.)

Now, rpm, however, tells me:

# rpm --query --all | grep mysql
mysqlclient10-3.23.58-4.RHEL4.1
mysql-server-4.1.20-1.RHEL4.1		<-----
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
mysql-4.1.20-1.RHEL4.1			<-----
mysql-4.1.20-1.RHEL4.1			<-----
mysql-devel-4.1.20-1.RHEL4.1		<-----
php-mysql-4.3.9-3.22.3
mysqlclient10-3.23.58-4.RHEL4.1

Note, "mysql-4.1.20-1.RHEL4.1" is double-listed, and is the pre-req up2date 
purports to be missing.  Meanwhile, both "mysql-server-4.1.20-1.RHEL4.1" and 
"mysql-devel-4.1.20-1.RHEL4.1" are already installed, despite up2date wanting to 
install them.

--
Tim Evans, TKEvans.com, Inc.	|    5 Chestnut Court
tkevans at tkevans.com		|    Owings Mills, MD 21117
http://www.tkevans.com/		|    443-394-3864
http://www.come-here.com/News/	|    




More information about the rhn-users mailing list