• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

update failure

J

jobs

Guest
Does anybody know why my updates keep failing?

Try to find rcfile...
Autoinstaller rcfile not found.
Check hostname is sucessfull.
Opsys detected as: os_name=Linux os_vendor=FedoraCore version=4 arch=i686 environment=
Final opsys (with overriding) is: os_name=Linux os_vendor=FedoraCore version=4
arch=i686 environment=
Downloading the file products.inf3: 100% done.
Downloading the file plesk.inf3: 100% done.
Downloading the file sitebuilder.inf3: 100% done.
repository: Get brief packages info for all sources
Checking for installed packages... readSystemPackagesBrief: execute rpm -qa
--queryformat
'F:system_installed_brief_%{NAME}-%{VERSION}-%{RELEASE}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\nX:\n'
done
release PLESK_8_2_0 is actual
release PLESK_8_2_1 is actual
release SB_3_0_0 is actual
release SB_3_0_1 is actual
release SB_3_0_2 is actual
release SB_4_0_0 is actual
Select best build of PLESK_8_2_1 for current OS
First fit build is current best: PSA_8.2.1/plesk-8.2.1-fc4-i386.inf3
Select best build: finally choised PSA_8.2.1/plesk-8.2.1-fc4-i386.inf3
Downloading the file PSA_8.2.1/plesk-8.2.1-fc4-i386.inf3: 100% done.
repository: Get brief packages info for all sources
Detecting installed product components.
Component base: mode upgrade, installed=1183713897, available=1190087567
No keyupdate need for component base
Component psa-autoinstaller: mode up2date, installed=1189761327, available=1189761327
Component asp: mode upgrade, installed=1183713977, available=1190087649
Component spamassassin: mode up2date, installed=1190087516, available=1190087685
Component ruby: mode install, installed=0, available=1190087659
Component fcgi: mode install, installed=0, available=1160389821
Component backup-ded: mode upgrade, installed=1183713974, available=1190087646
Component kav: mode install, installed=0, available=1190087668
Component ppwse: mode upgrade, installed=1186484200, available=1190087635
Component api: mode upgrade, installed=1183713833, available=1190087503
Component sshterm: mode upgrade, installed=1183713782, available=1190087452
Component pmm: mode upgrade, installed=1183713790, available=1190087460
Component psa-firewall: mode upgrade, installed=1183713839, available=1190087509
Component cs-gs: mode upgrade, installed=1183713837, available=1190087506
Component psa-vpn: mode upgrade, installed=1183713934, available=1190087605
Component battlefield: mode upgrade, installed=1183713952, available=1190087625
Component bf2: mode upgrade, installed=1183713981, available=1190087654
Component psa-fileserver: mode upgrade, installed=1183713830, available=1190087500
Component watchdog: mode upgrade, installed=1183713968, available=1190087641
Component sitebuilder: mode install, installed=0, available=1182877783
Component sb-publish: mode install, installed=0, available=1160554112
Component cf-support: mode upgrade, installed=1183713983, available=1190087655
Component atis: mode upgrade, installed=1167889488, available=1185275145
Component miva: mode install, installed=0, available=1190087662
Component sso: mode install, installed=0, available=1190087674
Component de-DE-locale: mode install, installed=0, available=1190032171
Component ja-JP-locale: mode install, installed=0, available=1190032186
Component es-ES-locale: mode install, installed=0, available=1190032176
Component ru-RU-locale: mode install, installed=0, available=1190032203
Component fr-FR-locale: mode install, installed=0, available=1190032180
Component it-IT-locale: mode install, installed=0, available=1190032184
Component zh-CN-locale: mode install, installed=0, available=1190032209
Component zh-TW-locale: mode install, installed=0, available=1190032211
Check for components requires keyupdate
No keyupdate need for component base
Exchanging information with licensing server.
KeyUpdateChecker::doCheck: no components for check key update
repository: Get full packages info for all sources
Retrieving information about the installed packages... execute command for generate
rpm cache in /tmp:
rpm -qa --queryformat
'F:system_installed_%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\nN:%{NAME}\nE:%{EPOCH}\nV:%{VERSION}\nL:%{RELEASE}\nA:%{ARCH}\nf:%{INSTALLTIME}\nB:%{BUILDTIME}\n[R:%{REQUIRENAME}
%{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n][P:%{PROVIDENAME}
%{PROVIDEFLAGS:depflags}
%{PROVIDEVERSION}\n][P:%{FILENAMES}\nm:%{FILEMODES}\n5:%{FILEMD5S}%{FILELINKTOS}\n][C:%{CONFLICTNAME}
%{CONFLICTFLAGS:depflags} %{CONFLICTVERSION}\n][O:%{OBSOLETENAME}
%{OBSOLETEFLAGS:depflags} %{OBSOLETEVERSION}\n]X:\n' >
/tmp/autoinstaller_system_packages.cache
read cache file
done
Downloading the file
PSA_8.2.1/update-rpm-FedoraCore-4-i386/update-8.2.1-fc4-i386.hdr.gz:
25%..46%..68%..89%..100% done.
Downloading the file
PSA_8.2.1/thirdparty-rpm-FedoraCore-4-i386/thirdparty-8.2.1-fc4-i386.hdr.gz: 100%
done.
Downloading the file
PSA_8.2.1/dist-rpm-FedoraCore-4-i386/build-8.2.1-fc4-i386.hdr.gz: 27%..66%..100%
done.
Determining the packages that need to be installed.

Getting packages to installation list:
Get packages to installation from selected component base
Get packages to installation from selected component backup-ded
Get packages to installation from selected component api
Get packages to installation from selected component pmm
Get packages to installation from selected component psa-firewall
Get packages to installation from selected component cs-gs
Get packages to installation from selected component psa-vpn
Get packages to installation from selected component battlefield
Get packages to installation from selected component psa-fileserver
Get packages to installation from selected component watchdog
Warning: unresolved requires 'glibc-common = 2.3.5-10' from glibc-2.3.5-10.i686
Warning: unresolved requires '/usr/bin/lpr' from redhat-lsb-1.3-10.i386
Warning: unresolved requires '/usr/sbin/sendmail' from redhat-lsb-1.3-10.i386
Warning: unresolved requires 'dummy-fedora-core-4' from
dummy-selinux-openvz-1.0-2.noarch
Warning: unresolved requires 'vzdummyfc4' from dummy-selinux-vz-1.0-2.noarch
Warning: packages conflict by files detected: package jaf-0:1.0.2-4jpp.noarch
conflict with package classpathx-jaf-0:1.0-2jpp_3fc.noarch
both have file /usr/share/java/jaf-1.0.2.jar with different md5 sum.
Warning: packages conflict by files detected: package javamail-0:1.3.2-1jpp.noarch
conflict with package classpathx-mail-0:1.0-3jpp_1fc.noarch
both have file /usr/share/java/javamail/imap.jar with different md5 sum.
Warning: packages conflict by files detected: package
Sitebuilder-2.1.3-fc4.build060607.14.i386
conflict with package sitebuilder-4.0.0-all.build07062700.noarch
both have file /usr/local/sitebuilder/.build with different md5 sum.
Warning: packages conflict by files detected: package
classpathx-jaf-0:1.0-2jpp_3fc.noarch
conflict with package jaf-0:1.0.2-4jpp.noarch
both have file /usr/share/java/jaf-1.0.2.jar with different md5 sum.
Warning: packages conflict by files detected: package
classpathx-mail-0:1.0-3jpp_1fc.noarch
conflict with package javamail-0:1.3.2-1jpp.noarch
both have file /usr/share/java/javamail/imap.jar with different md5 sum.
Warning: packages conflict by files detected: package
sitebuilder-4.0.0-all.build07062700.noarch
conflict with package Sitebuilder-2.1.3-fc4.build060607.14.i386
both have file /usr/local/sitebuilder/.build with different md5 sum.
Check package set before installation
repository: download selected packages
Downloading the file
PSA_8.2.1/dist-rpm-FedoraCore-4-i386/opt/api/psa-api-rpc-8.2.1-fc4.build82070918.10.noarch.rpm:
skipped because of md5 checksum match.
Downloading the file
PSA_8.2.1/dist-rpm-FedoraCore-4-i386/opt/modules/firewall/psa-firewall-1.0.1-fc4.build82070918.10.i586.rpm:
skipped because of md5 checksum match.
Downloading the file
PSA_8.2.1/dist-rpm-FedoraCore-4-i386/opt/modules/csgs/cs-gs-2.0.0-fc4.build82070918.10.i586.rpm:
skipped because of md5 checksum match.
Downloading the file
PSA_8.2.1/dist-rpm-FedoraCore-4-i386/opt/modules/vpn/psa-vpn-2.0.1-fc4.build82070918.10.i586.rpm:
skipped because of md5 checksum match.
Downloading the file
PSA_8.2.1/dist-rpm-FedoraCore-4-i386/opt/modules/bf1942/psa-bf1942-1.0.0-fc4.build82070918.10.i586.rpm:
skipped because of md5 checksum match.
Downloading the file
PSA_8.2.1/dist-rpm-FedoraCore-4-i386/opt/modules/fileserver/psa-fileserver-1.0.0-fc4.build82070918.10.i586.rpm:
skipped because of md5 checksum match.
Downloading the file
PSA_8.2.1/dist-rpm-FedoraCore-4-i386/opt/modules/watchdog/psa-watchdog-2.0.3-fc4.build82070918.10.i586.rpm:
skipped because of md5 checksum match.
Starting installation of packages
Warning: unresolved requires 'glibc-common = 2.3.5-10' from glibc-2.3.5-10.i686
Warning: unresolved requires '/usr/bin/lpr' from redhat-lsb-1.3-10.i386
Warning: unresolved requires '/usr/sbin/sendmail' from redhat-lsb-1.3-10.i386
prepareInstallStep: resolve results for package(s):
(s) system_installed_bash-3.0-31.i386.rpm
(s) system_installed_python-2.4.3-8.FC4.i386.rpm
(s) system_installed_psa-8.2.1-fc4.build82070918.10.i586.rpm
(s) system_installed_psa-api-8.2.1-fc4.build82070918.10.noarch.rpm
(s) system_installed_psa-backup-manager-8.2.1-fc4.build82070918.10.i586.rpm
Installing the package psa-api-rpc-8.2.1-fc4.build82070918.10.noarch
error: Failed dependencies:
psa-api-rpc = 8.2.0-fc4.build82070706.15 is needed by (installed)
psa-backup-manager-8.2.0-fc4.build82070706.15.i586
ERROR: Unable to install the requested packages because of package dependency problems.
Warning! Not all packages were installed.
Please check if your system services are operable.
Please, contact product technical support.

I tried about everything, but cannot find any solution.
 
The upgrade failed with the following error:

---------------------
Installing the package psa-api-rpc-8.2.1-fc4.build82070918.10.noarch
error: Failed dependencies:
psa-api-rpc = 8.2.0-fc4.build82070706.15 is needed by (installed)
psa-backup-manager-8.2.0-fc4.build82070706.15.i586
ERROR: Unable to install the requested packages because of package dependency problems.
---------------------

Package psa-api-rpc of version 8.2.0 can not be upgraded to version 8.2.1 because it is needed by psa-backup-manager that has version 8.2.0 and is not going to be upgraded.

You should choose upgrading 'Plesk Backup Manager' and 'Plesk migration manager' in autoinstaller also, they depend on psa-api and psa-api-rpc.

./anb
 
updater is wrong

If i use the updater, my versions are newer, but still need to be updated?

I cut out some parts in the previous post, otherwise it was to big to post.

How can i manually update the necessary files?
 
what's the output of:
rpm -q psa && cat /usr/local/psa/version && mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e"select * from misc where param='version';"


All versions should be the same, otherwise you have broken upgrade and most probably you won't fix it using autoinstaller.
Manual upgrade is necessary. Download the
full distro from ftp://download1.swsoft.com/Plesk/Plesk8.2
unpack, and run
rpm -Uvh base/*.rpm opt/api/*.rpm opt/backup/*.rpm opt/horde/*.rpm opt/migration/*.rpm opt/updater/*.rpm
 
Do i lose all my settings in plesk if i do this reinstall?

I am still a newbee, so a step by step example could save my server :)
 
no, you shouldn't as the settings are stored in the Plesk database. The upgrade and force reinstallation doesn't remove the database. In any case it's always a good idea to have the database dump.
Create it with (for example)
mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` psa > psa_dump.sql
 
Back
Top