• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Upgrade to 12.5 failed

Frater

Regular Pleskian
Because one of the packages "libarchive" is already installed, the Plesk upgrade fails.
How can this be resolved?

Code:
Running rpm_check_debug
Fatal error during packages installation: Test Transaction Errors: package libarchive-2.8.4-11082614.x86_64 (which is newer than libarchive-2.8.4-6.el5.i386) is already installed

YumTestTransactionError: Test Transaction Errors: package libarchive-2.8.4-11082614.x86_64 (which is newer than libarchive-2.8.4-6.el5.i386) is already installed

Error: Failed to run the Yum utility.
The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Please, contact product technical support.
 
I just made things worse....
I removed the packages without the packages that depend on it and installing the one it wants
Code:
rpm -e --nodeps libarchive
yum install libarchive-2.8.4-6.el5.i386

But now Plesk doesn't start anymore

Code:
# /etc/init.d/psa start
Starting psa... Starting sw-engine-fpm: /usr/sbin/sw-engine-fpm: error while loading shared libraries: libarchive.so.2: cannot open shared object file: No such file or directory
                                                           [FAILED]
                                                                      failed
Starting xinetd service...                                            done
Starting sw-cp-server service...                                      done
Starting mysqld service...                                            done
Starting named service...                                             done
Starting postgresql service...                                        not installed
Starting spamassassin service...                                      not installed
Plesk: Starting Mail Server... already started
Starting psa... Starting sw-engine-fpm: /usr/sbin/sw-engine-fpm: error while loading shared libraries: libarchive.so.2: cannot open shared object file: No such file or directory
                                                           [FAILED]
                                                                      failed
 
Hello,

You can install libarchive from 'epel' repository:
Code:
# wget -q  https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
# rpm -Uvh epel-release-latest-5.noarch.rpm
warning: epel-release-latest-5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
# yum install libarchive
Loaded plugins: fastestmirror, security
Determining fastest mirrors
* epel: ftp.lysator.liu.se
....
Installed:
  libarchive.i386 0:2.8.4-6.el5                             libarchive.x86_64 0:2.8.4-6.el5                          
Complete!
# /etc/init.d/sw-engine restart
Stopping sw-engine-fpm:                                    [FAILED]
Starting sw-engine-fpm:                                    [  OK  ]
 
I was able to install libarchive using yum (epel repo was already installed), but this didn't create the missing library. At the moment of your post I had someone from Odin support on my server and couldn't mess with it anymore.
They did this to solve it:

Code:
# ldd /usr/bin/sw-engine | grep -i libarchive.so.2
libarchive.so.2 => not found
# rpm -Uvh libarchive-2.8.4-14042917.x86_64.rpm --force
# ldd /usr/bin/sw-engine | grep -i libarchive.so.2
libarchive.so.2 => /usr/lib64/libarchive.so.2 (0x00002afc12bd2000)
#
 
Back
Top