------------ Original Message ------------
Date: Sunday, April 19, 2015 18:44:43 +0000 From: Sarogahtyp sarogahtyp@web.de To: centos@centos.org Subject: [CentOS] yum install failiure - CentOS-7 - Base
I have a running CentOS 6.5 64-bit system running and i like to have a CentOS 7 chrooted system inside. Ive done that chroot environment as described in http://www.jefftk.com/p/32-bit-chroot-on-centos
Now my problem ist that yum is not working as i suggested:
bash-4.2# yum install sudo Geladene Plugins: fastestmirror http://mirror.centos.org/centos/7/os/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Anderer Spiegelserver wird versucht.
Yum is working fine, and gave the correct response "HTTP Error 404 - Not Found". If you look with a browser you'll see that there's no i386 directory under .../7/os/.
I haven't been following this closely, but I don't believe that there was an RH 32-bit release of 7. A Centos group was looking into building one, but I'm not certain of its status.
Richard <lists-centos@...> writes:
------------ Original Message ------------
Date: Sunday, April 19, 2015 18:44:43 +0000 From: Sarogahtyp <sarogahtyp@...> To: centos@... Subject: [CentOS] yum install failiure - CentOS-7 - Base
I have a running CentOS 6.5 64-bit system running and i like to have a CentOS 7 chrooted system inside. Ive done that chroot environment as described in http://www.jefftk.com/p/32-bit-chroot-on-centos
Now my problem ist that yum is not working as i suggested:
bash-4.2# yum install sudo Geladene Plugins: fastestmirror http://mirror.centos.org/centos/7/os/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Anderer Spiegelserver wird versucht.
Yum is working fine, and gave the correct response "HTTP Error 404 - Not Found". If you look with a browser you'll see that there's no i386 directory under .../7/os/.
I haven't been following this closely, but I don't believe that there was an RH 32-bit release of 7. A Centos group was looking into building one, but I'm not certain of its status.
I checked the mirrorlist.txt for base and it shows me correct entries:
/var/cache/yum/x86_64/7/base/mirrorlist.txt:
http://centosmirror.netcup.net/centos/7.1.1503/os/x86_64/ http://centos.intergenia.de/7.1.1503/os/x86_64/ http://mirror.eu.oneandone.net/linux/distributions/centos/7.1.1503/os/x86_64 / http://wftp.tu-chemnitz.de/pub/linux/centos/7.1.1503/os/x86_64/ http://mirror.skylink-datacenter.de/centos/7.1.1503/os/x86_64/ http://centos.mirrors.as250.net/7.1.1503/os/x86_64/ http://artfiles.org/centos.org/7.1.1503/os/x86_64/ http://mirror.imt-systems.com/centos/7.1.1503/os/x86_64/ http://centos.schlundtech.de/7.1.1503/os/x86_64/ http://mirror.de.leaseweb.net/centos/7.1.1503/os/x86_64/
i dont know why yum uses those i386-paths, but thanx for that hint i ll look for the reason for that. but feel free to post more hints :-)
Thank you very much, i got it now :-)
i ve copied those command to enter the chroot environment:
sudo setarch i386 /usr/sbin/chroot $CHROOT_DIR/ /bin/bash -l
now i changed it to the right architecture and everything is good :-) thanks again for ur hint...