HPLIP - NAO CONSIGO INSTALAR NO UBUNTU 20.04LTS

1. HPLIP - NAO CONSIGO INSTALAR NO UBUNTU 20.04LTS

NILTON P. OLIVEIRA
notlin75

(usa Ubuntu)

Enviado em 30/04/2022 - 20:52h

Tentei varias versoes. Escolhendo ubuntu e debian.
Todas apresentam erro no inicio da sessao dependencias....

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) ?

O que posso fazer?


  


2. Re: HPLIP - NAO CONSIGO INSTALAR NO UBUNTU 20.04LTS

Fernando T. Da Silva
nandosilva

(usa Lubuntu)

Enviado em 30/04/2022 - 21:17h

O pacote hplip que você instalou é do repositório oficial da versão do seu Ubuntu ? Ou então você baixou o source do hplip para compilação ou um pacote binário do hplip que não é do repositório da sua distro e por isto você está tendo problemas com dependências.




3. Re: HPLIP - NAO CONSIGO INSTALAR NO UBUNTU 20.04LTS

Mauriciodez
Mauriciodez

(usa Debian)

Enviado em 30/04/2022 - 22:44h


notlin75 escreveu:

Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...


o erro aí é muito claro ... o comando está errado ... poste a parada completa ( desde o comando inserido até o fim ! )

------------------------------------------------------| Linux User #621728 |------------------------------------------------------

" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"

------------------------------------------------------| Linux User #621728 |------------------------------------------------------




4. Re: HPLIP - NAO CONSIGO INSTALAR NO UBUNTU 20.04LTS

NILTON P. OLIVEIRA
notlin75

(usa Ubuntu)

Enviado em 05/05/2022 - 22:53h

nandosilva escreveu:

O pacote hplip que você instalou é do repositório oficial da versão do seu Ubuntu ? Ou então você baixou o source do hplip para compilação ou um pacote binário do hplip que não é do repositório da sua distro e por isto você está tendo problemas com dependências.



Todos da versão Ubuntu no site: <https://developers.hp.com/hp-linux-imaging-and-printing/gethplip> que redireciona para <https://sourceforge.net/projects/hplip/files/hplip/3.22.4/hplip-3.22.4.run/download?use_mirror=nchc>


5. Re: HPLIP - NAO CONSIGO INSTALAR NO UBUNTU 20.04LTS

Paulo Jr
Pebis

(usa Debian)

Enviado em 07/05/2022 - 08:45h


Por que não instalar o do repositório?


6. Re: HPLIP - NAO CONSIGO INSTALAR NO UBUNTU 20.04LTS

NILTON P. OLIVEIRA
notlin75

(usa Ubuntu)

Enviado em 08/05/2022 - 13:01h


Mauriciodez escreveu:


notlin75 escreveu:

Running 'sudo apt-get install --assume-yes libjpeg-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...


o erro aí é muito claro ... o comando está errado ... poste a parada completa ( desde o comando inserido até o fim ! )

------------------------------------------------------| Linux User #621728 |------------------------------------------------------

Olá.

A parada completa abaixo:

ana@ana-Lenovo-G475:~$ chmod +x hplip.run
ana@ana-Lenovo-G475:~$ ./hplip.run
Creating directory hplip-3.22.4
Verifying archive integrity... All good.
Uncompressing HPLIP 3.22.4 Self Extracting Archive..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.22.4)
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_Sun-08-May-2022_12:40:36.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.22.4 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 (ana)'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


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
libjpeg base REQUIRED
libtool base REQUIRED
cups-devel base REQUIRED
cups-image base REQUIRED
gcc base REQUIRED
make base REQUIRED
libpthread base REQUIRED
libusb base REQUIRED
sane-devel scan REQUIRED
libavahi-dev scan REQUIRED
xsane scan OPTIONAL
dbus fax REQUIRED
libnetsnmp-devel network REQUIRED
libcrypto network REQUIRED
python3-devel base REQUIRED
python3-pil scan OPTIONAL
python3-reportlab fax OPTIONAL
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: libjpeg (libjpeg - JPEG library)
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: gcc (gcc - GNU Project C and C++ Compiler)
warning: Missing REQUIRED dependency: make (make - GNU make utility to maintain groups of programs)
warning: Missing REQUIRED dependency: libpthread (libpthread - POSIX threads library)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
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: libcrypto (libcrypto - OpenSSL cryptographic library)
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 'fax': python3-reportlab (Reportlab - PDF library for Python)
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - Graphical scanner frontend for SANE)
warning: Missing OPTIONAL dependency for option 'scan': python3-pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))


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) ?



" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"

------------------------------------------------------| Linux User #621728 |------------------------------------------------------






7. Re: HPLIP - NAO CONSIGO INSTALAR NO UBUNTU 20.04LTS

NILTON P. OLIVEIRA
notlin75

(usa Ubuntu)

Enviado em 08/05/2022 - 13:03h


Pebis escreveu:


Por que não instalar o do repositório?


Olá.

Perdoe a minha ignorãncia. Como instalar pelo repositório?




8. Re: HPLIP - NAO CONSIGO INSTALAR NO UBUNTU 20.04LTS

Mauriciodez
Mauriciodez

(usa Debian)

Enviado em 08/05/2022 - 21:35h


de o comando como ROOT ou com 'sudo' ... no linux não se instala nada sem permissão de super usuário !!!


notlin75 escreveu:
Perdoe a minha ignorãncia. Como instalar pelo repositório?

sudo apt install hplip 


------------------------------------------------------| Linux User #621728 |------------------------------------------------------

" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"

------------------------------------------------------| Linux User #621728 |------------------------------------------------------








Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts