Jetzt habe ich es nach der Anleitung nochmals versucht und erhalte denselben Fehler: während der Installation wird festgestellt, dass cupsext fehlt und wenn ich der Anleitung weiter folge, kann das plugin wegen fehlendem HPLIP nicht installiert werden.
Hier die vollständigen Codeblocks des Versuches:
mitch@Meister-Lampe:~$ system-config-printer
/usr/share/system-config-printer/system-config-printer.py:325: DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated
for action in printer_manager_action_group.list_actions ():
/usr/share/system-config-printer/system-config-printer.py:326: DeprecationWarning: Gtk.Action.set_sensitive is deprecated
action.set_sensitive (False)
/usr/share/system-config-printer/system-config-printer.py:334: DeprecationWarning: Gtk.ActionGroup.get_action is deprecated
act = printer_manager_action_group.get_action (action)
/usr/share/system-config-printer/system-config-printer.py:364: DeprecationWarning: Gtk.UIManager.ensure_update is deprecated
self.ui_manager.ensure_update ()
/usr/share/system-config-printer/system-config-printer.py:365: DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated
self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ())
/usr/share/system-config-printer/system-config-printer.py:374: DeprecationWarning: Gtk.UIManager.get_action is deprecated
action = self.ui_manager.get_action ("/new-printer")
/usr/share/system-config-printer/system-config-printer.py:375: DeprecationWarning: Gtk.Action.create_menu_item is deprecated
newprinteritem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:673: DeprecationWarning: Gtk.Action.get_proxies is deprecated
for widget in action.get_proxies ():
/usr/share/system-config-printer/system-config-printer.py:2253: DeprecationWarning: Gdk.threads_enter is deprecated
Gdk.threads_enter ()
/usr/share/system-config-printer/system-config-printer.py:2204: DeprecationWarning: Gdk.threads_leave is deprecated
Gdk.threads_leave ()
mitch@Meister-Lampe:~$ sudo apt purge hplip libhpmud0 libsane-hpaio printer-driver-postscript-hp
[sudo] Passwort für mitch:
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paket »hplip« ist nicht installiert, wird also auch nicht entfernt.
Paket »libhpmud0« ist nicht installiert, wird also auch nicht entfernt.
Paket »libsane-hpaio« ist nicht installiert, wird also auch nicht entfernt.
Paket »printer-driver-postscript-hp« ist nicht installiert, wird also auch nicht entfernt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
mitch@Meister-Lampe:~$ sudo apt install cups build-essential libjpeg62-dev libusb-dev libtool python3-dev
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
cups ist schon die neueste Version (2.4.7-1.2ubuntu7.4).
build-essential ist schon die neueste Version (12.10ubuntu1).
libusb-dev ist schon die neueste Version (2:0.1.12-35build1).
libtool ist schon die neueste Version (2.4.7-7build1).
python3-dev ist schon die neueste Version (3.12.3-0ubuntu2).
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
libcupsfilters-dev libdeflate-dev libjbig-dev liblerc-dev libpng-dev
libpng-tools libsharpyuv-dev libtiffxx6 libwebp-dev libwebpdecoder3
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden zusätzlichen Pakete werden installiert:
libjpeg62
Die folgenden Pakete werden ENTFERNT:
libcups2-dev libcupsimage2-dev libjpeg-dev libjpeg-turbo8-dev libjpeg8-dev
libtiff-dev
Die folgenden NEUEN Pakete werden installiert:
libjpeg62 libjpeg62-dev
0 aktualisiert, 2 neu installiert, 6 zu entfernen und 0 nicht aktualisiert.
Es müssen 264 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 3.168 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://de.archive.ubuntu.com/ubuntu noble/universe amd64 libjpeg62 amd64 1:6b2-3.1 [83,1 kB]
Holen:2 http://de.archive.ubuntu.com/ubuntu noble/universe amd64 libjpeg62-dev amd64 1:6b2-3.1 [181 kB]
Es wurden 264 kB in 1 s geholt (487 kB/s).
(Lese Datenbank ... 258561 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von libjpeg-dev:amd64 (8c-2ubuntu11) ...
Entfernen von libjpeg8-dev:amd64 (8c-2ubuntu11) ...
Entfernen von libcups2-dev:amd64 (2.4.7-1.2ubuntu7.4) ...
Entfernen von libcupsimage2-dev:amd64 (2.4.7-1.2ubuntu7.4) ...
Entfernen von libtiff-dev:amd64 (4.5.1+git230720-4ubuntu2.4) ...
Entfernen von libjpeg-turbo8-dev:amd64 (2.1.5-2ubuntu2) ...
Vormals nicht ausgewähltes Paket libjpeg62:amd64 wird gewählt.
(Lese Datenbank ... 258432 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libjpeg62_1%3a6b2-3.1_amd64.deb ...
Entpacken von libjpeg62:amd64 (1:6b2-3.1) ...
Vormals nicht ausgewähltes Paket libjpeg62-dev:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../libjpeg62-dev_1%3a6b2-3.1_amd64.deb ...
Entpacken von libjpeg62-dev:amd64 (1:6b2-3.1) ...
libjpeg62:amd64 (1:6b2-3.1) wird eingerichtet ...
libjpeg62-dev:amd64 (1:6b2-3.1) wird eingerichtet ...
Trigger für man-db (2.12.0-4build2) werden verarbeitet ...
Trigger für libc-bin (2.39-0ubuntu8.6) werden verarbeitet ...
mitch@Meister-Lampe:~$ sudo mkdir -p /var/spool/lpd/
mitch@Meister-Lampe:~$ sudo mkdir -p /usr/share/cups/model/
mitch@Meister-Lampe:~$ mkdir -p ~/Downloads/hp/hplip/
mitch@Meister-Lampe:~$ cd ~/Downloads/hp/hplip/
mitch@Meister-Lampe:~/Downloads/hp/hplip$ wget http://netcologne.dl.sourceforge.net/project/hplip/hplip/3.25.6/hplip-3.25.6.run -O hplip-3.25.6.run
--2025-11-11 08:43:58-- http://netcologne.dl.sourceforge.net/project/hplip/hplip/3.25.6/hplip-3.25.6.run
Auflösen des Hostnamens netcologne.dl.sourceforge.net (netcologne.dl.sourceforge.net) … 78.35.24.122, 2001:4dd0:200:113::5f
Verbindungsaufbau zu netcologne.dl.sourceforge.net (netcologne.dl.sourceforge.net)|78.35.24.122|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 30481091 (29M) [application/x-makeself]
Wird in ‘hplip-3.25.6.run’ gespeichert.
hplip-3.25.6.run 100%[===================>] 29,07M 8,41MB/s in 4,0s
2025-11-11 08:44:02 (7,25 MB/s) - ‘hplip-3.25.6.run’ gespeichert [30481091/30481091]
mitch@Meister-Lampe:~/Downloads/hp/hplip$ sh hplip-3.25.6.run
Creating directory hplip-3.25.6
Verifying archive integrity... 100% All good.
Uncompressing HPLIP 3.25.6 Self Extracting Archive 100%
HP Linux Imaging and Printing System (ver. 3.25.6)
HPLIP Installer ver. 5.1
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.
Installer log saved in: hplip-install_Tue-11-Nov-2025_08:44:12.log
\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.
Please choose the installation mode (a=automatic*, c=custom, q=quit) : a
INTRODUCTION
------------
This installer will install HPLIP version 3.25.6 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 24.04.
Is "Ubuntu 24.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
Initializing. Please wait...
ENTER USER PASSWORD
-------------------
Please enter the sudoer (mitch)'s password:
INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information. Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive.
Please read the installation notes. Press <enter> to continue or 'q' to quit:
SECURITY PACKAGES
-----------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making the application secure
Would you like to have this installer install the hplip specific policy/profile (y=yes*, n=no, q=quit) ? y
RUNNING PRE-INSTALL COMMANDS
----------------------------
OK
RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp ( hp_libs_remove step 1)
OK
MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name Component Required/Optional
cups-devel base REQUIRED
cups-image base REQUIRED
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y
INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.
RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
gsettings set org.gnome.mutter check-alive-timeout 1200000 (Pre-depend step 4)
OK
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes libcups2-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-bsd'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-client'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Please wait, this may take several minutes...
HPLIP-3.25.6 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)? :i
Starting uninstallation...
HPLIP uninstallation is completed
RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK
RE-CHECKING DEPENDENCIES
------------------------
OK
RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt install python3-numpy (Scanjet-depend step 1)
sudo apt install python3-scipy (Scanjet-depend step 2)
sudo apt install python3-pypdf2 (Scanjet-depend step 3)
sudo apt install python3-opencv (Scanjet-depend step 4)
sudo apt install ocrmypdf (Scanjet-depend step 5)
sudo apt install python3-skimage (Scanjet-depend step 6)
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 7)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 8)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 9)
sudo apt-get install --assume-yes qpdf (Scanjet-depend step 10)
OK
PRE-BUILD COMMANDS
------------------
OK
BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-network-build --enable-scan-build --enable-fax-build --enable-dbus-build --disable-qt4 --enable-qt5 --disable-class-driver --enable-doc-build --disable-policykit --disable-libusb01_build --disable-udev_sysfs_rules --enable-hpcups-install --disable-hpijs-install --disable-foomatic-ppd-install --disable-foomatic-drv-install --disable-cups-ppd-install --enable-cups-drv-install --enable-apparmor_build'
Please wait, this may take several minutes...
Command completed successfully.
Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.
Running 'make'
Please wait, this may take several minutes...
Command completed successfully.
Running 'sudo make install'
Please wait, this may take several minutes...
Command completed successfully.
Build complete.
POST-BUILD COMMANDS
-------------------
warning: CUPSEXT could not be loaded. Please check HPLIP installation.
CLOSE HP_SYSTRAY
----------------
Sending close message to hp-systray (if it is currently running)...
OK
HPLIP UPDATE NOTIFICATION
-------------------------
Do you want to check for HPLIP updates?. (y=yes*, n=no) : y
RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in
when you started this installer, you will need to either restart your PC or
unplug and re-plug in your printer (USB cable only). If you choose to restart,
run this command after restarting: hp-setup (Note: If you are using a parallel
connection, you will have to restart your PC. If you are using network/wireless,
you can ignore and continue).
Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : i
PRINTER SETUP
-------------
Please make sure your printer is connected and powered on at this time.
Do you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) : u
/usr/bin/hp-setup:82: SyntaxWarning: invalid escape sequence '\*'
("To specify the port on a multi-port JetDirect:", "--port=<port> (Valid values are 1\*, 2, and 3. \*default)", "option", False),
/usr/bin/hp-setup:86: SyntaxWarning: invalid escape sequence '\*'
("Type of queue(s) to install:", "-t<typelist> or --type=<typelist>. <typelist>: print*, fax\* (\*default) (-i mode only)", "option", False),
Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 2536, in import_ext
return importlib.import_module(ext_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cupsext'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 48, in <module>
from base import device, utils, tui, models, module, services, os_utils
File "/usr/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/share/hplip/base/status.py", line 59, in <module>
cupsext = utils.import_ext('cupsext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/hplip/base/utils.py", line 2540, in import_ext
return importlib.import_module(ext_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'cupsext'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 228, in partial_apport_excepthook
return apport_excepthook(binary, exc_type, exc_obj, exc_tb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 123, in apport_excepthook
report.add_package_info()
File "/usr/lib/python3/dist-packages/apport/report.py", line 442, in add_package_info
package = apport.fileutils.find_file_package(self["ExecutablePath"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 175, in find_file_package
return packaging.get_file_package(file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py", line 631, in get_file_package
dpkg = subprocess.run(
^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'dpkg-divert'
Original exception was:
Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 2536, in import_ext
return importlib.import_module(ext_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cupsext'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 48, in <module>
from base import device, utils, tui, models, module, services, os_utils
File "/usr/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/share/hplip/base/status.py", line 59, in <module>
cupsext = utils.import_ext('cupsext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/hplip/base/utils.py", line 2540, in import_ext
return importlib.import_module(ext_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'cupsext'
Traceback (most recent call last):
File "/home/mitch/Downloads/hp/hplip/hplip-3.25.6/base/os_utils.py", line 40, in execute
result = subprocess.run(args, check=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['hp-setup', '-u']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/mitch/Downloads/hp/hplip/hplip-3.25.6/./install.py", line 241, in <module>
text_install.start(language, auto, test_depends, test_unknown, assume_network, max_retries, enable, disable)
File "/home/mitch/Downloads/hp/hplip/hplip-3.25.6/installer/text_install.py", line 1588, in start
if os_utils.execute(setup_cmd) != 0:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/mitch/Downloads/hp/hplip/hplip-3.25.6/base/os_utils.py", line 43, in execute
error_message = "Command failed with return code %d: %s\n%s" % (e.returncode, cmd, e.stderr.decode())
^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'decode'
mitch@Meister-Lampe:~/Downloads/hp/hplip$ hp-setup
/usr/bin/hp-setup:82: SyntaxWarning: invalid escape sequence '\*'
("To specify the port on a multi-port JetDirect:", "--port=<port> (Valid values are 1\*, 2, and 3. \*default)", "option", False),
/usr/bin/hp-setup:86: SyntaxWarning: invalid escape sequence '\*'
("Type of queue(s) to install:", "-t<typelist> or --type=<typelist>. <typelist>: print*, fax\* (\*default) (-i mode only)", "option", False),
Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 2536, in import_ext
return importlib.import_module(ext_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cupsext'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 48, in <module>
from base import device, utils, tui, models, module, services, os_utils
File "/usr/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/share/hplip/base/status.py", line 59, in <module>
cupsext = utils.import_ext('cupsext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/hplip/base/utils.py", line 2540, in import_ext
return importlib.import_module(ext_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'cupsext'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 228, in partial_apport_excepthook
return apport_excepthook(binary, exc_type, exc_obj, exc_tb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 123, in apport_excepthook
report.add_package_info()
File "/usr/lib/python3/dist-packages/apport/report.py", line 442, in add_package_info
package = apport.fileutils.find_file_package(self["ExecutablePath"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 175, in find_file_package
return packaging.get_file_package(file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py", line 631, in get_file_package
dpkg = subprocess.run(
^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'dpkg-divert'
Original exception was:
Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 2536, in import_ext
return importlib.import_module(ext_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'cupsext'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/hp-setup", line 48, in <module>
from base import device, utils, tui, models, module, services, os_utils
File "/usr/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/share/hplip/base/status.py", line 59, in <module>
cupsext = utils.import_ext('cupsext')
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/hplip/base/utils.py", line 2540, in import_ext
return importlib.import_module(ext_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'cupsext'
mitch@Meister-Lampe:~/Downloads/hp/hplip$ cd ~/Downloads/hp/hplip/
mitch@Meister-Lampe:~/Downloads/hp/hplip$ wget https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.25.6-plugin.run -O hplip-3.25.6-plugin.run
--2025-11-11 08:52:44-- https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.25.6-plugin.run
Auflösen des Hostnamens www.openprinting.org (www.openprinting.org) … 2605:bc80:3010:104::8cd3:935, 140.211.9.53
Verbindungsaufbau zu www.openprinting.org (www.openprinting.org)|2605:bc80:3010:104::8cd3:935|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 11491358 (11M)
Wird in ‘hplip-3.25.6-plugin.run’ gespeichert.
hplip-3.25.6-plugin 100%[===================>] 10,96M 911KB/s in 35s
2025-11-11 08:53:21 (318 KB/s) - ‘hplip-3.25.6-plugin.run’ gespeichert [11491358/11491358]
mitch@Meister-Lampe:~/Downloads/hp/hplip$ sh hplip-3.25.6-plugin.run
Verifying archive integrity... 100% All good.
Uncompressing HPLIP 3.25.6 Plugin Self Extracting Archive 100%
Error importing HPLIP modules. Is HPLIP installed?
mitch@Meister-Lampe:~/Downloads/hp/hplip$