Problems installing opsi in Centos with python version

Antworten
vvcastro
Beiträge: 2
Registriert: 22 Nov 2011, 12:47

Problems installing opsi in Centos with python version

Beitrag 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.
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1940
Registriert: 28 Mai 2008, 10:53

Re: Problems installing opsi in Centos with python version

Beitrag 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


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


vvcastro
Beiträge: 2
Registriert: 22 Nov 2011, 12:47

Re: Problems installing opsi in Centos with python version

Beitrag 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
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1412
Registriert: 01 Jul 2008, 12:10

Re: Problems installing opsi in Centos with python version

Beitrag 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


Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.

Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.

uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de


Antworten