Seite 1 von 1
Problems installing opsi in Centos with python version
Verfasst: 22 Nov 2011, 13:24
von vvcastro
Hello,
I'm trying to install opsi on a Centos Server 6.0, but this OS has the python 2.6 version installed by default and Opsi requires the version 2.4 to install dependencies. I installed python 2.4 in other directory (/opt/pyhton2.4) and changed the alias, so the command "python -V" returns Python 2.4.6.
However, I have to install opsi with yum repository and it takes its own python version, the 2.6. I don't think I could remove the 2.6 and install 2.4 instead. Has anyone experienced these problems before?
Hope you can help me!
Thanks in advanced.
Re: Problems installing opsi in Centos with python version
Verfasst: 22 Nov 2011, 14:57
von ueluekmen
Hi,
opsi needs: python >= 2.4... We don't know anything about problems with centos 6.
Which repository from opsi did you use for installation?
regards
Re: Problems installing opsi in Centos with python version
Verfasst: 22 Nov 2011, 16:41
von vvcastro
Hi,
I followed the instructions in the installation manual, and I added the file /etc/yum.repos.d/opsi40.repo with the content
[opsi4]
name=opsi4.0 for RHEL/ CentOS $releasever - $basearch
baseurl=
http://download.opensuse.org/repositori ... _CentOS-5/
enabled=1
gpgcheck=1
gpgkey=
http://download.opensuse.org/repositori ... md.xml.key
I tried also modifying the CentOS version, I replaced "CentOS-5" with "CentOS-6" but it didn't work!
This is the result when I try to install opsi with
yum install opsi-depotserver {opsi-configed} .
Code: Alles auswählen
Error: Package: opsiconfd-4.0.1.9-5.1.noarch (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-simplejson-2.0.9-11.2.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-mysql-1.2.2-92.2.x86_64 (opsi4)
Requires: libmysqlclient_r.so.15()(64bit)
Error: Package: python-pam-0.5.0-76.2.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-sqlalchemy-0.6.6-17.3.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: opsipxeconfd-4.0.1.4-1.1.noarch (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-zopeinterface-3.3.0-114.2.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-mysql-1.2.2-92.2.x86_64 (opsi4)
Requires: libmysqlclient_r.so.15(libmysqlclient_15)(64bit)
Error: Package: python-crypto-2.1.0-5.2.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-twisted-8.2.0-13.2.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-pyparsing-1.5.6-15.1.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-mysql-1.2.2-92.2.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-magic-5.04-6.2.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-serial-2.4-11.2.noarch (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-ldaptor-0.0.43-12.2.x86_64 (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Error: Package: python-opsi-4.0.1.32-1.1.noarch (opsi4)
Requires: python(abi) = 2.4
Installed: python-2.6.5-3.el6_0.2.x86_64 (@updates)
python(abi) = 2.6
Available: python-2.6.5-3.el6.i686 (base)
python(abi) = 2.6
Available: python-2.6.5-3.el6.x86_64 (base)
python(abi) = 2.6
Regards
Re: Problems installing opsi in Centos with python version
Verfasst: 15 Dez 2011, 10:36
von wolfbardo
Hi,
vvcastro hat geschrieben:
I tried also modifying the CentOS version, I replaced "CentOS-5" with "CentOS-6" but it didn't work!
please try the CentOS-6 repo:
Code: Alles auswählen
[opsi4]
name=opsi4.0 for RHEL/ CentOS $releasever - $basearch
baseurl=http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/CentOS_CentOS-6/
enabled=1
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/CentOS_CentOS-6/repodata/repomd.xml.key
regards,
Bardo Wolf