Hi, everyone, I have one conflict problem when I try to install Centos YUM on RHEL 4_X 86_64.
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
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
And upon running yum -y update, it only can updates some of the packages, for other packages it shows conflict with /usr/lib/python2.3/site-packages/elementtree/.
The error messages are:
Transaction Check Error: file /usr/lib/python2.3/site-packages/elementtree/ElementInclude.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with
file from package python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/ElementInclude.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/ElementPath.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/ElementPath.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/ElementTree.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/ElementTree.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/HTMLTreeBuilder.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/HTMLTreeBuilder.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/SgmlopXMLTreeBuilder.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/SgmlopXMLTreeBuilder.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/SimpleXMLTreeBuilder.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/SimpleXMLTreeBuilder.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/SimpleXMLWriter.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/SimpleXMLWriter.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/TidyHTMLTreeBuilder.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/TidyHTMLTreeBuilder.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/TidyTools.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/TidyTools.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/XMLTreeBuilder.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from
package python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/XMLTreeBuilder.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/__init__.pyc from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
file /usr/lib/python2.3/site-packages/elementtree/__init__.pyo from install of python-elementtree-1.2.6-4.2.1 conflicts with file from package
python-elementtree-1.2.6-4.2.1
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.i 386.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-py thon-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 http://mirror.freepbx.org/centos-yumconf-4-4.5.noarch.rpm
rpm -ivh --nodeps --force *rpm
Any one knows any thing wrong with it? I am new to linux and thanks in advance for any help.
Best Regards
Johnny
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-... wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/python-urlgrabber-2.9.8-2... wget http://centos.cs.ucr.edu/centos/4/apt/i386/RPMS.os/python-sqlite-1.1.7-1.2.i... 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-py... wget http://centos.mirror.vpslink.com/centos-4/4.4/os/i386/CentOS/RPMS/rpm-python... 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 following:
# 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.
On Mon, Dec 04, 2006 at 12:45:41PM +0800, johnny wrote:
Hi, everyone, I have one conflict problem when I try to install Centos YUM on RHEL 4_X 86_64.
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
you are using Oracle's version...
Not Red Hat nor CentOS.
Tru
johnny wrote:
Hi, everyone, I have one conflict problem when I try to install Centos YUM on RHEL 4_X 86_64.
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
Are you going to ask that question every three days now?
a) You broke oracle's unbreakable linux, that is neither a CentOS nor a Redhat kernel.
b) I though Jim Perrin gave you some advice on December 1st. What was wrong with that?
c) What do the oracle support channels say about your problem? Oracle
Ralph
Since you didn't read it the first time -> http://lists.centos.org/pipermail/centos/2006-December/072956.html