• 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

Problem libidn2-2.0.4-3.el6.x86_64 error requires libunistring.so.0 ()

Shasam

Basic Pleskian
Hello,

I can not update Plesk to Onyx 17.8.11.

I have the error below that I can not solve.
I have done several research but I can not find the solution.

Do you have any answers to solve this?

Thanking you by vance.

Cordially.

My Plesk Version 17.5.3


SITEBUILDER_17_0_16-thirdparty | 2.9 kB 00:00
Exception: Failed to solve dependencies:
libidn2-2.0.4-3.el6.x86_64 requires libunistring.so.0()(64bit)


ERROR: The yum utility failed to install the required packages.
Warning ! Your software may not work.
Contact the product technical support.
 
Hello

Is there someone from Plesk who can help me with my application?

Thanks in advance.

cordially
 
What is output of commands:

# rpm -qf /usr/lib64/libunistring.so.0
# rpm -qa | grep libidn2

?
 
Hi Igor,

Voici les retours sur les commandes en question

# rpm -qf /usr/lib64/libunistring.so.0
erreur: fichier /usr/lib64/libunistring.so.0: Aucun fichier ou dossier de ce type


# rpm -qa | grep libidn2
[xxxxxx @ xxxxxxx ~] #

Here are the returns on the orders in question
 
Try to install missing library with

# yum install libunistring
 
Igor,

This is the message

yum install libunistring
Complementary modules loaded: presto
Configuring the installation process
PLESK_17_5_3-extras | 2.9 kB 00:00
PLESK_17_5_3-extras / primary_db | 28 kB 00:00
PLESK_17_NGINX | 2.9 kB 00:00
PLESK_17_NGINX / primary_db | 3.3 kB 00:00
PLESK_17_PHP54 | 2.9 kB 00:00
PLESK_17_PHP54 / primary_db | 14 kB 00:00
PLESK_17_PHP56 | 2.9 kB 00:00
PLESK_17_PHP56 / primary_db | 14 kB 00:00
PLESK_17_PHP70 | 2.9 kB 00:00
PLESK_17_PHP70 / primary_db | 14 kB 00:00
PLESK_17_PHP71 | 2.9 kB 00:00
PLESK_17_PHP71 / primary_db | 14 kB 00:00
PLESK_17_PHP72 | 2.9 kB 00:00
PLESK_17_PHP72 / primary_db | 15 kB 00:00
plesk-migrator | 2.9 kB 00:00
plesk-migrator / primary_db | 6.7 kB 00:00
plesk-migrator-tp | 2.9 kB 00:00
plesk-migrator-tp / primary_db | 1.2 kB 00:00
No libunistring package available.
Error: Nothing to do
 
Something wrong with your yum repositories. Check with

# yum repolist

that you have enabled correct CentOS repositories.

On my CentOS 6.9 Plesk server I see:

# rpm -qf /usr/lib64/libunistring.so.0
libunistring-0.9.3-5.el6.x86_64
 
Igor,

Here is the return

# yum repolist
Modules complémentaires chargés : presto
id du dépôt nom du dépôt statut
PLESK_17_5_3-extras PLESK_17_5_3 extras 33
PLESK_17_NGINX Nginx for Plesk 17.x 1
PLESK_17_PHP54 PHP 5.4 for Plesk 17 32
PLESK_17_PHP56 PHP 5.6 for Plesk 17 31
PLESK_17_PHP70 PHP 7.0 for Plesk 17 31
PLESK_17_PHP71 PHP 7.1 for Plesk 17 31
PLESK_17_PHP72 PHP 7.2 for Plesk 17 31
plesk-migrator Plesk packages for migrator 9
plesk-migrator-tp Plesk 3d-party packages for migrator 0
repolist: 199


rpm -qf /usr/lib64/libunistring.so.0
error: file /usr/lib64/libunistring.so.0: No file or folder of this type
 
For some reasons, you have no any default CentOS repositories. Look at the output on my CentOS6.9 server:

# ll /etc/yum.repos.d/
total 64
-rw-r--r-- 1 root root 1991 Mar 28 2017 CentOS-Base.repo
-rw-r--r-- 1 root root 647 Mar 28 2017 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 630 Mar 28 2017 CentOS-Media.repo
-rw-r--r-- 1 root root 7989 Mar 28 2017 CentOS-Vault.repo
-rw-r--r-- 1 root root 289 Mar 28 2017 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 1056 Nov 5 2012 epel-testing.repo
-rw-r--r-- 1 root root 957 Nov 5 2012 epel.repo
-rw-r--r-- 1 root root 1663 Apr 5 2017 mysql-community-source.repo
-rw-r--r-- 1 root root 1625 Apr 5 2017 mysql-community.repo
-rw-r--r-- 1 root root 353 Jun 15 04:05 plesk-migrator.repo
-rw-r--r-- 1 root root 422 Jun 21 04:04 plesk.repo

Download and install centos-release package for your OS for adding default CentOS yum repositories.
It is not Plesk related issue, just fix your broken OS.
 
Thank you Igor for your help.

Below the return of the order:

ll /etc/yum.repos.d/
total 8
-rw-r - r-- 1 root root 353 15 Jun 03:48 plesk-migrator.repo
-rw-r - r-- 1 root root 966 27 Jun 03:22 plesk.repo

In order not to make a mistake, can you please give me the command to execute regarding install centos-release?

Thanks in advance.
 
In order not to make a mistake, can you please give me the command to execute regarding install centos-release?
Just google centos-release package for your OS, download it on your server and install with something like

# rpm -ivh centos-release....rpm

Maybe force is required:

# rpm -ivh --force centos-release....rpm
 
Thank you Igor,

I was able to put everything back in order after having made the order below:

rpm -ivh --force centos-release-6-9.el6.12.3.x86_64.rpm

I was able to update Plesk version 17.8.11.

Have a good day.
 
Back
Top