• 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

Issue YUM PHP Issue

Knaaal

New Pleskian
Hey there.

i have the problem that since 3 weeks or more i get an error with the Update reason are PHP.

i have read alot and try also different solutions but nothing helps.

Now i hope i can get her the help :).

Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
)

Details: Doing restart of Plesk Installer...
Datei wird heruntergeladen products.inf3: 0%
Datei wird heruntergeladen products.inf3: 100% fertig.
Datei wird heruntergeladen plesk.inf3: 0%
Datei wird heruntergeladen plesk.inf3: 100% fertig.
Datei wird heruntergeladen ppsmbe.inf3: 0%
Datei wird heruntergeladen ppsmbe.inf3: 100% fertig.
Datei wird heruntergeladen sitebuilder.inf3: 0%
Datei wird heruntergeladen sitebuilder.inf3: 100% fertig.
Datei wird heruntergeladen sso.inf3: 0%
Datei wird heruntergeladen sso.inf3: 100% fertig.
Datei wird heruntergeladen setemplates.inf3: 0%
Datei wird heruntergeladen setemplates.inf3: 100% fertig.
Datei wird heruntergeladen pp-sitebuilder.inf3: 0%
Datei wird heruntergeladen pp-sitebuilder.inf3: 100% fertig.
Datei wird heruntergeladen billing.inf3: 0%
Datei wird heruntergeladen billing.inf3: 100% fertig.
Datei wird heruntergeladen mysql.inf3: 0%
Datei wird heruntergeladen mysql.inf3: 100% fertig.
Datei wird heruntergeladen apache.inf3: 0%
Datei wird heruntergeladen apache.inf3: 100% fertig.
Datei wird heruntergeladen nginx.inf3: 0%
Datei wird heruntergeladen nginx.inf3: 100% fertig.
Datei wird heruntergeladen php72.inf3: 0%
Datei wird heruntergeladen php72.inf3: 100% fertig.
Datei wird heruntergeladen php71.inf3: 0%
Datei wird heruntergeladen php71.inf3: 100% fertig.
Datei wird heruntergeladen php70.inf3: 0%
Datei wird heruntergeladen php70.inf3: 100% fertig.
Datei wird heruntergeladen php56.inf3: 0%
Datei wird heruntergeladen php56.inf3: 100% fertig.
Datei wird heruntergeladen php55.inf3: 0%
Datei wird heruntergeladen php55.inf3: 100% fertig.
Datei wird heruntergeladen php54.inf3: 0%
Datei wird heruntergeladen php54.inf3: 100% fertig.
Datei wird heruntergeladen php53.inf3: 0%
Datei wird heruntergeladen php53.inf3: 100% fertig.
Datei wird heruntergeladen php52.inf3: 0%
Datei wird heruntergeladen php52.inf3: 100% fertig.
Datei wird heruntergeladen pmm.inf3: 0%
Datei wird heruntergeladen pmm.inf3: 100% fertig.
Auf installierte Pakete prüfen...
Datei wird heruntergeladen PSA_17.5.3/plesk-17.5.3-cos7-x86_64.inf3: 0%
Datei wird heruntergeladen PSA_17.5.3/plesk-17.5.3-cos7-x86_64.inf3: 100% fertig.
Feed des Erweiterungskatalogs wird heruntergeladen...
Datei wird heruntergeladen PSA_17.5.3/plesk-patches-17.5.3-cos7-x86_64.inf3: 0%
Datei wird heruntergeladen PSA_17.5.3/plesk-patches-17.5.3-cos7-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen PMM_0.1.10/pmm-0.1.10-cos7-x86_64.inf3: 0%
Datei wird heruntergeladen PMM_0.1.10/pmm-0.1.10-cos7-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen NGINX17/nginx-cos7-x86_64.inf3: 0%
Datei wird heruntergeladen NGINX17/nginx-cos7-x86_64.inf3: 100% fertig.
Datei wird heruntergeladen PHP52_17/php52-cos7-x86_64.plesk17.inf3: 0%
Datei wird heruntergeladen PHP52_17/php52-cos7-x86_64.plesk17.inf3: 100% fertig.
Datei wird heruntergeladen PHP53_17/php53-cos7-x86_64.plesk17.inf3: 0%
Datei wird heruntergeladen PHP53_17/php53-cos7-x86_64.plesk17.inf3: 100% fertig.
Datei wird heruntergeladen PHP54_17/php54-cos7-x86_64.plesk17.inf3: 0%
Datei wird heruntergeladen PHP54_17/php54-cos7-x86_64.plesk17.inf3: 100% fertig.
Datei wird heruntergeladen PHP55_17/php55-cos7-x86_64.plesk17.inf3: 0%
Datei wird heruntergeladen PHP55_17/php55-cos7-x86_64.plesk17.inf3: 100% fertig.
Datei wird heruntergeladen PHP56_17/php56-cos7-x86_64.plesk17.inf3: 0%
Datei wird heruntergeladen PHP56_17/php56-cos7-x86_64.plesk17.inf3: 100% fertig.
Datei wird heruntergeladen PHP70_17/php70-cos7-x86_64.plesk17.inf3: 0%
Datei wird heruntergeladen PHP70_17/php70-cos7-x86_64.plesk17.inf3: 100% fertig.
Datei wird heruntergeladen PHP71_17/php71-cos7-x86_64.plesk17.inf3: 0%
Datei wird heruntergeladen PHP71_17/php71-cos7-x86_64.plesk17.inf3: 100% fertig.
Datei wird heruntergeladen PHP72_17/php72-cos7-x86_64.plesk17.inf3: 0%
Datei wird heruntergeladen PHP72_17/php72-cos7-x86_64.plesk17.inf3: 100% fertig.
Datei wird heruntergeladen SITEBUILDER_17.0.15/sitebuilder-17.0.15-rhall-all.inf3: 0%
Datei wird heruntergeladen SITEBUILDER_17.0.15/sitebuilder-17.0.15-rhall-all.inf3: 100% fertig.
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
gpg-pubkey-f4a80eb5-53a7ff4b gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <[email protected]>)
gpg-pubkey-2c52609d-55a59f6e gpg(Docker Release Tool (releasedocker) <[email protected]>)
gpg-pubkey-352c64e5-52ae6884 gpg(Fedora EPEL (7) <[email protected]>)
Loaded plugins: fastestmirror


Installierte Produktkomponenten werden ermittelt.
gpg-pubkey-914bdf7e-55c05220 gpg(Plesk Team <[email protected]>)
gpg-pubkey-f4a80eb5-53a7ff4b gpg(CentOS-7 Key (CentOS 7 Official Signing Key) <[email protected]>)
gpg-pubkey-2c52609d-55a59f6e gpg(Docker Release Tool (releasedocker) <[email protected]>)
gpg-pubkey-352c64e5-52ae6884 gpg(Fedora EPEL (7) <[email protected]>)
Informationen zum installierten Lizenzschlüssel werden abgerufen...
Überprüfung der Komponenten und Produkte wird gestartet...
Datei wird heruntergeladen PSA_17.5.3/examiners/disk_space_check.sh: 0%
Datei wird heruntergeladen PSA_17.5.3/examiners/disk_space_check.sh: 100% fertig.
Loaded plugins: fastestmirror

NGINX-thirdparty | 2.9 kB 00:00

PHP_5_6-thirdparty | 2.9 kB 00:00

PHP_7_0-thirdparty | 2.9 kB 00:00

PHP_7_1-thirdparty | 2.9 kB 00:00

PLESK_17_5_3-dist | 2.9 kB 00:00

PLESK_17_5_3-extras | 2.9 kB 00:00

PLESK_17_5_3-thirdparty | 2.9 kB 00:00

PLESK_17_NGINX | 2.9 kB 00:00

PLESK_17_PHP56 | 2.9 kB 00:00

PLESK_17_PHP70 | 2.9 kB 00:00

PLESK_17_PHP71 | 2.9 kB 00:00

PMM_0.1.10-dist | 2.9 kB 00:00

PMM_0.1.10-thirdparty | 2.9 kB 00:00

SITEBUILDER_17_0_15-dist | 2.9 kB 00:00

SITEBUILDER_17_0_15-thirdparty | 2.9 kB 00:00

base | 3.6 kB 00:00

centos-sclo-rh | 3.0 kB 00:00

epel/x86_64/metalink | 25 kB 00:00

epel | 4.7 kB 00:00

extras | 3.4 kB 00:00

pkgs.cloud | 3.0 kB 00:00

pkgs.cloud-extras | 3.0 kB 00:00

pkgs.cloud-nodejs-7.x | 2.5 kB 00:00

pkgs.cloud-openssl-1.0 | 3.0 kB 00:00

pkgs.cloud-php-7.1 | 3.0 kB 00:00

pkgs.cloud-updates | 3.0 kB 00:00

plesk-ext-docker | 2.9 kB 00:00

plesk-migrator | 2.9 kB 00:00

plesk-migrator-tp | 2.9 kB 00:00

remi-safe | 2.9 kB 00:00

updates | 3.4 kB 00:00

epel/x86_64/updateinfo | 904 kB 00:00

epel/x86_64/primary_db | 6.3 MB 00:00

remi-safe/primary_db | 1.2 MB 00:00
Loading mirror speeds from cached hostfile
* base: centos.mirrors.ovh.net
* epel: mirror.netweaver.uk
* extras: centos.mirrors.ovh.net
* remi-safe: remi.mirror.ate.info
* updates: centos.mirrors.ovh.net
Exception: Failed to solve dependencies:
php-mysql-5.4.16-43.el7_4.1.x86_64 requires php-pdo(x86-64) = 5.4.16-43.el7_4.1

ERROR: Das Dienstprogramm Yum konnte nicht die erforderlichen Pakete installieren.
Achtung! Ihre Software ist vielleicht nicht betriebsbereit.
Bitte kontaktieren Sie den technischen Produktsupport.

Or here the hastebin Link if someone preferrd it^^
hastebin
 
Thanks for the response but its also fail because missing dependency.

hastebin

Can it be a error with imagick and that i have different types of PHP installed?
 
Is the ART repo still enabled? (for your PHP 5.4 install)

Also, looks like you need to check on autoconf & automake (for your PHP 7.1 install);

# autoconf --version
# automake --version

They are both in the base rpm so if nothing, then install them;

# yum install autoconf automake
 
Last edited:
Is the ART repo still enabled? (for your PHP 5.4 install)

Also, looks like you need to check on autoconf (for your PHP 7 install);

# autoconf --version
# automake --version

They are both in the base rpm so if nothing, then install them;

# yum install autoconf automake

Oke i think we are going nearer to the solution^^

Now i get
[root@server18 ~]# yum install autoconf automake
Geladene Plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www4.atomicorp.com
* epel: mirror.netweaver.uk
* remi-safe: remi.mirror.ate.info
Kein Paket autoconf verfügbar.
Kein Paket automake verfügbar.
Fehler: Nichts zu tun



[root@server18 ~]# yum groupinstall "Development Tools"
Geladene Plugins: fastestmirror
Es ist keine Gruppendatei installiert.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
* atomic: www4.atomicorp.com
* epel: mirror.netweaver.uk
* remi-safe: remi.mirror.ate.info
Warning: Group development does not have any packages to install.
Maybe run: yum groups mark install (see man yum)
Keine Pakete in irgendeiner Gruppe verfügbar zum Installieren oder Aktualisieren
 
Looks like your base repo is missing or not enabled?

Does /etc/yum.repos.d/CentOS-Base.repo exist?

If not, create it; here's the content of the file:

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep$
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep$
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep$
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep$
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
 
Oke no this file not exist i have now created the file like your description.

Now getting this

[root@server18 ~]# nano /etc/yum.repos.d/CentOS-Base.repo
[root@server18 ~]# yum update
Geladene Plugins: fastestmirror
PLESK_17_5_3-extras | 2.9 kB 00:00:00
PLESK_17_NGINX | 2.9 kB 00:00:00
PLESK_17_PHP71 | 2.9 kB 00:00:00
atomic | 3.4 kB 00:00:00


One of the configured repositories failed (Unbekannt),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Run the command with the repository temporarily disabled
yum --disablerepo=<repoid> ...

4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:

yum-config-manager --disable <repoid>
or
subscription-manager repos --disable=<repoid>

5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64

BTW thanks a lot for ur help :)
 
huh, well the default should be mirrorlist which is why baseurl is commented out, but go ahead and uncomment the baseurl line under [base]
 
i uncomment update, extras & base out because the yum want it so^^

Know im getting the error from the beginns.

hastebin

This i have if i do yum update --skip-broken

Pakete übersprungen wegen Abhängigkeitsproblemen:
ImageMagick-6.9.3.0-6.el7.x86_64 von pkgs.cloud-extras
autoconf-2.69-11.el7.noarch von base
automake-1.13.4-3.el7.noarch von base
gd-2.2-2.2.5-1.el7.x86_64 von pkgs.cloud-extras
libc-client-2007f-16.el7.x86_64 von epel
php-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-cli-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-common-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-devel-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-fpm-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-gd-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-imap-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
1:php-ioncube-loader-4.7.1-4.el7.art.x86_64 von atomic
php-json-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-mbstring-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-mysqlnd-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-pdo-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1
php-xml-7.1.12-4.el7.x86_64 von pkgs.cloud-php-7.1

Fehler: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:

1. You have an upgrade for audit-libs which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of audit-libs of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude audit-libs.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of audit-libs installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of audit-libs installed already.
You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).

Geschützte Multilib-Versionen: audit-libs-2.7.8-1.el7.x86_64 != audit-libs-2.7.6-3.el7.i686
Fehler: Geschützte Multilib-Versionen: libcap-ng-0.7.8-7.el7.x86_64 != libcap-ng-0.7.5-4.el7.i686
 
Now getting this error


Fehler: Paket: plesk-php71-imagick-3.4.3-centos7.18021515.x86_64 (@PLESK_17_PHP71)
Benötigt: libMagickCore.so.5()(64bit)
Entfernen: ImageMagick-6.7.8.9-15.el7_2.x86_64 (@base)
libMagickCore.so.5()(64bit)
Aktualisiert durch: ImageMagick-6.9.3.0-6.el7.x86_64 (pkgs.cloud-extras)
Nicht gefunden
Fehler: Paket: plesk-php71-imagick-3.4.3-centos7.18021515.x86_64 (@PLESK_17_PHP71)
Benötigt: libMagickWand.so.5()(64bit)
Entfernen: ImageMagick-6.7.8.9-15.el7_2.x86_64 (@base)
libMagickWand.so.5()(64bit)
Aktualisiert durch: ImageMagick-6.9.3.0-6.el7.x86_64 (pkgs.cloud-extras)
Nicht gefunden
Sie können versuchen, mit --skip-


And with --skip-broken the same error like about
 
Looks like the Plesk version of PHP 7.1 is conflicting with the other version from the pkgs.cloud-extras repo.

exclude=php* plesk-php71*

(so now we are excluding packages for the base php install as well as avoiding the Plesk version of 7.1 since you already have it from another repo)
 
Getting this error.


Fehler: Paket: plesk-php71-imagick-3.4.3-centos7.18021515.x86_64 (@PLESK_17_PHP71)
Benötigt: libMagickCore.so.5()(64bit)
Entfernen: ImageMagick-6.7.8.9-15.el7_2.x86_64 (@base)
libMagickCore.so.5()(64bit)
Aktualisiert durch: ImageMagick-6.9.3.0-6.el7.x86_64 (pkgs.cloud-extras)
Nicht gefunden
Fehler: Paket: plesk-php71-imagick-3.4.3-centos7.18021515.x86_64 (@PLESK_17_PHP71)
Benötigt: libMagickWand.so.5()(64bit)
Entfernen: ImageMagick-6.7.8.9-15.el7_2.x86_64 (@base)
libMagickWand.so.5()(64bit)
Aktualisiert durch: ImageMagick-6.9.3.0-6.el7.x86_64 (pkgs.cloud-extras)
Nicht gefunden
Sie können versuchen, mit --skip-broken das Problem zu umgehen.
Sie könnten Folgendes versuchen: rpm -Va --nofiles --nodigest


I have install PHP 7.1 with the Plesk Installer

After i remove plesk-php71-imagick
Now i get this error

Fehler: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:

1. You have an upgrade for audit-libs which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of audit-libs of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude audit-libs.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of audit-libs installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of audit-libs installed already.
You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).

Geschützte Multilib-Versionen: audit-libs-2.7.8-1.el7.x86_64 != audit-libs-2.7.6-3.el7.i686
Fehler: Geschützte Multilib-Versionen: libcap-ng-0.7.8-7.el7.x86_64 != libcap-ng-0.7.5-4.el7.i686
 
Last edited:
Aktualisiert durch: php-pdo-7.1.12-4.el7.x86_64 (pkgs.cloud-php-7.1)

It looks like 7.1 is being pulled in from another repo.... did you add the extra exclude? It's giving errors installing plesk-php71 packages so excluding it should allow you to proceed....
 
Thanks a lot but know keeping this error. :-(

Fehler: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:

1. You have an upgrade for audit-libs which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of audit-libs of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude audit-libs.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of audit-libs installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of audit-libs installed already.
You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).

Geschützte Multilib-Versionen: audit-libs-2.7.8-1.el7.x86_64 != audit-libs-2.7.6-3.el7.i686
Fehler: Geschützte Multilib-Versionen: libcap-ng-0.7.8-7.el7.x86_64 != libcap-ng-0.7.5-4.el7.i686
 
Thanks again for the fast response :).

[root@server18 ~]# yum list --showduplicates audit-libs
Geladene Plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www4.atomicorp.com
* base: centos.mirrors.ovh.net
* epel: mirror.netweaver.uk
* extras: centos.mirrors.ovh.net
* remi-safe: remi.mirror.ate.info
* updates: centos.mirrors.ovh.net
Installierte Pakete
audit-libs.i686 2.7.6-3.el7 @base
audit-libs.x86_64 2.7.6-3.el7 @base
Verfügbare Pakete
audit-libs.i686 2.7.6-3.el7 base
audit-libs.x86_64 2.7.6-3.el7 base
audit-libs.x86_64 2.7.8-1.el7 pkgs.cloud-extras
 
Back
Top