[Risolto] hplip non si installa su Ubuntu 20.04

Riconoscimento, installazione e configurazione delle periferiche.
Scrivi risposta
Avatar utente
Sam9999
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1983
Iscrizione: lunedì 9 giugno 2014, 8:59
Desktop: Studio Xfce
Distribuzione: Ubuntu 20.04 LTS (Focal)
Località: BO
Contatti:

[Risolto] hplip non si installa su Ubuntu 20.04

Messaggio da Sam9999 »

HO una stampantina HP ed avevo installato hplip, ora mi dava il segno di errore triangolo giallo con punto esclamativo, allora decido di reinstallare. hplip.
Prima scarico la versione hplip-2.8.9.run che però mi da errore seguente:

Codice: Seleziona tutto

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 1 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: python-devel (python-devel - Python development files)
warning: This installer cannot install 'python-devel' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
decido di controllare se c'è una versione più recente e trovo la hplip-3.20.5.run che scarico ma anche questa da errore:

Codice: Seleziona tutto

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   
pyqt5-dbus           gui_qt5              OPTIONAL            
pil                  scan                 OPTIONAL            
python-devel         base                 REQUIRED            
reportlab            fax                  OPTIONAL            
pyqt5                gui_qt5              REQUIRED            
python-notify        gui_qt5              OPTIONAL            
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? 
e si ferma quindi quando :

Codice: Seleziona tutto

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes python-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? 
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? 
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? n
warning: Some HPLIP functionality might not function due to missing package(s).
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? n
warning: Some HPLIP functionality might not function due to missing package(s).
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? n
warning: Some HPLIP functionality might not function due to missing package(s).
Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? n
warning: Some HPLIP functionality might not function due to missing package(s).
error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))' is still missing.


RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK


RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.
Sempre pacchetti librerie python che danno errore, questa volta sul computer desktop che uso ed ho upgradato la release senza errori.
cercando di installare manualmente non li trova:

Codice: Seleziona tutto

studio:~/Scaricati$ sudo apt install pyqt5
[sudo] password di sam: 
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto pyqt5
Bisogna quindi attendere che venga aggiornato phplip per ubuntu 20.04 ?
Ultima modifica di Sam9999 il mercoledì 8 luglio 2020, 7:39, modificato 2 volte in totale.
-------------
S. @-M.
-------------
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4000
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 22.04,23.10,24.04,24.10
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

Re: hlip non si installa su Ubuntu 20.04

Messaggio da corradoventu »

Su Ubuntu 20.04 da Ubuntu Sofware vedo solo hplip formato snap
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
Avatar utente
Sam9999
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1983
Iscrizione: lunedì 9 giugno 2014, 8:59
Desktop: Studio Xfce
Distribuzione: Ubuntu 20.04 LTS (Focal)
Località: BO
Contatti:

Re: hlip non si installa su Ubuntu 20.04

Messaggio da Sam9999 »

corradoventu ha scritto:
sabato 16 maggio 2020, 7:31
Su Ubuntu 20.04 da Ubuntu Sofware vedo solo hplip formato snap
Quindi installare quello dal catalogo software .. provo!

Ho installato e non mi ha dato errore, ma non si avvia:

Codice: Seleziona tutto

studio:~$ hp-toolbox
Traceback (most recent call last):
  File "/usr/bin/hp-toolbox", line 41, in <module>
    from base import status, tui, module
  File "/usr/share/hplip/base/status.py", line 32, in <module>
    import cupsext
ModuleNotFoundError: No module named 'cupsext'
Non ho lo scanner hp, cioè ho il 200 che non c'è il driver, in ogni caso ho provato ad avviare anche l'applicazione per lo scanner e non si avvia:

Codice: Seleziona tutto

-studio:~$ /usr/bin/hp-uiscan
Traceback (most recent call last):
  File "/usr/bin/hp-uiscan", line 7, in <module>
    from base import utils, module
  File "/usr/share/hplip/base/module.py", line 30, in <module>
    from . import tui, utils, device
  File "/usr/share/hplip/base/device.py", line 41, in <module>
    from . import status
  File "/usr/share/hplip/base/status.py", line 32, in <module>
    import cupsext
ModuleNotFoundError: No module named 'cupsext'
Sempre errore nei moduli pyton...

Però ho come l'impressione che non avesse installato niente, ho rimosso e reinstallato quello del catalogo software, non si avvia, si apre una finestra termale che si richiude subito.. lo avvio direttamente dal catalogo software.. perché a menu non appare.
-------------
S. @-M.
-------------
Avatar utente
corradoventu
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4000
Iscrizione: domenica 27 aprile 2008, 22:23
Desktop: GNOME
Distribuzione: Ubuntu 22.04,23.10,24.04,24.10
Sesso: Maschile
Località: Rezzoaglio (GE)
Contatti:

Re: hlip non si installa su Ubuntu 20.04

Messaggio da corradoventu »

Io lo ho installato da synaptic e funziona benissimo
Con o senza religione, i buoni si comportano bene e i cattivi male, ma ci vuole la religione per far comportare male i buoni.
(Steven Weinberg)
Avatar utente
Albertino
Prode Principiante
Messaggi: 176
Iscrizione: sabato 6 febbraio 2010, 20:11
Desktop: ubuntu-wayland
Distribuzione: Ubuntu 22.04.2 LTS
Sesso: Maschile

Re: hlip non si installa su Ubuntu 20.04

Messaggio da Albertino »

Ciao a tutti.
Anche io ho avuto lo stesso problema, poi ho installato da synaptic e ora funziona. Mi sapete dire come si accede alle utility tipo controllo livelli inchiostro, pulitura testine etc?

Grazie
Avatar utente
Sam9999
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1983
Iscrizione: lunedì 9 giugno 2014, 8:59
Desktop: Studio Xfce
Distribuzione: Ubuntu 20.04 LTS (Focal)
Località: BO
Contatti:

Re: hplip non si installa su Ubuntu 20.04

Messaggio da Sam9999 »

Bene a distanza di un po' di tempo ho riprovato a scaricare ed installare hplip-3.20.6 ma ho ottenuto lo stesso errore di mancanza dipendenze python.
Ho cercato un po' in rete e ho trovato il comando "sudo apt install hplip-gui" e si è installata una interfaccia per stampanti HP.
Fatte delle prove di stampa e funziona.
-------------
S. @-M.
-------------
desperados
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 274
Iscrizione: lunedì 1 febbraio 2010, 23:14
Sesso: Maschile
Località: PD

Re: [Risolto] hplip non si installa su Ubuntu 20.04

Messaggio da desperados »

hplip-gui però dovrebbe essere alla versione 3 mentre hplip è alla 6
cmq la dipendenza si dovrebbe risolvere con

Codice: Seleziona tutto

sudo apt install python-dev-is-python3/focal
Avatar utente
Lace
Prode Principiante
Messaggi: 28
Iscrizione: mercoledì 1 maggio 2013, 8:04
Distribuzione: Kubuntu, Ubuntu, Xubuntu 32bit

Re: [Risolto] hplip non si installa su Ubuntu 20.04

Messaggio da Lace »

Ciao, io aggiornando dalla 19.10 alla 20.04 di Xubuntu ho avuto un problema simile che mi dava sempre come danneggiati sia hplib, sia simple scan (sane), sia lmsensors.

Anche se non sono d'aiuto ho paura si tratti di un problema di Giovinezza della 20.04... ma lascio che poú esperti di me dicano qualcosa... Ciao
Ultima modifica di Lace il giovedì 9 luglio 2020, 1:15, modificato 1 volta in totale.
Avatar utente
Lace
Prode Principiante
Messaggi: 28
Iscrizione: mercoledì 1 maggio 2013, 8:04
Distribuzione: Kubuntu, Ubuntu, Xubuntu 32bit

Re: [Risolto] hplip non si installa su Ubuntu 20.04

Messaggio da Lace »

Ps: a me a differenza tua non funzionava la reinstallazione del pacchetto tramite synaptic ne la riparazione del pacchetto e dipendenze correlate
Avatar utente
Sam9999
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1983
Iscrizione: lunedì 9 giugno 2014, 8:59
Desktop: Studio Xfce
Distribuzione: Ubuntu 20.04 LTS (Focal)
Località: BO
Contatti:

Re: [Risolto] hplip non si installa su Ubuntu 20.04

Messaggio da Sam9999 »

desperados ha scritto:
mercoledì 8 luglio 2020, 7:41
hplip-gui però dovrebbe essere alla versione 3 mentre hplip è alla 6
cmq la dipendenza si dovrebbe risolvere con

Codice: Seleziona tutto

sudo apt install python-dev-is-python3/focal
Non avendo grandi esigenze già che stampa va bene... provero a vedere se il tuo comando risolve per le dipendenze di pyton in quanto utile anche al fatto che ccertbot non si avvia stesso motivo.

Si forse dovuto al fatto che al 20.04 è ancora giovane.

Al momento sta installando dopo il comando "sudo apt install python-dev-is-python3/focal" le dipendenze appaiono risolte e sto installando hplip-3.19.1... che è l'ultima versione appena scaricata, o almeno che mi ha fatto scaricare anche se il sito (https://developers.hp.com/hp-linux-imag ... /gethplip)) diceva versione 3.20.6 poi scelgo ubuntu e mi rende quella.

Mi rende un errore sulla creazione dell'icona:

Codice: Seleziona tutto

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

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

qt5ct: using qt5ct plugin
qt5ct: D-Bus system tray: yes
inotify_add_watch(/home/sam/.config/qt5ct) failed: (Permission denied)
sam@sam-studio:~/Scaricati$ 
HP Linux Imaging and Printing System (ver. 3.20.6)
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 "":
qt5ct: using qt5ct plugin
\qt5ct: D-Bus global menu: no
inotify_add_watch(/home/sam/.config/qt5ct) failed: (Permission denied)
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 826, resource id: 12818157, major code: 40 (TranslateCoords), minor code: 0
Non è ben capito se deve creare la cartella "/home/sam/.config/qt5ct" o il file "/home/sam/.config/qt5ct.conf" perché sembra che mentre prova cerca di creare il file "/home/sam/.config/qt5ct .conf" c'è uno spazio di troppo.

Funziona ma l'icona anche se presente non avvia l'applicazione.
-------------
S. @-M.
-------------
desperados
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 274
Iscrizione: lunedì 1 febbraio 2010, 23:14
Sesso: Maschile
Località: PD

Re: [Risolto] hplip non si installa su Ubuntu 20.04

Messaggio da desperados »

guarda, è cmq un disastro
a me la 3.20.3 si installa ma non funziona niente
la 3.20.5 si installa ma non vede lo scanner
la 3.20.6 non si installa nemmeno ma fallisce per un errore nello script
HP solita baracca...
Avatar utente
woddy68
Rampante Reduce
Rampante Reduce
Messaggi: 8823
Iscrizione: sabato 12 febbraio 2011, 14:23
Desktop: Kde Plasma 6
Distribuzione: openSUSE Tumbleweed - KDE Neon
Sesso: Maschile

Re: [Risolto] hplip non si installa su Ubuntu 20.04

Messaggio da woddy68 »

OT.
HP solita baracca...
dalla mia esperienza...e ti garantisco che ho avuto a che fare con decine di stampanti e scanner, HP è quella meglio supportata in Linux.
Ma succede a volte che le distribuzioni non facciano bene il loro lavoro, quando vengono rilasciate e accorra sempre un po di tempo affinché siano risolti alcuni problemi. Questo è anche il motivo per cui viene consigliato l'avanzamento agli utenti Lts solo dopo l'uscita della prima point release, in questo caso Ubuntu 20.04.1.
Desktop - DELL Optiplex 7010 - Notebook HP 250
-Ho sempre accettato caramelle dagli sconosciuti-
Avatar utente
Sam9999
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1983
Iscrizione: lunedì 9 giugno 2014, 8:59
Desktop: Studio Xfce
Distribuzione: Ubuntu 20.04 LTS (Focal)
Località: BO
Contatti:

Re: [Risolto] hplip non si installa su Ubuntu 20.04

Messaggio da Sam9999 »

desperados ha scritto:
domenica 12 luglio 2020, 14:04
guarda, è cmq un disastro
a me la 3.20.3 si installa ma non funziona niente
la 3.20.5 si installa ma non vede lo scanner
la 3.20.6 non si installa nemmeno ma fallisce per un errore nello script
HP solita baracca...
Sicuro di avere scelto la versione per Ubuntu ?
-------------
S. @-M.
-------------
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: Bing [Bot], Google [Bot] e 12 ospiti