• 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

The Yum utility failed to install the required packages

AmeliaG

Basic Pleskian
Hello,

Updating from 11.0.9 to 11.5.30 I get this error:

"Error: The Yum utility failed to install the required packages."

Any help ?

Thanks
 
Any additional related details from autoinstaller log?
 
Traceback (most recent call last):
File "/usr/local/psa/bin/yum_install", line 224, in <module>
main()
File "/usr/local/psa/bin/yum_install", line 210, in main
inst, rem = installer.resolve(to_install, opts.remove, opts.tries)
File "/usr/local/psa/bin/yum_install", line 144, in resolve
raise Exception("Failed to solve dependencies:\n" + '\n'.join(msgs))
Exception: Failed to solve dependencies:
perl-CGI-3.51-129.el6.x86_64 requires perl = 4:5.10.1-129.el6

Error: The Yum utility failed to install the required packages.


Attention! Your software might be inoperable.
Please, contact product technical support.
Messages::setLocale: try to create object for locale: en-US.UTF-8
 
In order to install updates, first update Perl using yum:

# yum update perl
 
# yum update perl

Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: n1plmirror02.shr.prod.ams1.secureserver.net
* extras: n1plmirror02.shr.prod.ams1.secureserver.net
* updates: n1plmirror02.shr.prod.ams1.secureserver.net
Setting up Update Process
No Packages marked for Update
 
What is your OS? Is it really official OS repositories? Or you have configured alternative repos for yum?
 
OS CentOS 6.4 (Final)
Panel version 11.0.9 Update #31

Under "yum.repos.d" I have CentOS-Base.repo



[base]
name=CentOS-$releasever - Base
mirrorlist=http://n1plmirror01.shr.prod.ams1.secureserver.net/vph/2/download/mirrors/cos-$releasever-os.$basearch
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://n1plmirror01.shr.prod.ams1.secureserver.net/vph/2/download/mirrors/cos-$releasever-updates.$basearch
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://n1plmirror01.shr.prod.ams1.secureserver.net/vph/2/download/mirrors/cos-$releasever-extras.$basearch
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://n1plmirror01.shr.prod.ams1.secureserver.net/vph/2/download/mirrors/cos-$releasever-centosplus.$basearch
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
 
I get the same error and am using the default repos running 5.9 centos
[root@nixhost ~]# yum update perl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www2.atomicorp.com
* base: centos.mirror.gtcomm.net
* extras: mirror.agmn.ca
* updates: mirror.agmn.ca
Setting up Update Process
No Packages marked for Update
 
ok for some reason its working...I just deleted the centos-base.repo file in etc/yum.repo.d and re added it
 
Back
Top