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

 

 

 

HpLip python3-pyqt4 package is missing in BullsEye

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
aantoon
Posts: 10
Joined: 2015-05-31 15:24

HpLip python3-pyqt4 package is missing in BullsEye

#1 Post by aantoon »

I only want to make a scan. Am at it for two days now and getting nowhere. I have visit 100th of google links, did several purges of cups and hplip and tried several versions of hplip, no joy. Hplip is a important piece of software why is it not in the bullseye repo? Printing works just fine but scanning not. How can I get my scanner working? Please help.

About: Missing Required Dependencies
cups is installed and running
libcups2 is installed
gtk2-engines-pixbuf is installed

Missing Optional Dependencies
'python3-dbus.mainloop.qt' package is missing/incompatible
but python3-dbus.mainloop.pyqt5 is installed

I think the problem is
error: 'python3-pyqt4' package is missing/incompatible
I can not find it in the repository.
That said here is my

Code: Select all

hp-check -t 
Saving output in log file: /home/greg/.local/share/Trash/files/hp-testing/hp-check.log

HP Linux Imaging and Printing System (ver. 3.21.2)
Dependency/Version Check Utility ver. 15.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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to           
successfully compile HPLIP.                                                                                                                                                                  
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies       
installed to successfully run.                                                                                                                                                               
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).                                   

Check types:                                                                                                                                                                                 
a. EXTERNALDEP - External Dependencies                                                                                                                                                       
b. GENERALDEP - General Dependencies (required both at compile and run time)                                                                                                                 
c. COMPILEDEP - Compile time Dependencies                                                                                                                                                    
d. [All are run-time checks]                                                                                                                                                                 
PYEXT SCANCONF QUEUES PERMISSION                                                                                                                                                             

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: debian-testing version is not supported. Using debian-10.7 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.10.0-6-amd64 #1 SMP Debian 5.10.28-1 (2021-04-09) GNU/Linux
 Host: winowss
 Proc: 5.10.0-6-amd64 #1 SMP Debian 5.10.28-1 (2021-04-09) GNU/Linux
 Distribution: debian testing
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.21.2
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  testing version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.21.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.21.2
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.21.2



Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address = 
voice_phone = 

[installation]
date_time = 05/02/21 12:16:03
version = 3.21.2

[last_used]
device_uri = hpaio:/usb/DeskJet_2600_series?serial=CN94T890F506MD
printer_name = HP_DeskJet_2600_series
working_dir = .

[polling]
device_list = 
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1617143972
notify_upgrade = false
pending_upgrade_time = 0


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

-------------------------
| External Dependencies |
-------------------------

 error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.53.3          OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.31          OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.20         OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.21            OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.8             OK         -

------------------------
| General Dependencies |
------------------------

 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               -               OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               -               OK         -
 libavahi-dev         libavahi-dev                                                 REQUIRED        -               -               OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.9             OK         -
 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           OK         -
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.9.2           OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.10          OK         -
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.9.2           OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               8.1.2           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.59          OK         -

--------------
| COMPILEDEP |
--------------

 libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               10.2.1          OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.3             OK         -

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.21.2          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.21.2          OK         -

----------------------
| Scan Configuration |
----------------------

'/etc/sane.d/dll.d/hpaio' not found.
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.21.2          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.21.2          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `escl:http://127.0.0.1:60000' is a HP DeskJet 2600 series [651CD2] (USB) flatbed scanner
device `hpaio:/usb/DeskJet_2600_series?serial=CN94T890F506MD' is a Hewlett-Packard DeskJet_2600_series all-in-one
device `escl:http://127.0.0.1:60000' is a HP DeskJet 2600 series [651CD2] (USB) flatbed scanner
device `hpaio:/usb/DeskJet_2600_series?serial=CN94T890F506MD' is a Hewlett-Packard DeskJet_2600_series all-in-one


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI                                         Model                                
  -------------------------------------------------  -------------------------------------
  hp:/usb/DeskJet_2600_series?serial=CN94T890F506MD  HP DeskJet 2600 series               

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 
HP_DeskJet_2600_series
----------------------
Type: Printer
Device URI: hp:/usb/DeskJet_2600_series?serial=CN94T890F506MD
PPD: /etc/cups/ppd/HP_DeskJet_2600_series.ppd
PPD Description: HP Deskjet 2600 Series hpijs, 3.21.2
Printer status: printer HP_DeskJet_2600_series is idle.  enabled since Sun 02 May 2021 11:58:54 AM CEST
error: Unable to communicate with device (code=12): hp:/usb/DeskJet_2600_series?serial=CN94T890F506MD
error: Device not found
error: Communication status: Failed

HP_DeskJet_2600_series_651CD2_USB_
----------------------------------
Type: Unknown
Device URI: implicitclass://HP_DeskJet_2600_series_651CD2_USB_/
PPD: /etc/cups/ppd/HP_DeskJet_2600_series_651CD2_USB_.ppd
PPD Description: HP DeskJet 2600 series, driverless, cups-filters 1.28.7
Printer status: printer HP_DeskJet_2600_series_651CD2_USB_ is idle.  enabled since Sun 02 May 2021 12:08:38 PM CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


--------------
| PERMISSION |
--------------

USB             HP_DeskJet_2600_series         Required        -        -        OK       Node:'/dev/bus/usb/001/015' Perm:'  root  lp rw- rw- rw- rw- rw- r--'
 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'cups' package is missing or 'cups' service is not running.
error: 'libcups2' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 

Total Errors: 4
Total Warnings: 1


Done.
TIA
Last edited by aantoon on 2021-05-03 11:17, edited 2 times in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 461 times

Re: python3-pyqt4 package is missing

#2 Post by sunrat »

hplip is in Bullseye repo and doesn't depend on python3-pyqt4 so I'm not sure why you can't find it.

Code: Select all

$ apt list hplip
Listing... Done
hplip/testing 3.21.2+dfsg1-2 amd64
Run this command on your system and post the output -

Code: Select all

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

aantoon
Posts: 10
Joined: 2015-05-31 15:24

Re: python3-pyqt4 package is missing

#3 Post by aantoon »

apt policy

Code: Select all

Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://deb.leap.se/client release/buster amd64 Packages
     release o=LEAP,n=release,c=buster,b=amd64
     origin deb.leap.se
 500 http://deb.debian.org/debian testing/non-free amd64 Packages
     release o=Debian,a=testing,n=bullseye,l=Debian,c=non-free,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian testing/contrib amd64 Packages
     release o=Debian,a=testing,n=bullseye,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian testing/main amd64 Packages
     release o=Debian,a=testing,n=bullseye,l=Debian,c=main,b=amd64
     origin deb.debian.org
Pinned packages:

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 461 times

Re: python3-pyqt4 package is missing

#4 Post by sunrat »

What happens when you

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!

aantoon
Posts: 10
Joined: 2015-05-31 15:24

Re: python3-pyqt4 package is missing

#5 Post by aantoon »

apt install hplip

Code: Select all

hplip is already the newest version (3.21.2+dfsg1-2)

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 461 times

Re: python3-pyqt4 package is missing

#6 Post by sunrat »

Sorry I misread the first post, thought you were having trouble installing hplip because of missing package. I don't know why you can't scan but perhaps your thread title should mention that, rather than your perceived reason it won't scan.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

aantoon
Posts: 10
Joined: 2015-05-31 15:24

Re: python3-pyqt4 package is missing

#7 Post by aantoon »

sunrat wrote:Sorry I misread the first post, thought you were having trouble installing hplip because of missing package. I don't know why you can't scan but perhaps your thread title should mention that, rather than your perceived reason it won't scan.
I think you read the post just fine, I do have trouble installing hplip because it is asking for the python3-pyqt4 package and for some other packages that hplip is complaining about but are installed just fine.

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: python3-pyqt4 package is missing

#8 Post by arzgi »

aantoon wrote:apt policy

Code: Select all

Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://deb.leap.se/client release/buster amd64 Packages
     release o=LEAP,n=release,c=buster,b=amd64
     origin deb.leap.se
inned packages:
What is this?

aantoon
Posts: 10
Joined: 2015-05-31 15:24

Re: python3-pyqt4 package is missing

#9 Post by aantoon »

[/quote]

What is this?[/quote]

What do you want to know and why do you think this has anything to do with phlip or the pyqt4?

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: HpLip python3-pyqt4 package is missing in BullsEye

#10 Post by arzgi »

Well, if have not heard about FrankenDebian, that's why you and many others were asked to show apt policiy listing to rule out 3rd party sources.

I don't know if deb.leap.se is harmful or source of your problem, but do you need it?

aantoon
Posts: 10
Joined: 2015-05-31 15:24

Re: HpLip python3-pyqt4 package is missing in BullsEye

#11 Post by aantoon »

arzgi wrote:I don't know if deb.leap.se is harmful or source of your problem, but do you need it?
Leap is my riseupVPN I'm pretty sure it is not the problem and yes I need it. :wink:

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: HpLip python3-pyqt4 package is missing in BullsEye

#12 Post by arzgi »

aantoon wrote: Leap is my riseupVPN I'm pretty sure it is not the problem and yes I need it. :wink:
There are good vpns also in Debian's repo.

But to your problem, there is no python3-pyqt4 in bulssey, just checked from https://packages.debian.org

aantoon
Posts: 10
Joined: 2015-05-31 15:24

Re: HpLip python3-pyqt4 package is missing in BullsEye

#13 Post by aantoon »

arzgi wrote:
aantoon wrote: Leap is my riseupVPN I'm pretty sure it is not the problem and yes I need it. :wink:
There are good vpns also in Debian's repo.

But to your problem, there is no python3-pyqt4 in bulssey, just checked from https://packages.debian.org
It is in the title of my post "python3-pyqt4 package is missing in BullsEye" :shock:
Yet: Hplip is asking for it.
hplip "is" in the repo.
If hplip is asking for it why is python3-pyqt4 "not" in the repo?

To be honest I do not care why python3-pyqt4 is not in the repo I just want to know how to install hplip without it asking for python3-pyqt4 and without it falsely complaining for not installed packages that are clearly installed.
Please before replying read the first post of this topic specially the part in code.
Please every one stay on topic "how do I get my scanner working?"

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: HpLip python3-pyqt4 package is missing in BullsEye

#14 Post by arzgi »

sunrat noted the same as I, hplip does not depend on python3-pyqt4,

I'm not sure I can help you. How did you install Debian BullsEye? I'd suggest reinstalling using only Debian sources.

Post Reply