Сложно сказать, когда это началось - давно не запускал. Подозрение на Python 3.9 [serge@veles ~]$ hp-toolbox HP Linux Imaging and Printing System (ver. 3.21.2) HP Device Manager ver. 15.0 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Traceback (most recent call last): File "/usr/bin/hp-toolbox", line 270, in <module> ui = import_module(ui_package + ".devmgr5") File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/share/hplip/ui5/devmgr5.py", line 75, in <module> from .sendfaxdialog import SendFaxDialog File "/usr/share/hplip/ui5/sendfaxdialog.py", line 96, in <module> from fax import coverpages File "/usr/share/hplip/fax/coverpages.py", line 24, in <module> from reportlab.platypus.paragraph import Paragraph File "/usr/lib64/python3/site-packages/reportlab/platypus/__init__.py", line 7, in <module> from reportlab.platypus.flowables import Flowable, Image, Macro, PageBreak, Preformatted, Spacer, XBox, \ File "/usr/lib64/python3/site-packages/reportlab/platypus/flowables.py", line 29, in <module> from reportlab.lib.colors import red, gray, lightgrey File "/usr/lib64/python3/site-packages/reportlab/lib/colors.py", line 45, in <module> from reportlab.lib.utils import asNative, isStr File "/usr/lib64/python3/site-packages/reportlab/lib/utils.py", line 8, in <module> from base64 import decodestring as base64_decodestring, encodestring as base64_encodestring ImportError: cannot import name 'decodestring' from 'base64' (/usr/lib64/python3.9/base64.py)
base64.encodestring() and base64.decodestring(), aliases deprecated since Python 3.1, have been removed: use base64.encodebytes() and base64.decodebytes() instead. (Contributed by Victor Stinner in bpo-39351.) https://docs.python.org/3/whatsnew/3.9.html#removed https://bugzilla.altlinux.org/show_bug.cgi?id=39865
В качестве временного workaround можно удалить python3-module-Reportlab. *** This bug has been marked as a duplicate of bug 39865 ***
Я его обновлю в ближайшем будущем.