Re: [CentOS] YUM conflict with RHEL 4_X86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




Uname –a shows:

Linux PT3 2.6.9-42.0.0.0.1.ELsmp #1 SMP Sun Oct 15 15:13:57 PDT 2006 x86_64
x86_64 x86_64 GNU/Linux

This isn't a RHEL kernel. This is the Oracle Unbreakable Linux kernel.
Congrats, you broke it.

Yum –version shows:

Repository update is listed more than once in the configuration

Repository base is listed more than once in the configuration

Repository contrib is listed more than once in the configuration

Repository addons is listed more than once in the configuration

Repository extras is listed more than once in the configuration

2.4.3

It would appear that you've got multiple repository declarations,
which is what's causing this error. This could be from some
combination of the oracle linux junk or something else. We really
don't have all the info yet.

<snip yum conflict errors>

These errors are caused by what you have done below.


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

Okay, you're running x86_64, but you got the i386 packages? Why are
you mixing architectures? Why did you not get the x86_64 packages?


rpm -ivh –-nodeps --force *rpm

This is an amazingly bad way to install packages. Using --nodeps and
--force will quickly cause system breakage, as you've discovered. The
errors that installing the rpms you got would have kept you from
breaking your system in such a fashion.

Any one knows any thing wrong with it? I am new to linux and thanks in
advance for any help.


You should have followed the instructions on the CentOS wiki here ->
http://wiki.centos.org/HowTos/PackageManagement/YumOnRHEL

With what you've done, I'm not sure if removing the packages will
help, as pulling them out may cause breakage for the same packages of
the x86_64 arch that are supposed to be there.



--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux