ksgalicia

Well-Known Member
Aug 4, 2016
61
5
8
Spain
cPanel Access Level
Root Administrator
Twitter
Hola,

Estoy intentando actualizar la versión de PHP 7.4 con sus extensiones y me arroja este error:

Code:
Yum is currently locked - cannot proceed at /usr/local/cpanel/Cpanel/PackMan.pm line 887.
¿Tiene solución?

Muchas gracias de antemano,

Un saludo!
 

cPanelRoman

Technical Analyst
Staff member
Sep 6, 2018
22
0
76
Houston
cPanel Access Level
Root Administrator
Hello,

The provided error indicates issues with a "lock" file:
Code:
Yum is currently locked - cannot proceed at /usr/local/cpanel/Cpanel/PackMan.pm line 887.
The error is most likely coming from another yum command running, can you share the output of the following command?
Code:
ps aux|egrep -i 'yum|rpm'
The command must be run as root.

Thank you,
 

ksgalicia

Well-Known Member
Aug 4, 2016
61
5
8
Spain
cPanel Access Level
Root Administrator
Twitter
Hello,

The provided error indicates issues with a "lock" file:
Code:
Yum is currently locked - cannot proceed at /usr/local/cpanel/Cpanel/PackMan.pm line 887.
The error is most likely coming from another yum command running, can you share the output of the following command?
Code:
ps aux|egrep -i 'yum|rpm'
The command must be run as root.

Thank you,
Hola!

Este es el resultado del comando

# ps aux|egrep -i 'yum|rpm'
root 15966 0.0 0.0 103312 920 pts/0 S+ 12:08 0:00 egrep -i yum|rpm
 

cPSamuel

Well-Known Member
Staff member
Nov 20, 2019
71
13
83
USA
cPanel Access Level
Root Administrator
Hola,

No hablo español, así que estoy usando un traductor.

¡Gracias por proporcionar el resultado del comando que Roman le pidió que ejecutara! Los resultados indican que no hay otros procesos que mantengan un bloqueo en yum. Si aún recibe el mismo mensaje de error al actualizar PHP 7.4, es probable que exista otra razón que requiera más investigación. Por favor, siéntase bienvenido a enviar un ticket usando el enlace en mi firma.

========================================

Hello,

I do not speak Spanish, so I am using a translator.

Thank you for providing the output of the command Roman asked you to run! The results indicate that there are no other processes that would hold a lock on yum. If you are still receiving the same error message when updating PHP 7.4, then there is likely another reason that requires further investigation. Please feel welcome to submit a ticket using the link in my signature.