Постоянно отваливается принтер hp p2015 подключенный к серверу внутри локалки
Ubuntu Server 20.04.
Читал что нужно обновить HPlip, но он не устанавливается.
ext:~/hplip-3.21.12$ ./hplip-3.20.5.run
Creating directory hplip-3.20.5
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.5 Self Extracting Archive...
HP Linux Imaging and Printing System (ver. 3.20.5)
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_Sat-29-Jan-2022_20:11:01.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.20.5 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 20.04.
Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)? : d
Initializing. Please wait...
SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra dependencies.
Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'Graphical User Interfaces (Qt5)' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ? n
ENTER USER PASSWORD
-------------------
Please enter the sudoer (iron)'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
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
libjpeg base REQUIRED
libtool base REQUIRED
cups-devel base REQUIRED
cups-image base REQUIRED
gcc base REQUIRED
libpthread base REQUIRED
libnetsnmp-devel network REQUIRED
libcrypto network REQUIRED
python3-devel base 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: 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) ?
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: libpthread (libpthread - POSIX threads library)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: python3-devel (Python devel - Python development files)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?
warning: Missing REQUIRED dependency: libcrypto (libcrypto - OpenSSL cryptographic library)
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.
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)
OK
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
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) ? ^C
error: Aborted.
Кто-то ставил свежий HPlip?
E [29/Jan/2022:18:47:11 +0200] [Client 2] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:11 +0200] [Client 3] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:11 +0200] [Client 4] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:16 +0200] [Client 6] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:19 +0200] [Client 7] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:29 +0200] [Client 8] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:47:32 +0200] [Client 10] Unable to encrypt connection: A TLS fatal alert has been received.
E [29/Jan/2022:18:50:06 +0200] [Client 21] Unable to encrypt connection: A TLS fatal alert has been received.
Вот сам конфиг CUPS
LogLevel warn
PageLogFormat
MaxLogSize 1m
# Allow remote access
Port 631
Listen /run/cups/cups.sock
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
WebInterface Yes
<Location />
# Allow remote administration...
Order allow,deny
Allow [member=6239]Local[/member]
</Location>
<Location /admin>
AuthType Default
Require valid-user
# Allow remote administration...
Order allow,deny
Allow [member=6239]Local[/member]
</Location>
<Location /admin/conf>
AuthType Default
Require user [member=54482]system[/member]
# Allow remote access to the configuration files...
Order allow,deny
Allow [member=6239]Local[/member]
</Location>
<Location /admin/log>
AuthType Default
Require user [member=54482]system[/member]
# Allow remote access to the log files...
Order allow,deny
Allow [member=6239]Local[/member]
</Location>
<Policy default>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Repr>
Require user [member=8428]Owner[/member] [member=54482]system[/member]
Order deny,allow
</Limit>
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>