Seite 1 von 1

Problem updating opsi on CentOS

Verfasst: 14 Jul 2015, 11:01
von duda
Hallo,

I cannot update opsiconfd because of the python dependencies. Do you maybe have any idea how to fix this?

Best regards,

D. Tepsic

Code: Alles auswählen

[root@opsi ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.widexs.nl
 * epel: mirror.serverbeheren.nl
 * extras: mirror.i3d.net
 * updates: mirror.widexs.nl
Resolving Dependencies
--> Running transaction check
---> Package firefox.x86_64 0:38.0.1-1.el7.centos will be updated
---> Package firefox.x86_64 0:38.1.0-1.el7.centos will be an update
---> Package lz4.x86_64 0:r129-1.el7 will be updated
---> Package lz4.x86_64 0:r130-1.el7 will be an update
---> Package openssl.x86_64 1:1.0.1e-42.el7.8 will be updated
---> Package openssl.x86_64 1:1.0.1e-42.el7.9 will be an update
---> Package openssl-libs.x86_64 1:1.0.1e-42.el7.8 will be updated
---> Package openssl-libs.x86_64 1:1.0.1e-42.el7.9 will be an update
---> Package opsi-depotserver.noarch 0:4.0.5.11-1.2 will be updated
---> Package opsi-depotserver.noarch 0:4.0.5.11-3.1 will be an update
---> Package opsi-utils.noarch 0:4.0.5.6-2.2 will be updated
---> Package opsi-utils.noarch 0:4.0.5.6-3.1 will be an update
---> Package opsiconfd.noarch 0:4.0.5.3-1.1 will be updated
---> Package opsiconfd.noarch 0:4.0.5.3-3.1 will be an update
--> Processing Dependency: /bin/python for package: opsiconfd-4.0.5.3-3.1.noarch
---> Package python.x86_64 0:2.7.5-16.el7 will be updated
---> Package python.x86_64 0:2.7.5-18.el7_1.1 will be an update
---> Package python-libs.x86_64 0:2.7.5-16.el7 will be updated
---> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be an update
---> Package python-opsi.noarch 0:4.0.5.15-1.2 will be updated
---> Package python-opsi.noarch 0:4.0.5.19-1.1 will be an update
---> Package simple-scan.x86_64 0:3.10.3-1.el7 will be updated
---> Package simple-scan.x86_64 0:3.12.2-1.el7 will be an update
--> Processing Dependency: /bin/python for package: opsipxeconfd-4.0.5.3-6.2.noarch
--> Processing Dependency: /bin/python for package: python-Twisted-12.0.0-24.2.x86_64
--> Processing Dependency: /bin/python for package: opsiconfd-4.0.5.3-3.1.noarch
--> Finished Dependency Resolution
Error: Package: opsiconfd-4.0.5.3-3.1.noarch (home_uibmz_opsi_opsi40)
           Requires: /bin/python
           Removing: python-2.7.5-16.el7.x86_64 (@anaconda)
               Not found
           Updated By: python-2.7.5-18.el7_1.1.x86_64 (updates)
               Not found
Error: Package: opsipxeconfd-4.0.5.3-6.2.noarch (@home_uibmz_opsi_opsi40)
           Requires: /bin/python
           Removing: python-2.7.5-16.el7.x86_64 (@anaconda)
               Not found
           Updated By: python-2.7.5-18.el7_1.1.x86_64 (updates)
               Not found
Error: Package: python-Twisted-12.0.0-24.2.x86_64 (@home_uibmz_opsi_opsi40)
           Requires: /bin/python
           Removing: python-2.7.5-16.el7.x86_64 (@anaconda)
               Not found
           Updated By: python-2.7.5-18.el7_1.1.x86_64 (updates)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Re: Problem updating opsi on CentOS

Verfasst: 16 Jul 2015, 09:48
von n.wenselowski
Hello,

I'd suggest running:
  • yum clean all
  • yum makecache
  • yum update
Before installing opsi.


With kind regards

Niko

Re: Problem updating opsi on CentOS

Verfasst: 17 Jul 2015, 13:22
von duda
Thanks for your answer, but that didn't help.

Code: Alles auswählen

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.proserve.nl
 * epel: ftp.nluug.nl
 * extras: ftp.tudelft.nl
 * updates: mirror.1000mbps.com
Resolving Dependencies
--> Running transaction check
---> Package openssl.x86_64 1:1.0.1e-42.el7.8 will be updated
---> Package openssl.x86_64 1:1.0.1e-42.el7.9 will be an update
---> Package openssl-libs.x86_64 1:1.0.1e-42.el7.8 will be updated
---> Package openssl-libs.x86_64 1:1.0.1e-42.el7.9 will be an update
---> Package opsi-depotserver.noarch 0:4.0.5.11-1.2 will be updated
---> Package opsi-depotserver.noarch 0:4.0.5.11-3.1 will be an update
---> Package opsi-utils.noarch 0:4.0.5.6-2.2 will be updated
---> Package opsi-utils.noarch 0:4.0.5.6-3.1 will be an update
---> Package opsiconfd.noarch 0:4.0.5.3-1.1 will be updated
---> Package opsiconfd.noarch 0:4.0.5.3-3.1 will be an update
--> Processing Dependency: /bin/python for package: opsiconfd-4.0.5.3-3.1.noarch
---> Package python.x86_64 0:2.7.5-16.el7 will be updated
---> Package python.x86_64 0:2.7.5-18.el7_1.1 will be an update
---> Package python-libs.x86_64 0:2.7.5-16.el7 will be updated
---> Package python-libs.x86_64 0:2.7.5-18.el7_1.1 will be an update
---> Package python-opsi.noarch 0:4.0.5.15-1.2 will be updated
---> Package python-opsi.noarch 0:4.0.5.19-1.1 will be an update
--> Processing Dependency: /bin/python for package: opsipxeconfd-4.0.5.3-6.2.noarch
--> Processing Dependency: /bin/python for package: python-Twisted-12.0.0-24.2.x86_64
--> Processing Dependency: /bin/python for package: opsiconfd-4.0.5.3-3.1.noarch
--> Finished Dependency Resolution
Error: Package: opsiconfd-4.0.5.3-3.1.noarch (home_uibmz_opsi_opsi40)
           Requires: /bin/python
           Removing: python-2.7.5-16.el7.x86_64 (@anaconda)
               Not found
           Updated By: python-2.7.5-18.el7_1.1.x86_64 (updates)
               Not found
Error: Package: opsipxeconfd-4.0.5.3-6.2.noarch (@home_uibmz_opsi_opsi40)
           Requires: /bin/python
           Removing: python-2.7.5-16.el7.x86_64 (@anaconda)
               Not found
           Updated By: python-2.7.5-18.el7_1.1.x86_64 (updates)
               Not found
Error: Package: python-Twisted-12.0.0-24.2.x86_64 (@home_uibmz_opsi_opsi40)
           Requires: /bin/python
           Removing: python-2.7.5-16.el7.x86_64 (@anaconda)
               Not found
           Updated By: python-2.7.5-18.el7_1.1.x86_64 (updates)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

If anybody has an idea what to do ... I would appreciate it a lot.

Kind regards,

Duda

Re: Problem updating opsi on CentOS

Verfasst: 17 Jul 2015, 13:43
von duda
I have just take a look at http://download.opensuse.org/repositori ... 0/CentOS_7 and I cannot find any of the files that I am missing on the pc ... python-2.7.5-18.el7_1.1.x86_64.
I assume that the repository of CentOS 7 is not actively updated with files needed for updating of OPSI...
The choice is to keep the Centos unpatched or to risk the non functional OPSI server.

Kind regards,

Duda

Re: Problem updating opsi on CentOS

Verfasst: 20 Jul 2015, 13:43
von n.wenselowski
duda hat geschrieben:I have just take a look at http://download.opensuse.org/repositori ... 0/CentOS_7 and I cannot find any of the files that I am missing on the pc ... python-2.7.5-18.el7_1.1.x86_64.
Well, this is to be expected as this repo only contains what is needed to install opsi in addition to the CentOS standard repositories.

Re: Problem updating opsi on CentOS

Verfasst: 24 Jul 2015, 14:02
von SisterOfMercy
Can you try to only update your python packages? I have a CentOS7 running somewhere, albeit without OPSI, but this has that python version installed, without any problems. Can't think of anything else right now :(

Code: Alles auswählen

python.x86_64                                                   2.7.5-18.el7_1.1                                    @updates

Re: Problem updating opsi on CentOS

Verfasst: 24 Jul 2015, 14:24
von n.wenselowski
Hi,

You can try to only update the opsi packages first:

Code: Alles auswählen

yum update opsiconfd opsipxeconfd
The problem is probebly related to the environment the packages get build and only occurs if /bin is a link to /usr/bin and in PATH /bin is listed before /usr/bin.


Kind regards

Niko

Re: Problem updating opsi on CentOS

Verfasst: 28 Jul 2015, 17:00
von n.wenselowski
Hello,

we published updated packages in the testing repository that should fix the problem with CentOS.
Please provide feedback! I do not recommend running this version in production unless you know how to roll back to an old version.


With kind regards

Niko