[CentOS] YUM conflict with RHEL 4_X86_64

Mon Dec 4 06:59:00 UTC 2006
Alexey Loukianov <aloukianov at lavtech.ru>

Greetings, johnny.

On 4 декабря 2006 г., 7:45:41 you wrote:
> What I have done is just to install the Yum for the RHEL 4_X 86_64. with the following commends:
> mkdir /usr/local/src/yum
>  cd /usr/local/src/yum
> wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/python-elementtree-1.2.6-4.2.1.i386.rpm
> wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/python-urlgrabber-2.9.8-2.noarch.rpm
> wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/python-sqlite-1.1.7-1.2.i386.rpm
> wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/yum-2.4.3-1.c4.noarch.rpm
> wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/sqlite-3.3.3-1.2.i386.rpm
> wget http://centos.mirror.vpslink.com/centos-4/4.4/os/i386/CentOS/RPMS/libxml2-python-2.6.16-6.i386.rpm
> wget http://centos.mirror.vpslink.com/centos-4/4.4/os/i386/CentOS/RPMS/rpm-python-4.3.3-18_nonptl.i386.rpm
> wget http://mirror.freepbx.org/centos-yumconf-4-4.5.noarch.rpm
> rpm -ivh –-nodeps --force *rpm
It's the best way to broke the whole system. Never-ever use --nodeps
--force unless you're ABSOLUTELLY sure and know what are you doing.

As for rest, did I understand you correctly, that you want to upgrade
your RHEL4 x86-64 install using YUM repos for CentOS4? If so - why
are you downloading and installing packages for x86 i386 arch?
You'd better re-download above packages for a correct arch and do the

# rpm -e --nodeps python-elementtree-1.2.6-4.2.1.i386 python-sqlite-1.1.7-1.2.i386 sqlite-3.3.3-1.2.i386 libxml2-python-2.6.16-6.i386 rpm-python-4.3.3-18_nonptl.i386
# rpm -Uvh <new RPMS you have downloaded for x86-64 arch >

Also, to use CentOS4 yum with success on RHEL you should remove
redhat-release package and install centos-release package. To remove
redhat-release package you will be forces to use --nodeps option, but
that is ok for this case.

Best regards,
 Alexey Loukianov                          mailto:aloukianov at lavtech.ru
 System Engineer,
 IT Department,
 Lavtech Corp