• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Question Yum error on Centos 7.9

tonydsza

New Pleskian
Server operating system version
Centos 7.9
Plesk version and microupdate number
18.0.43 Update
Hi

When running yum update, I get the error below. How can I resolve?

---> Package plesk-php81-xml.x86_64 0:8.1.6-1centos.7.220513.0910 will be an update
--> Running transaction check
---> Package libpsl.x86_64 0:0.7.0-1.el7 will be updated
--> Processing Dependency: libpsl.so.0()(64bit) for package: libcurl-7.83.1-1.0.cf.rhel7.x86_64
---> Package publicsuffix-list-dafsa.noarch 0:20180723-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: libcurl-7.83.1-1.0.cf.rhel7.x86_64 (@CityFan)
Requires: libpsl.so.0()(64bit)
Removing: libpsl-0.7.0-1.el7.x86_64 (@CityFan)
libpsl.so.0()(64bit)
Updated By: libpsl-0.20.2-6.el7.x86_64 (CityFan)
~libpsl.so.5()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
 
hello @tonydsza
it looks like you use some unsupported/unofficial repos.
at my test environment packages curl & libcurl have versions below:
curl-7.29.0-59.el7_9.1.x86_64
libcurl-7.29.0-59.el7_9.1.x86_64
and there is no package libpsl at all (yum search libpsl returns nothing)

could you please share output of
Code:
yum -v repolist enabled
command here ?
 
Last edited:
Hello @Nik G

My version of curl and lib curl is
Code:
curl-7.83.1-1.0.cf.rhel7.x86_64
libcurl-7.83.1-1.0.cf.rhel7.x86_64

yum -v repolist enabled shows:
Code:
Failed to set locale, defaulting to C
Loading "fastestmirror" plugin
Loading "product-id" plugin
Loading "rhsm-auto-add-pools" plugin
Loading "search-disabled-repos" plugin
Not loading "subscription-manager" plugin, as it is disabled
Config time: 0.099
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
 * base: mirror.wiru.co.za
 * epel: mirror.hostnet.nl
 * extras: mirror.wiru.co.za
 * updates: mirror.wiru.co.za
Trying to discover and attach new pools
Setting up Package Sacks
pkgsack time: 0.040
Repo-id      : CityFan/7/x86_64
Repo-name    : City Fan Repo
Repo-revision: 1652774539
Repo-updated : Tue May 17 10:02:19 2022
Repo-pkgs    : 768
Repo-size    : 164 M
Repo-baseurl : http://www.city-fan.org/ftp/contrib/yum-repo/rhel7/x86_64/
Repo-expire  : 21600 second(s) (last: Tue May 17 19:11:28 2022)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/city-fan.repo

Repo-id      : PLESK_17_PHP56
Repo-name    : PHP 5.6 for Plesk 17
Repo-revision: 1636524697
Repo-updated : Wed Nov 10 08:11:43 2021


Repo-id      : PLESK_17_PHP71
Repo-name    : PHP 7.1
Repo-revision: 1636454594
Repo-updated : Tue Nov  9 12:43:21 2021


Repo-id      : PLESK_17_PHP73
Repo-name    : PHP 7.3
Repo-revision: 1638878243
Repo-updated : Tue Dec  7 13:57:31 2021


Repo-id      : PLESK_17_PHP74
Repo-name    : PHP 7.4
Repo-revision: 1649995723
Repo-updated : Fri Apr 15 06:08:52 2022


Repo-id      : PLESK_17_PHP80
Repo-name    : PHP 8.0
Repo-revision: 1652441459
Repo-updated : Fri May 13 13:31:07 2022


Repo-id      : PLESK_17_PHP81
Repo-name    : PHP 8.1
Repo-revision: 1652410726
Repo-updated : Fri May 13 04:59:03 2022


Repo-id      : PLESK_18_0_43-extras
Repo-name    : PLESK_18_0_43 extras
Repo-revision: 1649937325
Repo-updated : Thu Apr 14 13:55:31 2022


Repo-id      : base/7/x86_64
Repo-name    : CentOS-7 - Base
Repo-revision: 1604001756
Repo-updated : Thu Oct 29 22:03:00 2020

Repo-id      : epel/x86_64
Repo-name    : Extra Packages for Enterprise Linux 7 - x86_64
Repo-revision: 1652756579
Repo-updated : Tue May 17 05:19:41 2022


Repo-id      : extras/7/x86_64
Repo-name    : CentOS-7 - Extras
Repo-revision: 1646318665
Repo-updated : Thu Mar  3 16:44:27 2022


Repo-id      : imunify360
Repo-name    : EL-7 - Imunify360
Repo-revision: 1651752915
Repo-updated : Thu May  5 14:15:15 2022


Repo-id      : imunify360-alt-php/7/x86_64
Repo-name    : Imunify360 alt-php repository for CentOS 7 - x86_64
Repo-revision: 1652776198
Repo-updated : Tue May 17 10:29:58 2022


Repo-id      : imunify360-rollout-1/7
Repo-name    : Imunify360 - Gradual Rollout Slot 1
Repo-revision: 1651839529
Repo-updated : Fri May  6 14:18:49 2022


Repo-id      : imunify360-rollout-2/7
Repo-name    : Imunify360 - Gradual Rollout Slot 2
Repo-revision: 1638887293
Repo-updated : Tue Dec  7 16:28:13 2021


Repo-id      : imunify360-rollout-3/7
Repo-name    : Imunify360 - Gradual Rollout Slot 3
Repo-revision: 1620826516
Repo-updated : Wed May 12 15:35:16 2021


Repo-id      : imunify360-rollout-4/7
Repo-name    : Imunify360 - Gradual Rollout Slot 4
Repo-revision: 1607336849
Repo-updated : Mon Dec  7 12:27:29 2020


Repo-id      : kernelcare/7/x86_64
Repo-name    : kernelcare
Repo-revision: 1651772827
Repo-updated : Thu May  5 19:47:07 2022


Repo-id      : mariadb
Repo-name    : MariaDB
Repo-revision: 1644639022
Repo-updated : Sat Feb 12 06:10:52 2022


Repo-id      : plesk-ext-docker/x86_64
Repo-name    : docker extension repository
Repo-revision: 1652364640
Repo-updated : Thu May 12 16:10:40 2022

Repo-id      : plesk-ext-panel-migrator
Repo-name    : panel-migrator extension repository
Repo-revision: 1648471713
Repo-updated : Mon Mar 28 14:48:39 2022


Repo-id      : plesk-ext-site-import
Repo-name    : site-import extension repository
Repo-revision: 1648471713
Repo-updated : Mon Mar 28 14:48:39 2022


Repo-id      : updates/7/x86_64
Repo-name    : CentOS-7 - Updates
Repo-revision: 1652459280
Repo-updated : Fri May 13 18:28:56 2022

repolist: 44279

If I try and remove libpsl I get
Code:
error: Failed dependencies:
    libpsl(x86-64) >= 0.7.0 is needed by (installed) libcurl-7.83.1-1.0.cf.rhel7.x86_64
    libpsl.so.0()(64bit) is needed by (installed) libcurl-7.83.1-1.0.cf.rhel7.x86_64
 
Hi @Nik G

If I disable CItyFan repo and run yum update I don't see libpsl coming up on the update list. For some reason my libcurl needs libpsl
 
Hi @Nik G

If I disable CItyFan repo and run yum update I don't see libpsl coming up on the update list. For some reason my libcurl needs libpsl

libcurl was installed using the CityFan repo, that's why it needs libspl from the CF-repo.

You should try to uninstall libcurl and install the version from the CentOS repo:

Code:
# yum info libcurl
.....
Name        : libcurl
Arch        : i686
Version     : 7.29.0
Release     : 59.el7_9.1
Size        : 226 k
Repo        : updates/7/x86_64

The same thing can happen with packages from the epel-repo. It can give issues with the CentOS repo. You better disable that repo or specify the packages you use from the epel.repo.

Code:
vi /etc/yum.repos.d/epel.repo

Add this line and specify which packages should be installed/upgraded via the epel.repo:
Code:
includepkgs=clamav*
 
we didn't test Plesk with custom repos which can provide backported software.
so the recommended solution is to downgrade curl/libcurl to versions officially provided by CentOS repos
and disable city-fan.repo at least temporary for update Plesk procedure.
 
Back
Top