I have an HP printer, so I am trying to install HP's hplip 3.25.6 program.
But these are some of the error messages that I get. Any suggestions?
$ 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_Mon-01-Sep-2025_20:42:45.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) : c
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 MX linux 23.
Is "MX linux 23" your correct distro/OS and version (y=yes*, n=no, q=quit) ?
DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)? : c
Would you like to Create package or Install Class Drivers ('p'=create package, 'i'= install*) : i
Initializing. Please wait...
ENTER USER PASSWORD
-------------------
Please enter the sudoer (tb)'s password:
RUNNING PRE-INSTALL COMMANDS
----------------------------
OK
RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
su -c "apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp"
warning: An error occurred running 'su -c "apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp"'
su -c "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
epm prnt OPTIONAL
automake prnt REQUIRED
libjpeg prnt REQUIRED
libtool prnt REQUIRED
cups-devel prnt REQUIRED
cups-image prnt REQUIRED
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ?
INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: automake (Build Driver)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'prnt': epm (Build Debian Package)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.
RUNNING PRE-PACKAGE COMMANDS
----------------------------
warning: An error occurred running 'su -c "dpkg --configure -a"'
su -c "dpkg --configure -a" (Pre-depend step 1)
warning: An error occurred running 'su -c "apt-get install -f"'
su -c "apt-get install -f" (Pre-depend step 2)
warning: An error occurred running 'su -c "apt-get update"'
su -c "apt-get update" (Pre-depend step 3)
OK
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "apt-get install --force-yes -y automake1.11"'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'su -c "apt-get install --force-yes -y automake1.11"'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'su -c "apt-get install --force-yes -y automake1.11"'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'su -c "apt-get install --force-yes -y automake1.11"'
Please wait, this may take several minutes...
error: Package install command failed with error code 1
note: Some packages may not get installed on python3 due to distro incompatibilites
note: Please check for more information at http://hplipopensource.com/node/369
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ?