Instalar Hlip

1. Instalar Hlip

Bernardino
Bernardino14

(usa Ubuntu)

Enviado em 29/12/2023 - 23:37h

Sou iniciante no Linux e estou há dias tentando instalar o software Hlip da impressora HP no pc via cabo USB, sempre aparece um erro, já tentei vários comandos e tutorias e nada de resolver. Aparece o seguinte erro no terminal:


:~$ chmod +x hplip.run
jessica@jessica-All-Series:~$ ./hplip.run
Creating directory hplip-3.23.8
Verifying archive integrity... 100% All good.
Uncompressing HPLIP 3.23.8 Self Extracting Archive 100%

HP Linux Imaging and Printing System (ver. 3.23.8)
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_Fri-29-Dec-2023_23:26:02.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.23.8 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 22.10.

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

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
Please enter the sudoer (jessica)'s password:
/jb1410


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: error: Please press <enter> or enter 'q' to quit.
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
libtool base REQUIRED
cups-devel base REQUIRED
cups-image base REQUIRED
sane-devel scan REQUIRED
libavahi-dev scan REQUIRED
xsane scan OPTIONAL
dbus fax REQUIRED
libnetsnmp-devel network REQUIRED
python3-notify2 gui_qt5 OPTIONAL
python3-pyqt5-dbus gui_qt5 OPTIONAL
python3-pyqt5 gui_qt5 REQUIRED
python3-devel 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: libtool (libtool - Library building support services)
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)
warning: Missing REQUIRED dependency: python3-devel (Python devel - Python development files)
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency: python3-pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))
warning: Missing REQUIRED dependency: dbus (DBus - Message bus system)
warning: Missing REQUIRED dependency: sane-devel (SANE - Scanning library development files)
warning: Missing REQUIRED dependency: libavahi-dev (libavahi-dev)


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'gui_qt5': python3-notify2 (Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: Missing OPTIONAL dependency for option 'gui_qt5': python3-pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5)
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - Graphical scanner frontend for SANE)


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)
warning: An error occurred running 'sudo apt-get update'
sudo apt-get update (Pre-depend step 3)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes libtool'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libtool-bin'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes libtool-bin'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes libtool-bin'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes libtool-bin'
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) ? y
Running 'sudo apt-get install --assume-yes libtool-bin'
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) ?



  


2. Re: Instalar Hlip

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 30/12/2023 - 08:35h

https://developers.hp.com/hp-linux-imaging-and-printing/install/manual/distros/ubuntu

-vc tem que estar usando um ubuntu que ainda tenha suporte como 20.04, 22.04, 23.04 ou 23.10
-qual é o seu ubuntu?




3. Re: Instalar Hlip

leandro peçanha scardua
leandropscardua

(usa Ubuntu)

Enviado em 30/12/2023 - 12:32h

warning: An error occurred running 'sudo apt-get update'

posta o resultado do comando: sudo apt-get update

sudo apt-get install --assume-yes libtool

Você adicionou repositórios de terceiros?



4. Re: Instalar Hlip

Bernardino
Bernardino14

(usa Ubuntu)

Enviado em 30/12/2023 - 12:56h

Eu fiz o download do hplip-3.23.12, eu uso o ubuntu 22.10. Apareceu o erro que está em anexo.


5. Re: Instalar Hlip

aguamole
aguamole

(usa KUbuntu)

Enviado em 30/12/2023 - 13:03h

Uai, vc esta com a distro certa para o instalador baixado?


6. Re: Instalar Hlip

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 30/12/2023 - 13:05h

Ubuntu 22.10 está sem suporte desde julho de 2023.
Faça backup seus arquivos e instale o Ubuntu 22.04 LTS que terá suporte até abril de 2027







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts