Codice: Seleziona tutto
Il pacchetto "ippusbxd" non è installato e quindi non è stato rimosso
Codice: Seleziona tutto
Il pacchetto "ippusbxd" non è installato e quindi non è stato rimosso
Codice: Seleziona tutto
frapponzio@fraptop:~/Scaricati$ sh hplip-*.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_Mon-03-Apr-2023_13:07:02.log
\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
|Gtk-Message: 13:07:03.944: Failed to load module "canberra-gtk-module"
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) :
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) ?
Initializing. Please wait...
ENTER USER PASSWORD
-------------------
Please enter the sudoer (frapponzio)'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) ?
RUNNING PRE-INSTALL COMMANDS
----------------------------
OK
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
----------------------------------
-Gtk-Message: 13:09:12.683: Failed to load module "canberra-gtk-module"
HPLIP-3.20.5 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)? :
Starting uninstallation...
error: Failed to close HP-Toolbox/HP-Systray. Close manually and run hp-uninstall again.
warning: Failed to uninstall existing HPLIP-3.20.5. This installation will overwrite on existing HPLIP
RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK
RE-CHECKING DEPENDENCIES
------------------------
\Gtk-Message: 13:09:56.229: Failed to load module "canberra-gtk-module"
OK
RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python3-pip (Scanjet-depend step 1)
sudo pip3 install --upgrade pip (Scanjet-depend step 2)
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip3 install tesserocr (Scanjet-depend step 6)
sudo -H pip3 install opencv-python (Scanjet-depend step 7)
sudo -H pip3 install PyPDF2 (Scanjet-depend step 8)
sudo -H pip3 install imutils (Scanjet-depend step 9)
sudo -H pip3 install ocrmypdf (Scanjet-depend step 10)
sudo -H pip3 install scikit-image (Scanjet-depend step 11)
sudo -H pip3 install scipy (Scanjet-depend step 12)
sudo apt-get install --assume-yes qpdf (Scanjet-depend step 13)
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
-------------------
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) :
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) :
Please unplug and re-plugin your printer now. Press <enter> to continue or 'q' to quit:
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) :
HP Linux Imaging and Printing System (ver. 3.20.5)
Printer/Fax Setup Utility ver. 9.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.
Searching... (bus=usb, search=(None), desc=0)
Exiting the setup...
Done.
RE-STARTING HP_SYSTRAY
----------------------
HP Linux Imaging and Printing System (ver. 3.20.5)
System Tray Status Service ver. 2.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.
frapponzio@fraptop:~/Scaricati$
HP Linux Imaging and Printing System (ver. 3.20.5)
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.
/usr/share/hplip/ui5/devmgr_ext.py:15: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.latest_available_version is not "":
/usr/share/hplip/ui5/devmgr_ext.py:37: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.latest_available_version is not "":
\Gtk-Message: 13:17:07.790: Failed to load module "canberra-gtk-module"
HP Linux Imaging and Printing System (ver. 3.20.5)
Diagnose Plugin Utility ver. 1.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.
HP Linux Imaging and Printing System (ver. 3.20.5)
Plugin Download and Install Utility ver. 2.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.
HP Linux Imaging and Printing System (ver. 3.20.5)
Plugin Download and Install Utility ver. 2.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.
Checking for network connection...
Downloading plug-in from:
Traceback (most recent call last):
File "/usr/share/hplip/base/password.py", line 85, in get_distro_name
os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/plugindialog.py", line 248, in NextButton_clicked
status, download_plugin_file, error_str = self.pluginObj.download(self.plugin_path,self.plugin_download_callback)
File "/usr/share/hplip/installer/pluginhandler.py", line 254, in download
core = core_install.CoreInstall()
File "/usr/share/hplip/installer/core_install.py", line 240, in __init__
self.passwordObj = password.Password(ui_mode)
File "/usr/share/hplip/base/password.py", line 118, in __init__
self.__readAuthType() # self.__authType
File "/usr/share/hplip/base/password.py", line 141, in __readAuthType
distro_name = get_distro_name().lower().replace(" ","")
File "/usr/share/hplip/base/password.py", line 88, in get_distro_name
os_name = distro.linux_distribution()[0]
File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
self.version(),
File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
self.lsb_release_attr('release'),
File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
return self._lsb_release_info.get(attribute, '')
File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
stdout = subprocess.check_output(cmd, stderr=devnull)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in <module>
import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket
File "/usr/lib/python3/dist-packages/requests_unixsocket/__init__.py", line 1, in <module>
import requests
File "/usr/lib/python3/dist-packages/requests/__init__.py", line 95, in <module>
from urllib3.contrib import pyopenssl
File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
import OpenSSL.SSL
File "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1553, in <module>
class X509StoreFlags(object):
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1573, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
Original exception was:
Traceback (most recent call last):
File "/usr/share/hplip/base/password.py", line 85, in get_distro_name
os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/plugindialog.py", line 248, in NextButton_clicked
status, download_plugin_file, error_str = self.pluginObj.download(self.plugin_path,self.plugin_download_callback)
File "/usr/share/hplip/installer/pluginhandler.py", line 254, in download
core = core_install.CoreInstall()
File "/usr/share/hplip/installer/core_install.py", line 240, in __init__
self.passwordObj = password.Password(ui_mode)
File "/usr/share/hplip/base/password.py", line 118, in __init__
self.__readAuthType() # self.__authType
File "/usr/share/hplip/base/password.py", line 141, in __readAuthType
distro_name = get_distro_name().lower().replace(" ","")
File "/usr/share/hplip/base/password.py", line 88, in get_distro_name
os_name = distro.linux_distribution()[0]
File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
self.version(),
File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
self.lsb_release_attr('release'),
File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
return self._lsb_release_info.get(attribute, '')
File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
stdout = subprocess.check_output(cmd, stderr=devnull)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Codice: Seleziona tutto
dpkg -l | grep hplip
Codice: Seleziona tutto
sudo apt update
Codice: Seleziona tutto
sudo apt install libcanberra-gtk-module
Si hai reinstallato la 3.20.... Se leggi con attenzione la risposta del comando -> hp-doctor, vedi che viene menzionato hplip3.20... Elimina tutti i pacchetti di hplip con il seguente comando:non capisco se ha reinstallato la vecchia versione 3.20.5.
Codice: Seleziona tutto
sudo apt --purge remove hplip*
risposta a dpkg -l | grep hplipForse hai saltato l'installazione dei plugin o la password è sbagliata CHI LO SA, LA PW È SEMPRE LA STESSA
Eri connesso ad Internet? SI
Codice: Seleziona tutto
frapponzio@fraptop:~$ dpkg -l | grep hplip
ii hplip 3.20.3+dfsg0-2 amd64 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.20.3+dfsg0-2 all HP Linux Printing and Imaging - data files
Codice: Seleziona tutto
sudo apt update
Trovato:1 http://archive.ubuntu.com/ubuntu focal InRelease
Trovato:2 http://archive.canonical.com/ubuntu focal InRelease
Trovato:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Trovato:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Trovato:5 http://archive.ubuntu.com/ubuntu focal-security InRelease
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
1 pacchetto può essere aggiornato: eseguire "apt list --upgradable" per vederlo.
frapponzio@fraptop:~$ apt list --upgradable
Elencazione... Fatto
distro-info-data/focal-updates,focal-updates 0.43ubuntu1.12 all [aggiornabile da: 0.43ubuntu1.11]
N: Ci sono 3 versioni aggiuntive: usare "-a" per visualizzarle
frapponzio@fraptop:~$ -a
-a: comando non trovato
Codice: Seleziona tutto
sudo apt --purge remove hplip*
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Nota, viene selezionato "hplip-data" per l'espressione glob "hplip*"
Nota, viene selezionato "hplip" per l'espressione glob "hplip*"
Nota, viene selezionato "hplip-doc" per l'espressione glob "hplip*"
Nota, viene selezionato "hplip-gui" per l'espressione glob "hplip*"
Nota, viene selezionato "hplip-cups" per l'espressione glob "hplip*"
Nota, viene selezionato "hplip-ppds" per l'espressione glob "hplip*"
Il pacchetto "hplip-cups" non è installato e quindi non è stato rimosso
Nota, viene selezionato "hpijs-ppds" al posto di "hplip-ppds"
Il pacchetto "hplip-doc" non è installato e quindi non è stato rimosso
Il pacchetto "hplip-gui" non è installato e quindi non è stato rimosso
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
gir1.2-goa-1.0 libfwupdplugin1 libhpmud0 libimagequant0 libllvm11 libsane-hpaio libxmlb1 printer-driver-hpcups printer-driver-postscript-hp
python3-olefile python3-pil python3-renderpm python3-reportlab python3-reportlab-accel shim
Usare "sudo apt autoremove" per rimuoverli.
I seguenti pacchetti saranno RIMOSSI:
hplip* hplip-data*
0 aggiornati, 0 installati, 2 da rimuovere e 1 non aggiornati.
Dopo quest'operazione, verranno liberati 11,0 MB di spazio su disco.
Continuare? [S/n] s
(Lettura del database... 213183 file e directory attualmente installati.)
Rimozione di hplip (3.20.3+dfsg0-2)...
Rimozione di hplip-data (3.20.3+dfsg0-2)...
dpkg: attenzione: nel rimuovere hplip-data, la directory "/usr/share/hplip/ui5" è risultata non vuota e non viene rimossa
dpkg: attenzione: nel rimuovere hplip-data, la directory "/usr/share/hplip/prnt" è risultata non vuota e non viene rimossa
dpkg: attenzione: nel rimuovere hplip-data, la directory "/usr/share/hplip/installer" è risultata non vuota e non viene rimossa
dpkg: attenzione: nel rimuovere hplip-data, la directory "/usr/share/hplip/base/pexpect" è risultata non vuota e non viene rimossa
Elaborazione dei trigger per dbus (1.12.16-2ubuntu2.3)...
Elaborazione dei trigger per man-db (2.9.1-1)...
(Lettura del database... 212562 file e directory attualmente installati.)
Eliminazione dei file di configurazione di hplip (3.20.3+dfsg0-2)...
Elaborazione dei trigger per dbus (1.12.16-2ubuntu2.3)...
Codice: Seleziona tutto
cd ~/Scaricati
Codice: Seleziona tutto
sh hplip-3.22.10.run
Codice: Seleziona tutto
frapponzio@fraptop:~/Scaricati$
HP Linux Imaging and Printing System (ver. 3.22.10)
Diagnose Plugin Utility ver. 1.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.
HP Linux Imaging and Printing System (ver. 3.22.10)
Plugin Download and Install Utility ver. 2.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.
HP Linux Imaging and Printing System (ver. 3.22.10)
Plugin Download and Install Utility ver. 2.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.
Checking for network connection...
Downloading plug-in from:
Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 2519, in get_distro_name
name = platform.dist()[0].lower()
AttributeError: module 'platform' has no attribute 'dist'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/plugindialog.py", line 248, in NextButton_clicked
status, download_plugin_file, error_str = self.pluginObj.download(self.plugin_path,self.plugin_download_callback)
File "/usr/share/hplip/installer/pluginhandler.py", line 257, in download
core = core_install.CoreInstall()
File "/usr/share/hplip/installer/core_install.py", line 241, in __init__
self.passwordObj = password.Password(ui_mode)
File "/usr/share/hplip/base/password.py", line 106, in __init__
self.__readAuthType() # self.__authType
File "/usr/share/hplip/base/password.py", line 129, in __readAuthType
(os_name,_ver) = utils.get_distro_name() #.lower().replace(" ","")
File "/usr/share/hplip/base/utils.py", line 2523, in get_distro_name
name = distro.linux_distribution()[0].lower()
File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
self.version(),
File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
self.lsb_release_attr('release'),
File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
return self._lsb_release_info.get(attribute, '')
File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
stdout = subprocess.check_output(cmd, stderr=devnull)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in <module>
import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket
File "/usr/lib/python3/dist-packages/requests_unixsocket/__init__.py", line 1, in <module>
import requests
File "/usr/lib/python3/dist-packages/requests/__init__.py", line 95, in <module>
from urllib3.contrib import pyopenssl
File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
import OpenSSL.SSL
File "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1553, in <module>
class X509StoreFlags(object):
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1573, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
Original exception was:
Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 2519, in get_distro_name
name = platform.dist()[0].lower()
AttributeError: module 'platform' has no attribute 'dist'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/plugindialog.py", line 248, in NextButton_clicked
status, download_plugin_file, error_str = self.pluginObj.download(self.plugin_path,self.plugin_download_callback)
File "/usr/share/hplip/installer/pluginhandler.py", line 257, in download
core = core_install.CoreInstall()
File "/usr/share/hplip/installer/core_install.py", line 241, in __init__
self.passwordObj = password.Password(ui_mode)
File "/usr/share/hplip/base/password.py", line 106, in __init__
self.__readAuthType() # self.__authType
File "/usr/share/hplip/base/password.py", line 129, in __readAuthType
(os_name,_ver) = utils.get_distro_name() #.lower().replace(" ","")
File "/usr/share/hplip/base/utils.py", line 2523, in get_distro_name
name = distro.linux_distribution()[0].lower()
File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
self.version(),
File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
self.lsb_release_attr('release'),
File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
return self._lsb_release_info.get(attribute, '')
File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
stdout = subprocess.check_output(cmd, stderr=devnull)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Checking for network connection...
Downloading plug-in from:
Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 2519, in get_distro_name
name = platform.dist()[0].lower()
AttributeError: module 'platform' has no attribute 'dist'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/plugindialog.py", line 248, in NextButton_clicked
status, download_plugin_file, error_str = self.pluginObj.download(self.plugin_path,self.plugin_download_callback)
File "/usr/share/hplip/installer/pluginhandler.py", line 257, in download
core = core_install.CoreInstall()
File "/usr/share/hplip/installer/core_install.py", line 241, in __init__
self.passwordObj = password.Password(ui_mode)
File "/usr/share/hplip/base/password.py", line 106, in __init__
self.__readAuthType() # self.__authType
File "/usr/share/hplip/base/password.py", line 129, in __readAuthType
(os_name,_ver) = utils.get_distro_name() #.lower().replace(" ","")
File "/usr/share/hplip/base/utils.py", line 2523, in get_distro_name
name = distro.linux_distribution()[0].lower()
File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
self.version(),
File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
self.lsb_release_attr('release'),
File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
return self._lsb_release_info.get(attribute, '')
File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
stdout = subprocess.check_output(cmd, stderr=devnull)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 32, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 12, in <module>
import os, glob, subprocess, os.path, time, pwd, sys, requests_unixsocket
File "/usr/lib/python3/dist-packages/requests_unixsocket/__init__.py", line 1, in <module>
import requests
File "/usr/lib/python3/dist-packages/requests/__init__.py", line 95, in <module>
from urllib3.contrib import pyopenssl
File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
import OpenSSL.SSL
File "/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1553, in <module>
class X509StoreFlags(object):
File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1573, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
Original exception was:
Traceback (most recent call last):
File "/usr/share/hplip/base/utils.py", line 2519, in get_distro_name
name = platform.dist()[0].lower()
AttributeError: module 'platform' has no attribute 'dist'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/plugindialog.py", line 248, in NextButton_clicked
status, download_plugin_file, error_str = self.pluginObj.download(self.plugin_path,self.plugin_download_callback)
File "/usr/share/hplip/installer/pluginhandler.py", line 257, in download
core = core_install.CoreInstall()
File "/usr/share/hplip/installer/core_install.py", line 241, in __init__
self.passwordObj = password.Password(ui_mode)
File "/usr/share/hplip/base/password.py", line 106, in __init__
self.__readAuthType() # self.__authType
File "/usr/share/hplip/base/password.py", line 129, in __readAuthType
(os_name,_ver) = utils.get_distro_name() #.lower().replace(" ","")
File "/usr/share/hplip/base/utils.py", line 2523, in get_distro_name
name = distro.linux_distribution()[0].lower()
File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
return _distro.linux_distribution(full_distribution_name)
File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
self.version(),
File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
self.lsb_release_attr('release'),
File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
return self._lsb_release_info.get(attribute, '')
File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
ret = obj.__dict__[self._fname] = self._f(obj)
File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
stdout = subprocess.check_output(cmd, stderr=devnull)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Codice: Seleziona tutto
frapponzio@fraptop:~/Scaricati$ sh hplip-3.22.10.run
Creating directory hplip-3.22.10
Verifying archive integrity... 100% All good.
Uncompressing HPLIP 3.22.10 Self Extracting Archive 100%
HP Linux Imaging and Printing System (ver. 3.22.10)
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_Thu-06-Apr-2023_07:41:53.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) :
INTRODUCTION
------------
This installer will install HPLIP version 3.22.10 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
Initializing. Please wait...
ENTER USER PASSWORD
-------------------
Please enter the sudoer (frapponzio)'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) ?
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
libavahi-dev scan 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: libavahi-dev (libavahi-dev)
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 libavahi-client-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libavahi-core-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libavahi-common-dev'
Please wait, this may take several minutes...
HPLIP-3.20.5 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)? :
Starting uninstallation...
HPLIP uninstallation is completed
RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK
RE-CHECKING DEPENDENCIES
------------------------
OK
RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python3-pip (Scanjet-depend step 1)
sudo pip3 install --upgrade pip (Scanjet-depend step 2)
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip3 install tesserocr (Scanjet-depend step 6)
sudo -H pip3 install opencv-python (Scanjet-depend step 7)
sudo -H pip3 install PyPDF2 (Scanjet-depend step 8)
sudo -H pip3 install imutils (Scanjet-depend step 9)
sudo -H pip3 install ocrmypdf (Scanjet-depend step 10)
sudo -H pip3 install scikit-image (Scanjet-depend step 11)
sudo -H pip3 install scipy (Scanjet-depend step 12)
sudo apt-get install --assume-yes qpdf (Scanjet-depend step 13)
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
-------------------
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) :
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) :
Please unplug and re-plugin your printer now. Press <enter> to continue or 'q' to quit:
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) :
HP Linux Imaging and Printing System (ver. 3.22.10)
Printer/Fax Setup Utility ver. 9.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.
Searching... (bus=usb, search=(None), desc=0)
Done.
RE-STARTING HP_SYSTRAY
----------------------
HP Linux Imaging and Printing System (ver. 3.22.10)
System Tray Status Service ver. 2.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.
Scusa, ma lo screenshot in dimensione originale era troppo grande da caricare sul forum, ho dovuto ridurlo....se necessario posso postare tutto in copy/pasteDa quelle foto non si capisce nulla!
Codice: Seleziona tutto
dpkg -l | grep hplip
Sono connessa a internet, stampante accesa e collegata al pc, ma il comando "dpkg -l | grep hplip" non da nessuna risposta....se ho ben capito il comando cerca hplip in una directory? ho dato il comando sia nella home che in scaricati. Forse lo cerca nel file dell'Editor di Testo? È ancora aperto e bloccato sulla domanda relativa alla codifica dei caratteri, e non me lo fa salvare (nemmeno con "salva tutti"). Bho, io ipotizzo...Se l'hai installato, perché reinstallarlo? NON LO SO...PERCHÉ LE STO PROVANDO TUTTE?! a volte siamo i peggiori nemici di noi stessi
Codice: Seleziona tutto
frapponzio@fraptop:~$ dpkg -l | grep hplip
frapponzio@fraptop:~$ cd ~/Scaricati
frapponzio@fraptop:~/Scaricati$ dpkg -l | grep hplip
frapponzio@fraptop:~/Scaricati$
Visualizzano questa sezione: 0 utenti iscritti e 18 ospiti