[CentOS-devel] Broken gtk+ package

Mon Sep 11 20:22:18 UTC 2006
Chuck Berg <chuck at encinc.com>

I was just going to enter this in the bugs database, but creation of new
accounts is apparently broken. (When I try to set the initial password
after following the link in the confirmation email, "This account is
protected. You are not allowed to access this until the account protection
is lifted.")

I have an x86_64 system, on which I must install the gtk+.i386 package.

To begin with, only the x86_64 package is installed:
# cat /etc/rpm/macros.query_format
%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}
# rpm -q gtk+
gtk+-1.2.10-33.centos4.x86_64

When I try to install the i386 version, I get this error:
With yum:
# yum -y install gtk+.i386
[...]
Transaction Check Error:   package gtk+-1.2.10-33.centos4 (which is newer than gtk+-1.2.10-33) is already installed

With straight rpm -i:
# rpm -i http://mirror.stanford.edu/yum/pub/centos/4.4/os/x86_64/CentOS/RPMS/gtk+-1.2.10-33.i386.rpm
        package gtk+-1.2.10-33.centos4 (which is newer than gtk+-1.2.10-33) is already installed

This problem only exists with the CentOS gtk+.x86_64 package, the RedHat one is
fine. rpm -i --force works, and that is the workaround I'm using.