Autor Tópico: Como instalar impressora HP LaserJet P1102w no Linux Mint 19.3 Cinnamon  (Lida 7092 vezes)

Offline Bertozzi72

  • Usuário Ubuntu
  • *
  • Mensagens: 69
    • Ver perfil
Baixei a última versão do HPLIP na página da HP.
Rodei o hplip.
Na hora que chega na tela de "Driver Plug-in Instalation" aparece a seguinte mensagem de erro:
"Unable to receive key from keyserver
Without this, is not possible to aythenticate and validadate the plug-in prior to installation.
Do you still want to install the plug-in?"
Respondo que quero continuar, mas aparece a mensagem de erro "Plug-in install failed." e não instala.

Onde estou errando? O que devo fazer para instalar esta impressora no Linux Mint?

Segue a resposta do Terminal:
Código: [Selecionar]
reginaldo@reginaldo-i945P-GICH7:~/Downloads$ sh hplip-3.20.3.run
Creating directory hplip-3.20.3
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.3 Self Extracting Archive...

HP Linux Imaging and Printing System (ver. 3.20.3)
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_Wed-13-May-2020_08:07:52.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.20.3 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Linux Mint 19.3.

Is "Linux Mint 19.3" your correct distro/OS and version (y=yes*, n=no, q=quit) ?

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
Please enter the sudoer (reginaldo)'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
----------------------------------
HPLIP-3.19.8 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 python-pip (Scanjet-depend step 1)
sudo pip install --upgrade pip (Scanjet-depend step 2)
sudo -H pip install setuptools (Scanjet-depend step 3)
sudo pip install --upgrade setuptools (Scanjet-depend step 4)
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 5)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 6)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 7)
sudo -H pip install tesserocr (Scanjet-depend step 8)
sudo apt-get install --assume-yes tesseract-ocr-eng (Scanjet-depend step 9)
sudo apt-get install --assume-yes libzbar-dev (Scanjet-depend step 10)
sudo apt-get install --assume-yes python-zbar (Scanjet-depend step 11)
sudo apt-get install --assume-yes python-opencv (Scanjet-depend step 12)
sudo apt-get install --assume-yes python-pypdf2 (Scanjet-depend step 13)
sudo -H pip install imutils (Scanjet-depend step 14)
sudo apt-get install --assume-yes imagemagick* (Scanjet-depend step 15)
sudo apt-get install --assume-yes graphicsmagick*  (Scanjet-depend step 16)
sudo -H pip install pypdfocr (Scanjet-depend step 17)
sudo -H pip install scikit-image (Scanjet-depend step 18)
sudo -H pip install scipy (Scanjet-depend step 19)
OK


PRE-BUILD COMMANDS
------------------
OK


BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-qt4 --disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-class-driver --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build --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) :


HPLIP PLUGIN UPDATE NOTIFICATION
--------------------------------
HPLIP Plug-in's needs to be installed/updated. Do you want to update plug-in's?. (y=yes*, n=no) :
Do you want to install plug-in's in GUI mode?. (u=GUI mode*, i=Interactive mode) :

HP Linux Imaging and Printing System (ver. 3.20.3)
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.3)
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:
Receiving digital keys: /usr/bin/gpg --homedir /home/reginaldo/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
 
Done.


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.3)
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)
Segmentation fault
error:  The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins.  Please run 'hp-plugin' as normal user to install plug-ins.   Visit  http://hplipopensource.com  for more infomation.
Segmentation fault
error:  The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins.  Please run 'hp-plugin' as normal user to install plug-ins.   Visit  http://hplipopensource.com  for more infomation.
 
Done.


RE-STARTING HP_SYSTRAY
----------------------

HP Linux Imaging and Printing System (ver. 3.20.3)
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.

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
reginaldo@reginaldo-i945P-GICH7:~/Downloads$  hp-plugin

HP Linux Imaging and Printing System (ver. 3.20.3)
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.3)
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:
Receiving digital keys: /usr/bin/gpg --homedir /home/reginaldo/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.3 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Installer ver. 3.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.

Plug-in version: 3.20.3
Installed HPLIP version: 3.20.3
Number of files to install: 64

Plugin installation failed
error: Python gobject/dbus may be not installed
error: Plug-in install failed.

Done.
« Última modificação: 13 de Maio de 2020, 08:37 por Bertozzi72 »
Guia da Foca (FOnte de Consulta e Aprendizado): http://www.guiafoca.org

Offline CelticWarrior

  • Usuário Ubuntu
  • *
  • Mensagens: 338
    • Ver perfil
    • CHANGAN Auto
Re:Como instalar impressora HP LaserJet P1102w no Linux Mint 19.3 Cinnamon
« Resposta #1 Online: 13 de Maio de 2020, 08:41 »
HPLIP está nos repositórios Debian e Ubuntu. Por consequência também está acessível a qualquer distro derivada tal como Mint.

Não tem e não deve estar instalando a partir de terceiros.

Offline FaBMak

  • Administrador
  • Usuário Ubuntu
  • *****
  • Mensagens: 722
    • Ver perfil
    • fabmak://website
Re:Como instalar impressora HP LaserJet P1102w no Linux Mint 19.3 Cinnamon
« Resposta #2 Online: 14 de Maio de 2020, 11:14 »
Trancado.
"Não creias impossível o que apenas improvável parece". (Shakespeare)
fabmak://website | http://twitter.com/fabmak