• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Resolved Plesk Update failed 18.0.40

nisamudeen97

Regular Pleskian
Hi,

I am getting the below error message while trying to update plesk from 18.0.40 to 18.0.41.

Installation started in background
File "/usr/local/psa/bin/yum_install", line 33
print msg
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(msg)?
Error: The Yum utility failed to install the required packages.
Attention! Your software might be inoperable.
Visit https://support.plesk.com/ to search for a solution.
 
Hi,

In my case there is no errors on mysql repo's in the system and we are not using Mariadb repo as well. It says error on below

File "/usr/local/psa/bin/yum_install", line 33
print msg
^
 
Plesk is designed to operate under Python 2.7, but looks like python 3+ is in use:

Code:
# python --version
Python 3.6.9

# ls -al /usr/bin/python
lrwxrwxrwx 1 root root 9 Sep 11 19:32 /usr/bin/python -> python3.6

Replace the Python symlink with 2.7 binary:

1. Run the following command:
Code:
# ln -snfT python2.7 /usr/bin/python
2. Confirm the change:
Code:
# python -V
Python 2.7.17
 
Back
Top