• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved ERROR: 'NoneType' object has no attribute 'run_sack'

E.BlackStone

New Pleskian
Hi,
When I update the system, the package list is not displayed with the following error.

ERROR: 'NoneType' object has no attribute 'run_sack' 2021-08-21 14:45:27 ERROR: Exited with returncode 1.

Is there something wrong with the Python version?

# grep run_sack -r /lib/*
/lib/python3.6/site-packages/dnf/plugin.py: def run_sack(self):
/lib/python3.6/site-packages/dnf/base.py: self._plugins.run_sack()
/lib/python3.6/site-packages/dnf/base.py: self._plugins.run_sack()


[Versions]
VersionPlesk Obsidian v18.0.37_build1800210809.18 os_CentOS 8
OSCentOS Stream 8

dnf-0:4.7.0-2.el8.noarch



[ALL TEXT of Error Message]
Error: Unable to get packages list: 2021-08-21 14:45:25 INFO: pum is called with arguments: ['--list', '--repo-info', '--json', '--unsafe'] 2021-08-21 14:45:25 INFO: Librepo version: 1.14.0 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.61.1 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.6 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.2.0) libssh/0.9.4/openssl/zlib nghttp2/1.33.0) 2021-08-21 14:45:25 INFO: --- logging initialized --- 2021-08-21 14:45:25 DEBUG: User-Agent: constructed: 'libdnf (CentOS Stream 8; generic; Linux.x86_64)' 2021-08-21 14:45:26 INFO: Librepo version: 1.14.0 with CURL_GLOBAL_ACK_EINTR support (libcurl/7.61.1 OpenSSL/1.1.1k zlib/1.2.11 brotli/1.0.6 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.2.0) libssh/0.9.4/openssl/zlib nghttp2/1.33.0) 2021-08-21 14:45:26 DEBUG: repo: using cache for: appstream 2021-08-21 14:45:26 DEBUG: appstream: using metadata from Fri Aug 20 07:38:04 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: baseos 2021-08-21 14:45:26 DEBUG: baseos: using metadata from Fri Aug 20 07:37:31 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: extras 2021-08-21 14:45:26 DEBUG: extras: using metadata from Fri Aug 6 23:50:48 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: powertools 2021-08-21 14:45:26 DEBUG: powertools: using metadata from Fri Aug 20 07:38:15 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: elrepo 2021-08-21 14:45:26 DEBUG: elrepo: using metadata from Sat Aug 21 02:47:03 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: epel 2021-08-21 14:45:26 DEBUG: epel: using metadata from Fri Aug 20 10:34:48 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: epel-modular 2021-08-21 14:45:26 DEBUG: epel-modular: using metadata from Wed Aug 11 10:42:10 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: epel-next 2021-08-21 14:45:26 DEBUG: epel-next: using metadata from Tue Aug 17 10:36:00 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: PLESK_18_0_37-extras 2021-08-21 14:45:26 DEBUG: PLESK_18_0_37-extras: using metadata from Mon Aug 9 20:12:24 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: PLESK_17_PHP73 2021-08-21 14:45:26 DEBUG: PLESK_17_PHP73: using metadata from Fri Jul 2 15:31:48 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: PLESK_17_PHP74 2021-08-21 14:45:26 DEBUG: PLESK_17_PHP74: using metadata from Fri Jul 30 14:23:50 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: PLESK_17_PHP80 2021-08-21 14:45:26 DEBUG: PLESK_17_PHP80: using metadata from Fri Jul 30 14:23:54 2021. 2021-08-21 14:45:26 DEBUG: repo: using cache for: plesk-ext-nodejs 2021-08-21 14:45:26 DEBUG: plesk-ext-nodejs: using metadata from Mon Oct 28 15:35:40 2019. 2021-08-21 14:45:26 DEBUG: repo: using cache for: plesk-ext-panel-migrator 2021-08-21 14:45:26 DEBUG: plesk-ext-panel-migrator: using metadata from Mon Feb 10 20:41:46 2020. 2021-08-21 14:45:26 DEBUG: repo: using cache for: plesk-ext-ruby 2021-08-21 14:45:26 DEBUG: plesk-ext-ruby: using metadata from Fri Oct 11 19:57:18 2019. 2021-08-21 14:45:26 INFO: Last metadata expiration check: 2:21:16 ago on Sat Aug 21 12:24:10 2021. 2021-08-21 14:45:27 DDEBUG: timer: sack setup: 1334 ms 2021-08-21 14:45:27 DDEBUG: timer: depsolve: 41 ms 2021-08-21 14:45:27 DDEBUG: Cleaning up. 2021-08-21 14:45:27 DDEBUG: timer: sack setup: 414 ms 2021-08-21 14:45:27 ERROR: 'NoneType' object has no attribute 'run_sack' 2021-08-21 14:45:27 ERROR: Exited with returncode 1.
 
Also seeing this here whenever Plesk does its auto update check. If I run it manually, I get the same thing:
plesk sbin pum --list --repo-info --json

A bunch of DEBUG output lines, then ends with:

ERROR: 'NoneType' object has no attribute 'run_sack'
ERROR: Exited with returncode 1.

This prevents Plesk auto update from proceeding.

# plesk -v
Product version: Plesk Obsidian 18.0.39.1
OS version: AlmaLinux 8.5 x86_64
Build date: 2021/10/14 23:00
Revision: abd80734589dbcc9d72ab53622ef5737a658fb43
 
Back
Top