Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Dependency always missing: pyqt4? [hplip-3.20]

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Kowa92
Posts: 3
Joined: 2020-06-08 20:40

Dependency always missing: pyqt4? [hplip-3.20]

#1 Post by Kowa92 »

Hello,

i've some problem when installing hplip-3.20.5.
In fact, the installer doesn't recognize these following dependencies (both if I choose to avoid installing the qt4 gui in custom mode and in automatic default mode):

- pyqt4-dbus
- pyqt4

I use debian as os. I've just installed these qt4 rquired package (that should be ok):

Code: Select all

python-qt4 is already the newest version (4.12.1+dfsg-2+b1).
python-qt4-dbus is already the newest version (4.12.1+dfsg-2+b1).
And these qt5 rquired package (that should be ok):

Code: Select all

python-pyqt5 is already the newest version (5.11.3+dfsg-1+b3).
gtk2-engines-pixbuf is already the newest version (2.24.32-3+rpt1).
python-dbus.mainloop.pyqt5 is already the newest version (5.11.3+dfsg-1+b3).
But the problem is not solved.

-> Where i'am wrong?
-> Why if I choose to avoid installing the qt4 gui in custom mode it keep asking me for the qt4 package?

******************************************************************************

I put the installation log of automatic mode:

Code: Select all

pi@raspberry:/media/sf_CC_VMs $ ./hplip-3.20.5.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_Sun-07-Jun-2020_21:39:10.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: debian-10.4 version is not supported, so all dependencies may not be installed. However trying to install using debian-10.3 version packages.

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y

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 Debian 10.4.

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

DISTRO/OS SELECTION
-------------------

Choose the name of the distro/OS that most closely matches your system:

Num. Distro/OS Name
---- ------------------------
0 Mepis
1 Debian
2 SUSE Linux
3 Mandriva Linux
4 Fedora
5 Red Hat
6 Red Hat Enterprise Linux
7 Ubuntu
8 PCLinuxOS
9 Linux Mint
10 gOS
11 Linpus Linux
12 Manjaro Linux
13 IGOS
14 Boss
15 Linux From Scratch

Enter number 0...15 (q=quit) ?1

Choose the version of "Debian" that most closely matches your system:

Num. Distro/OS Version
---- ----------------------------------------
0 Unknown or not listed
1 10.0 ("Buster", Released 22/07/2017)
2 10.1 ("Buster", Released 22/07/2017)
3 10.2 ("Buster", Released 22/07/2017)
4 10.3 ("Buster", Released 08/02/2020)
5 6.0 ("Squeeze")
6 6.0.1 ("Squeeze")
7 6.0.10 ("Squeeze")
8 6.0.2 ("Squeeze")
9 6.0.3 ("Squeeze")
10 6.0.4 ("Squeeze")
11 6.0.5 ("Squeeze")
12 6.0.6 ("Squeeze")
13 6.0.7 ("Squeeze")
14 6.0.8 ("Squeeze")
15 6.0.9 ("Squeeze")
16 7.0 ("Wheezy", Released 04/05/2013)
17 7.1 ("Wheezy", Released 04/05/2013)
18 7.2 ("Wheezy", Released 04/05/2013)
19 7.3 ("Wheezy", Released 04/05/2013)
20 7.4 ("Wheezy", Released 04/05/2013)
21 7.5 ("Wheezy", Released 04/05/2013)
22 7.6 ("Wheezy", Released 04/05/2013)
23 7.7 ("Wheezy", Released 04/05/2013)
24 7.8 ("Wheezy", Released 04/05/2013)
25 7.9 ("Wheezy", Released 04/05/2013)
26 8.0 ("Jessie", Released 04/05/2015)
27 8.1 ("Jessie", Released 04/05/2015)
28 8.2 ("Jessie", Released 04/05/2015)
29 8.3 ("Jessie", Released 04/05/2015)
30 8.4 ("Jessie", Released 04/05/2016)
31 8.5 ("Jessie", Released 27/08/2016)
32 8.6 ("Jessie", Released 22/10/2016)
33 8.7 ("Jessie", Released 22/10/2016)
34 8.8 ("Jessie", Released 31/05/2017)
35 9.1 ("Stretch", Released 22/07/2017)
36 9.2 ("Stretch", Released 7/10/2017)
37 9.3 ("Stretch", Released 9/12/2017)
38 9.4 ("Stretch", Released 10/3/2018)
39 9.5 ("Stretch", Released 10/3/2018)
40 9.6 ("Stretch", Released 10/11/2018)
41 9.7 ("Stretch", Released 23/1/2019)
42 9.8 ("Stretch", Released 16/2/2019)
43 9.9 ("Stretch", Released 22/07/2017)

Enter number 0...43 (q=quit) ?4

Distro set to: Debian 10.3

Initializing. Please wait...

ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:

INSTALLATION NOTES
------------------
NOTE: Disable the CD Sources in your apt sources.list or the install will fail and hang.

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

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
pyqt5 gui_qt5 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: pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))

INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'gui_qt5': pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5)

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------
su -c "dpkg --configure -a" (Pre-depend step 1)
su -c "apt-get install -f" (Pre-depend step 2)
su -c "apt-get update" (Pre-depend step 3)
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "apt-get install --force-yes -y gtk2-engines-pixbuf"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-pyqt5"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-dbus.mainloop.pyqt5"'
Please wait, this may take several minutes...
error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing.
error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.

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

RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing.
error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.
error: Installation cannot continue without these dependencies.
error: Please manually install this dependency and re-run this installer.
******************************************************************************

I put the installation log of custom mode (avoid installing the qt4 gui):

Code: Select all

pi@raspberry:/media/sf_CC_VMs $ ./hplip-3.20.5.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_Sun-07-Jun-2020_21:44:43.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: debian-10.4 version is not supported, so all dependencies may not be installed. However trying to install using debian-10.3 version packages.

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y

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) : c

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 Debian 10.4.

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

DISTRO/OS SELECTION
-------------------

Choose the name of the distro/OS that most closely matches your system:

Num. Distro/OS Name
---- ------------------------
0 Mepis
1 Debian
2 SUSE Linux
3 Mandriva Linux
4 Fedora
5 Red Hat
6 Red Hat Enterprise Linux
7 Ubuntu
8 PCLinuxOS
9 Linux Mint
10 gOS
11 Linpus Linux
12 Manjaro Linux
13 IGOS
14 Boss
15 Linux From Scratch

Enter number 0...15 (q=quit) ?1

Choose the version of "Debian" that most closely matches your system:

Num. Distro/OS Version
---- ----------------------------------------
0 Unknown or not listed
1 10.0 ("Buster", Released 22/07/2017)
2 10.1 ("Buster", Released 22/07/2017)
3 10.2 ("Buster", Released 22/07/2017)
4 10.3 ("Buster", Released 08/02/2020)
5 6.0 ("Squeeze")
6 6.0.1 ("Squeeze")
7 6.0.10 ("Squeeze")
8 6.0.2 ("Squeeze")
9 6.0.3 ("Squeeze")
10 6.0.4 ("Squeeze")
11 6.0.5 ("Squeeze")
12 6.0.6 ("Squeeze")
13 6.0.7 ("Squeeze")
14 6.0.8 ("Squeeze")
15 6.0.9 ("Squeeze")
16 7.0 ("Wheezy", Released 04/05/2013)
17 7.1 ("Wheezy", Released 04/05/2013)
18 7.2 ("Wheezy", Released 04/05/2013)
19 7.3 ("Wheezy", Released 04/05/2013)
20 7.4 ("Wheezy", Released 04/05/2013)
21 7.5 ("Wheezy", Released 04/05/2013)
22 7.6 ("Wheezy", Released 04/05/2013)
23 7.7 ("Wheezy", Released 04/05/2013)
24 7.8 ("Wheezy", Released 04/05/2013)
25 7.9 ("Wheezy", Released 04/05/2013)
26 8.0 ("Jessie", Released 04/05/2015)
27 8.1 ("Jessie", Released 04/05/2015)
28 8.2 ("Jessie", Released 04/05/2015)
29 8.3 ("Jessie", Released 04/05/2015)
30 8.4 ("Jessie", Released 04/05/2016)
31 8.5 ("Jessie", Released 27/08/2016)
32 8.6 ("Jessie", Released 22/10/2016)
33 8.7 ("Jessie", Released 22/10/2016)
34 8.8 ("Jessie", Released 31/05/2017)
35 9.1 ("Stretch", Released 22/07/2017)
36 9.2 ("Stretch", Released 7/10/2017)
37 9.3 ("Stretch", Released 9/12/2017)
38 9.4 ("Stretch", Released 10/3/2018)
39 9.5 ("Stretch", Released 10/3/2018)
40 9.6 ("Stretch", Released 10/11/2018)
41 9.7 ("Stretch", Released 23/1/2019)
42 9.8 ("Stretch", Released 16/2/2019)
43 9.9 ("Stretch", Released 22/07/2017)

Enter number 0...43 (q=quit) ?4

Distro set to: Debian 10.3

DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)? :

Initializing. Please wait...

SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra dependencies.

Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'Graphical User Interfaces (Qt5)' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ?
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ?

ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password:

INSTALLATION NOTES
------------------
NOTE: Disable the CD Sources in your apt sources.list or the install will fail and hang.

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

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
pyqt5 gui_qt5 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: pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?

INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'gui_qt5': pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5)

Would you like to have this installer install the missing dependency (y=yes*, n=no, q=quit) ?

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------
su -c "dpkg --configure -a" (Pre-depend step 1)
su -c "apt-get install -f" (Pre-depend step 2)
su -c "apt-get update" (Pre-depend step 3)
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "apt-get install --force-yes -y gtk2-engines-pixbuf"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-pyqt5"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-dbus.mainloop.pyqt5"'
Please wait, this may take several minutes...
error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing.
error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.

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

RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing.
error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.
error: Installation cannot continue without these dependencies.
error: Please manually install this dependency and re-run this installer.
******************************************************************************

In my opinion there is some bug in the installer because in the end it always asks for the dependencies of qt4 (when in reality it should be ask me only of qt5 ones)..

Thanks to everyone.

Greetings

User avatar
sunrat
Administrator
Administrator
Posts: 6498
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 476 times

Re: Dependency always missing: pyqt4? [hplip-3.20]

#2 Post by sunrat »

Debian 10 doesn't have those dependencies. Why do you not install hplip from the Debian repository?
https://packages.debian.org/buster/hplip

Code: Select all

apt install hplip
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

arid
Posts: 136
Joined: 2014-05-08 18:40
Location: Aridzona
Has thanked: 3 times
Been thanked: 1 time

Re: Dependency always missing: pyqt4? [hplip-3.20]

#3 Post by arid »

Since I have have been using hplip for many years, now 3.20.5, without a problem, I was immediately drawn to your post.

Since you say you are using a Debian system, may I inquire why you are not using apt directly or any of its front ends, to install hplip?

I did notice the word "raspberry".

Perhaps that's your "bug".
There's no drama in my sid......

Kowa92
Posts: 3
Joined: 2020-06-08 20:40

Re: Dependency always missing: pyqt4? [hplip-3.20]

#4 Post by Kowa92 »

sunrat wrote:Debian 10 doesn't have those dependencies. Why do you not install hplip from the Debian repository?
https://packages.debian.org/buster/hplip

Code: Select all

apt install hplip
Because my printer is supported from hplip >= 3.19.12. That is currently of Debian 'stable' is useless for me. That of Debian 'unstable' (sid) (that the last version of hplip) would be useful but it contaminates my installed stable version with over 350 unstable packages. I want to keep only the stable ones.. or at most only those strictly necessary (i.e. hplip and its dependencies).
Last edited by Kowa92 on 2020-06-09 19:09, edited 2 times in total.

Kowa92
Posts: 3
Joined: 2020-06-08 20:40

Re: Dependency always missing: pyqt4? [hplip-3.20]

#5 Post by Kowa92 »

arid wrote:Since I have have been using hplip for many years, now 3.20.5, without a problem, I was immediately drawn to your post.

Since you say you are using a Debian system, may I inquire why you are not using apt directly or any of its front ends, to install hplip?

I did notice the word "raspberry".

Perhaps that's your "bug".
Hello, i explain here my reason:
Kowa92 wrote:
sunrat wrote:Debian 10 doesn't have those dependencies. Why do you not install hplip from the Debian repository?
https://packages.debian.org/buster/hplip

Code: Select all

apt install hplip
Because my printer is supported from hplip >= 3.19.12. That is currently of Debian 'stable' is useless for me. That of Debian 'unstable' (sid) (that the last version of hplip) would be useful but it contaminates my installed stable version with over 350 unstable packages. I want to keep only the stable ones.. or at most only those strictly necessary (i.e. hplip and its dependencies).

Post Reply