Symptoms
-
Unable to update System Packages on the RHEL-based OS of version 8.5 (RHEL/CentOS/AlmaLinux) in Plesk > Tools & Settings > Update Settings > Available Updates or the corresponding email is received:
'NoneType' object has no attribute 'run_sack'
-
The issue does not occur on the RHEL-based OS of version 8.4.
Cause
Product issue:
-
#PPPM-13304 "Plesk Update Manager no longer fails with the “‘NoneType’ object has no attribute ‘run_sack’” error. We have spotted this issue in Plesk Obsidian 18.0.39 Update 1 on CentOS 8.5, AlmaLinux OS 8.5, RHEL 8.5, CloudLinux OS 8.5."
Fixed in:- Plesk Obsidian 18 November 2021 (Linux)
Resolution
Workaround
If update is not possible for some reason you may try the following
workaround
As a workaround, apply the following hotfix:
-
Connect to the server via SSH
-
Backup the existing
/usr/local/psa/admin/sbin/pum_worker
file:# cp -a /usr/local/psa/admin/sbin/pum_worker{,.bak}
-
Download the attached
pum_worker
file on the server:# wget https://plesk.zendesk.com/hc/article_attachments/12387464256023/pum_worker
-
Replace the old file with the downloaded one:
# yes | cp -f pum_worker /usr/local/psa/admin/sbin/pum_worker && chmod 750 /usr/local/psa/admin/sbin/pum_worker