dependency and conflcit resolution
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@
[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://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
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-libqt5xml
Unpacking libqt5xml5:amd64 (5.12.8+
Selecting previously unselected package libqt5designer5
Preparing to unpack .../1-libqt5des
Unpacking libqt5designer5
Selecting previously unselected package libqt5sql5:amd64.
Preparing to unpack .../2-libqt5sql
Unpacking libqt5sql5:amd64 (5.12.8+
Selecting previously unselected package libqt5help5:amd64.
Preparing to unpack .../3-libqt5hel
Unpacking libqt5help5:amd64 (5.12.8-0ubuntu1) ...
Selecting previously unselected package libqt5printsupp
Preparing to unpack .../4-libqt5pri
Unpacking libqt5printsupp
Selecting previously unselected package libqt5sql5-
Preparing to unpack .../5-libqt5sql
Unpacking libqt5sql5-
Selecting previously unselected package libqt5test5:amd64.
Preparing to unpack .../6-libqt5tes
Unpacking libqt5test5:amd64 (5.12.8+
Selecting previously unselected package python3-sip.
Preparing to unpack .../7-python3-
Unpacking python3-sip (4.19.21+
Selecting previously unselected package python3-pyqt5.
Preparing to unpack .../8-python3-
Unpacking python3-pyqt5 (5.14.1+
Setting up libqt5sql5:amd64 (5.12.8+
Setting up libqt5printsupp
Setting up libqt5xml5:amd64 (5.12.8+
Setting up libqt5test5:amd64 (5.12.8+
Setting up python3-sip (4.19.21+
Setting up libqt5sql5-
Setting up libqt5designer5
Setting up libqt5help5:amd64 (5.12.8-0ubuntu1) ...
Setting up python3-pyqt5 (5.14.1+
Processing triggers for libc-bin (2.31-0ubuntu9) ...
derrick@
derrick@
derrick@
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_
\
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:/
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://
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-
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python3-
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python3-
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python3-
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://
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@
[sudo] password for derrick:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python3-
The following NEW packages will be installed
hplip-gui python3-
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://
Get:2 http://
Fetched 35.9 kB in 0s (72.7 kB/s)
Selecting previously unselected package python3-
(Reading database ... 328142 files and directories currently installed.)
Preparing to unpack .../python3-
Unpacking python3-
Selecting previously unselected package hplip-gui.
Preparing to unpack .../hplip-
Unpacking hplip-gui (3.20.3+dfsg0-2) ...
Setting up python3-
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@
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_
\
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:/
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://
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? q
derrick@
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-
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. Generated from hplip.conf.in by configure.
[hplip]
version=3.20.3
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=no
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
apparmor=
# 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-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
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-
hpijs-only-build=no
apparmor_build=no
class-driver=no
Current contents of '/var/lib/
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/
[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.
hpaio HPLIP-SANE-Backend REQUIRED - 3.20.3 OK 'hpaio found in /etc/sane.
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/
Missing Optional Dependencies
-------
error: 'python3-
Regards
Derrick W. Sampson
Changed in hplip: | |
status: | New → In Progress |
> 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/CUPSDriverl essPrinting
Struggling with HPLIP is not my idea of fun.
Cheers,
Brian.