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 Xing Haipeng ------------------------------------------------- Mobile: 65-97418592 Banshing Industrial Co, (Pte) Ltd. 13 Serangoon North Ave 5, 554787 ------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20061201/48c3404d/attachment-0001.html>
> > 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/LinuxThis 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.3It 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.rpmOkay, 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 *rpmThis 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
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20061204/8bc5cb1e/attachment-0001.html>
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 *rpmIt'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. -- Best regards, Alexey Loukianov mailto:aloukianov at lavtech.ru System Engineer, IT Department, Lavtech Corp