dependency and conflcit resolution

Bug #1887406 reported by Mr Derrick W. Sampson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes python3-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python3-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python3-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python3-pyqt4'
Please wait, this may take several minutes...
error: Package install command failed with error code 100

hplip is failing to find python3-pyqt4, it seems as though hplip-3.20.6.run and hplip-3.20.5.run are both incompatible with Linux Mint 20 "Ulyana".

I need some advice here as my printer is a all in one. Printer Model is HP ENVY 4520

I have more detail:

derrick@derrick-NF611AA-ABU-SR5726UK:~$ sudo apt-get install python3-pyqt5
[sudo] password for derrick:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite
  libqt5test5 libqt5xml5 python3-sip
Suggested packages:
  python3-pyqt5-dbg
The following NEW packages will be installed
  libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite
  libqt5test5 libqt5xml5 python3-pyqt5 python3-sip
0 to upgrade, 9 to newly install, 0 to remove and 0 not to upgrade.
Need to get 5,916 kB of archives.
After this operation, 25.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5xml5 amd64 5.12.8+dfsg-0ubuntu1 [105 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5designer5 amd64 5.12.8-0ubuntu1 [2,778 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5sql5 amd64 5.12.8+dfsg-0ubuntu1 [121 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5help5 amd64 5.12.8-0ubuntu1 [134 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5printsupport5 amd64 5.12.8+dfsg-0ubuntu1 [193 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5sql5-sqlite amd64 5.12.8+dfsg-0ubuntu1 [47.5 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5test5 amd64 5.12.8+dfsg-0ubuntu1 [131 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-sip amd64 4.19.21+dfsg-1build1 [87.9 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-pyqt5 amd64 5.14.1+dfsg-3build1 [2,318 kB]
Fetched 5,916 kB in 4s (1,654 kB/s)
Selecting previously unselected package libqt5xml5:amd64.
(Reading database ... 328015 files and directories currently installed.)
Preparing to unpack .../0-libqt5xml5_5.12.8+dfsg-0ubuntu1_amd64.deb ...
Unpacking libqt5xml5:amd64 (5.12.8+dfsg-0ubuntu1) ...
Selecting previously unselected package libqt5designer5:amd64.
Preparing to unpack .../1-libqt5designer5_5.12.8-0ubuntu1_amd64.deb ...
Unpacking libqt5designer5:amd64 (5.12.8-0ubuntu1) ...
Selecting previously unselected package libqt5sql5:amd64.
Preparing to unpack .../2-libqt5sql5_5.12.8+dfsg-0ubuntu1_amd64.deb ...
Unpacking libqt5sql5:amd64 (5.12.8+dfsg-0ubuntu1) ...
Selecting previously unselected package libqt5help5:amd64.
Preparing to unpack .../3-libqt5help5_5.12.8-0ubuntu1_amd64.deb ...
Unpacking libqt5help5:amd64 (5.12.8-0ubuntu1) ...
Selecting previously unselected package libqt5printsupport5:amd64.
Preparing to unpack .../4-libqt5printsupport5_5.12.8+dfsg-0ubuntu1_amd64.deb ...
Unpacking libqt5printsupport5:amd64 (5.12.8+dfsg-0ubuntu1) ...
Selecting previously unselected package libqt5sql5-sqlite:amd64.
Preparing to unpack .../5-libqt5sql5-sqlite_5.12.8+dfsg-0ubuntu1_amd64.deb ...
Unpacking libqt5sql5-sqlite:amd64 (5.12.8+dfsg-0ubuntu1) ...
Selecting previously unselected package libqt5test5:amd64.
Preparing to unpack .../6-libqt5test5_5.12.8+dfsg-0ubuntu1_amd64.deb ...
Unpacking libqt5test5:amd64 (5.12.8+dfsg-0ubuntu1) ...
Selecting previously unselected package python3-sip.
Preparing to unpack .../7-python3-sip_4.19.21+dfsg-1build1_amd64.deb ...
Unpacking python3-sip (4.19.21+dfsg-1build1) ...
Selecting previously unselected package python3-pyqt5.
Preparing to unpack .../8-python3-pyqt5_5.14.1+dfsg-3build1_amd64.deb ...
Unpacking python3-pyqt5 (5.14.1+dfsg-3build1) ...
Setting up libqt5sql5:amd64 (5.12.8+dfsg-0ubuntu1) ...
Setting up libqt5printsupport5:amd64 (5.12.8+dfsg-0ubuntu1) ...
Setting up libqt5xml5:amd64 (5.12.8+dfsg-0ubuntu1) ...
Setting up libqt5test5:amd64 (5.12.8+dfsg-0ubuntu1) ...
Setting up python3-sip (4.19.21+dfsg-1build1) ...
Setting up libqt5sql5-sqlite:amd64 (5.12.8+dfsg-0ubuntu1) ...
Setting up libqt5designer5:amd64 (5.12.8-0ubuntu1) ...
Setting up libqt5help5:amd64 (5.12.8-0ubuntu1) ...
Setting up python3-pyqt5 (5.14.1+dfsg-3build1) ...
Processing triggers for libc-bin (2.31-0ubuntu9) ...
derrick@derrick-NF611AA-ABU-SR5726UK:~$ cd Desktop
derrick@derrick-NF611AA-ABU-SR5726UK:~/Desktop$ sh hplip-3.20.6
derrick@derrick-NF611AA-ABU-SR5726UK:~/Desktop$ sh hplip-3.20.6.run
Creating directory hplip-3.20.6
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.6 Self Extracting Archive.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.20.6)
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_Mon-13-Jul-2020_16:38:06.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: linuxmint-20 version is not supported, so all dependencies may not be installed. However trying to install using linuxmint-19.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) : a

INTRODUCTION
------------
This installer will install HPLIP version 3.20.6 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Linux Mint 20.

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

Initializing. Please wait...

ENTER USER PASSWORD
-------------------
Please enter the sudoer (derrick)'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

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
python3-pyqt4-dbus gui_qt4 OPTIONAL
python3-pyqt4 gui_qt4 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: python3-pyqt4 (PyQt 4- 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_qt4': python3-pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)

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 python3-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python3-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python3-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python3-pyqt4'
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) ? n
warning: Some HPLIP functionality might not function due to missing package(s).
Running 'sudo apt-get install --assume-yes python3-dbus.mainloop.qt'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python3-dbus.mainloop.qt'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python3-dbus.mainloop.qt'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python3-dbus.mainloop.qt'
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) ? n
warning: Some HPLIP functionality might not function due to missing package(s).
error: A required dependency 'python3-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 'python3-pyqt4 (PyQt 4- 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.
derrick@derrick-NF611AA-ABU-SR5726UK:~/Desktop$ sudo apt install hplip-gui
[sudo] password for derrick:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  python3-dbus.mainloop.pyqt5
The following NEW packages will be installed
  hplip-gui python3-dbus.mainloop.pyqt5
0 to upgrade, 2 to newly install, 0 to remove and 0 not to upgrade.
Need to get 35.9 kB of archives.
After this operation, 217 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-dbus.mainloop.pyqt5 amd64 5.14.1+dfsg-3build1 [16.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 hplip-gui all 3.20.3+dfsg0-2 [19.1 kB]
Fetched 35.9 kB in 0s (72.7 kB/s)
Selecting previously unselected package python3-dbus.mainloop.pyqt5.
(Reading database ... 328142 files and directories currently installed.)
Preparing to unpack .../python3-dbus.mainloop.pyqt5_5.14.1+dfsg-3build1_amd64.deb ...
Unpacking python3-dbus.mainloop.pyqt5 (5.14.1+dfsg-3build1) ...
Selecting previously unselected package hplip-gui.
Preparing to unpack .../hplip-gui_3.20.3+dfsg0-2_all.deb ...
Unpacking hplip-gui (3.20.3+dfsg0-2) ...
Setting up python3-dbus.mainloop.pyqt5 (5.14.1+dfsg-3build1) ...
Setting up hplip-gui (3.20.3+dfsg0-2) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
derrick@derrick-NF611AA-ABU-SR5726UK:~/Desktop$ sh hplip-3.20.6.run
Creating directory hplip-3.20.6
Verifying archive integrity...^[[3~ All good.
Uncompressing HPLIP 3.20.6 Self Extracting Archive.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

HP Linux Imaging and Printing System (ver. 3.20.6)
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_Mon-13-Jul-2020_16:44:05.log

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

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y
error: Please enter 'y', 'n', 'q' or press <enter> for the default of 'n'.

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

INTRODUCTION
------------
This installer will install HPLIP version 3.20.6 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Linux Mint 20.

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

Initializing. Please wait...

ENTER USER PASSWORD
-------------------
Please enter the sudoer (derrick)'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

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
python3-pyqt4-dbus gui_qt4 OPTIONAL
python3-pyqt4 gui_qt4 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: python3-pyqt4 (PyQt 4- 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_qt4': python3-pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)

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 python3-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python3-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python3-pyqt4'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python3-pyqt4'
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) ? q
derrick@derrick-NF611AA-ABU-SR5726UK:~/Desktop$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.

HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.

Checking for Deprecated items....
No Deprecated items are found

Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility

Checking for Dependencies....
warning: linuxmint-20 version is not supported. Using linuxmint-19.3 versions dependencies to verify and install...

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

 Kernel: 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 GNU/Linux
 Host: derrick-NF611AA-ABU-SR5726UK
 Proc: 5.4.0-40-generic #44-Ubuntu SMP Tue Jun 23 00:01:04 UTC 2020 GNU/Linux
 Distribution: linuxmint 20
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for linuxmint distro 20 version

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

[hplip]
version=3.20.3

[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.20.3
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:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 07/13/20 16:58:21
version = 3.20.3

 <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.50 OK -
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.29 OK -
 dbus DBus - Message bus system REQUIRED - 1.12.16 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 network network -wget OPTIONAL - 1.20.3 OK -
 avahi-utils avahi-utils OPTIONAL - 0.7 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 -
 libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.8 OK -
 libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
 python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.8.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.9 OK -
 python3-devel Python devel - Python development files REQUIRED 2.2 3.8.2 OK -
 python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 7.0.0 OK -
 python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.5.34 OK -

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

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

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

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

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

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

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

No Scanner found.

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

No devices found.

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

lpstat
------
Type: Unknown
Device URI: No destinations added.

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

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'python3-pyqt4' package is missing/incompatible
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible

Regards

Derrick W. Sampson

Revision history for this message
brian_p (claremont102) wrote :

> I need some advice here as my printer is a all in one.
> Printer Model is HP ENVY 4520

I have the same model. It works brilliantly when following
the advice at

  https://wiki.debian.org/CUPSDriverlessPrinting

Struggling with HPLIP is not my idea of fun.

Cheers,

Brian.

Revision history for this message
Mr Derrick W. Sampson (dwsampson) wrote : Re: [Bug 1887406] Re: dependency and conflcit resolution
Download full text (32.9 KiB)

Hi Brian

Thanks for this, looks like I've got some reading to do, before I do anything.

Cheers

Derrick

     On Tuesday, 14 July 2020, 19:20:44 BST, brian_p <email address hidden> wrote:

 > I need some advice here as my printer is a all in one.
> Printer Model is HP ENVY 4520

I have the same model. It works brilliantly when following
the advice at

  https://wiki.debian.org/CUPSDriverlessPrinting

Struggling with HPLIP is not my idea of fun.

Cheers,

Brian.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1887406

Title:
  dependency and conflcit resolution

Status in HPLIP:
  New

Bug description:
  DEPENDENCY AND CONFLICT RESOLUTION
  ----------------------------------
  Running 'sudo apt-get install --assume-yes python3-pyqt4'
  Please wait, this may take several minutes...
  error: Command failed. Re-try #1...
  Running 'sudo apt-get install --assume-yes python3-pyqt4'
  Please wait, this may take several minutes...
  error: Command failed. Re-try #2...
  Running 'sudo apt-get install --assume-yes python3-pyqt4'
  Please wait, this may take several minutes...
  error: Command failed. Re-try #3...
  Running 'sudo apt-get install --assume-yes python3-pyqt4'
  Please wait, this may take several minutes...
  error: Package install command failed with error code 100

  hplip is failing to find python3-pyqt4, it seems as though
  hplip-3.20.6.run and hplip-3.20.5.run are both incompatible with Linux
  Mint 20 "Ulyana".

  I need some advice here as my printer is a all in one. Printer Model
  is HP ENVY 4520

  I have more detail:

  derrick@derrick-NF611AA-ABU-SR5726UK:~$ sudo apt-get install python3-pyqt5
  [sudo] password for derrick:
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following additional packages will be installed:
    libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite
    libqt5test5 libqt5xml5 python3-sip
  Suggested packages:
    python3-pyqt5-dbg
  The following NEW packages will be installed
    libqt5designer5 libqt5help5 libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite
    libqt5test5 libqt5xml5 python3-pyqt5 python3-sip
  0 to upgrade, 9 to newly install, 0 to remove and 0 not to upgrade.
  Need to get 5,916 kB of archives.
  After this operation, 25.6 MB of additional disk space will be used.
  Do you want to continue? [Y/n] y
  Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5xml5 amd64 5.12.8+dfsg-0ubuntu1 [105 kB]
  Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5designer5 amd64 5.12.8-0ubuntu1 [2,778 kB]
  Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5sql5 amd64 5.12.8+dfsg-0ubuntu1 [121 kB]
  Get:4 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5help5 amd64 5.12.8-0ubuntu1 [134 kB]
  Get:5 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5printsupport5 amd64 5.12.8+dfsg-0ubuntu1 [193 kB]
  Get:6 http://archive.ubuntu.com/ubuntu focal/universe amd64 libqt5sql5-sqlite amd64 5.12.8+dfsg-0ubuntu1 [47.5 kB]
  Get:7 http://archive.ubuntu.com/ubuntu focal/universe amd6...

Changed in hplip:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.