I tried to upgrade Plesk Panel installed inside VZ container, but
autoinstaller failed with the following error:
Failed to check system configuration - Yum utility finished with errors. Installation may fail. Traceback (most recent call last): File "/usr/local/psa/bin/yum_install", line 6, in ? import yum File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 23, in ? import rpm File "/usr/lib/python2.4/site-packages/rpm/__init__.py", line 7, in ? from _rpm import * ImportError: /usr/lib/python2.4/site-packages/rpm/_rpmmodule.so: wrong ELF class: ELFCLASS32
The issue is caused by the fact, that installed
yum package itself has x86_64 architecture, but its dependencies (
rpm-libs, etc) have i386 architecture.
Install the following packages with x86_64 architecture, you can use RPM search to find needed packages, please do not forget to specify your OS version.
popt python-elementtree python-sqlite rpm rpm-libs rpm-python yum-metadata-parser
autoinstallerutility and complete upgrade.