#1 Le 08/10/2020, à 14:16
- Ben2Pau
[résolu] Problème d'installation Impr./scanner HP2720
Bonjour à tous,
je viens d'acquérir une HP Deskjet 2720, je n'arrive pas à l'installer
j'ai fouillé sur le forum des sujets similaires, cherché sur la documentation comment installer HPLIP (ce modèle d'imprimante nécessite hplip-3.20.5) en ligne de commandes ou avec l'interface graphique, suivit les liens des sujets similaires,... ma petite logique me fait dire qu'il me manque pyqt5 mais les messages de mise en garde quant à l'installation de pyqt5 me font baisser les armes, je m'en remets à vous
je suis le tuto pour vous fournir les infos pertinantes, je vous explique ensuite ce que j'ai fait, et les problèmes que je rencontre:
ma configuration:
benoit@dell2ben:~$ cat /etc/lsb-release && uname -i && groups && lsusb
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
x86_64
benoit adm cdrom sudo dip plugdev lpadmin sambashare
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 27c6:530c Shenzhen Goodix Technology Co.,Ltd. Fingerprint Reader
Bus 001 Device 004: ID 0c45:671f Microdia Integrated_Webcam_HD
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 03f0:1853 HP, Inc DeskJet 2700 series
Bus 001 Device 006: ID 8087:0aaa Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dpkg -l | grep hplip:
benoit@dell2ben:~$ dpkg -l | grep hplip
ii hplip 3.20.3+dfsg0-2 amd64 HP Linux Printing and Imaging System (HPLIP)
ii hplip-data 3.20.3+dfsg0-2 all HP Linux Printing and Imaging - data files
rc hplip-gui 3.20.3+dfsg0-2 all HP Linux Printing and Imaging - GUI utilities (Qt-based)
hp-check
benoit@dell2ben:~$ hp-check
Saving output in log file: /home/benoit/hp-check.log
HP Linux Imaging and Printing System (ver. 3.20.3)
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
|Gtk-Message: 14:26:20.777: Failed to load module "canberra-gtk-module"
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 GNU/Linux
Host: dell2ben
Proc: 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 GNU/Linux
Distribution: ubuntu 20.04
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 ubuntu distro 20.04 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 = 10/08/20 14:26: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 -
Gtk-Message: 14:26:22.290: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:26:22.316: Failed to load module "canberra-gtk-module"
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.5 OK -
error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
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.5 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 |
------------------------------
device `escl:http://192.168.1.66:8080' is a ESCL HP ENVY 4500 series [8C17C0] flatbed scanner
device `hpaio:/net/envy_4500_series?ip=192.168.1.66&queue=false' is a Hewlett-Packard envy_4500_series all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Type: Unknown
Device URI: implicitclass://HP_ENVY_4500_series_8C17C0_/
--------------
| PERMISSION |
--------------
error: Unsupported model: DeskJet_2700_series
-----------
| SUMMARY |
-----------
Missing Required Dependencies
-----------------------------
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-notify2' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
Total Errors: 4
Total Warnings: 0
Done.
dpkg -l | grep cups
benoit@dell2ben:~$ dpkg -l | grep cups
ii bluez-cups 5.53-0ubuntu3 amd64 Bluetooth printer driver for CUPS
ii cups 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - PPD/driver support, web interface
ii cups-browsed 1.27.4-1 amd64 OpenPrinting CUPS Filters - cups-browsed
ii cups-bsd 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - BSD commands
ii cups-client 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - client programs (SysV)
ii cups-common 2.3.1-9ubuntu1.1 all Common UNIX Printing System(tm) - common files
ii cups-core-drivers 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - driverless printing
ii cups-daemon 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - daemon
ii cups-filters 1.27.4-1 amd64 OpenPrinting CUPS Filters - Main Package
ii cups-filters-core-drivers 1.27.4-1 amd64 OpenPrinting CUPS Filters - Driverless printing
ii cups-ipp-utils 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - IPP developer/admin utilities
ii cups-pk-helper 0.2.6-1ubuntu3 amd64 PolicyKit helper to configure cups with fine-grained privileges
ii cups-ppdc 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - PPD manipulation utilities
ii cups-server-common 2.3.1-9ubuntu1.1 all Common UNIX Printing System(tm) - server common files
ii libcups2:amd64 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - Core library
ii libcups2-dev:amd64 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - Development files CUPS library
ii libcupsfilters-dev:amd64 1.27.4-1 amd64 OpenPrinting CUPS Filters - Development files for the library
ii libcupsfilters1:amd64 1.27.4-1 amd64 OpenPrinting CUPS Filters - Shared library
ii libcupsimage2:amd64 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - Raster image library
ii libcupsimage2-dev:amd64 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - Development files CUPS image library
ii printer-driver-hpcups 3.20.3+dfsg0-2 amd64 HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii python3-cups 1.9.73-3build1 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.12-0ubuntu1 all Python utility modules around the CUPS printing system
lpstat -t
benoit@dell2ben:~$ lpstat -t
scheduler is running
no system default destination
matériel pour HP_ENVY_4500_series_8C17C0_ : implicitclass://HP_ENVY_4500_series_8C17C0_/
HP_ENVY_4500_series_8C17C0_ accepte des requêtes depuis jeu. 08 oct. 2020 13:52:33
printer HP_ENVY_4500_series_8C17C0_ is idle. enabled since jeu. 08 oct. 2020 13:52:33
/usr/sbin/lpinfo -v
benoit@dell2ben:~$ /usr/sbin/lpinfo -v
network ipps
file cups-brf:/
network beh
direct hp
network ipp
direct usb://HP/DeskJet%202700%20series?serial=CN06G3A5H6&interface=1
network http
network socket
network lpd
network https
network smb
direct hpfax
network dnssd://HP%20ENVY%204500%20series%20%5B8C17C0%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-3464a98c17c0
network socket://192.168.1.66:9100
network ipp://HP%20ENVY%204500%20series%20%5B8C17C0%5D._ipp._tcp.local/
cat /var/log/cups/error_log
aucun retour
dpkg -l | grep -v ^ii
benoit@dell2ben:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-=====================================================-=====================================-============-======================================================================================================
rc brave-browser 1.7.98 amd64 The web browser from Brave
rc chromium-browser 80.0.3987.163-0ubuntu0.18.04.1 amd64 Chromium web browser, open-source version of Chrome
rc dell-recovery-bootloader 1.61~somerville3 all Bootloader configuration for Dell's factory process
rc dleyna-server 0.6.0-1build1 amd64 DBus service to interact with DLNA Digital Media Servers
rc dmraid 1.0.0.rc16-8ubuntu1 amd64 Device-Mapper Software RAID support tool
rc example-content 51 all Ubuntu example content
rc fonts-cantarell 0.111-2 all sans serif font family designed for on-screen readability
rc gnome-software 3.36.0-0ubuntu3 amd64 Software Center for GNOME
rc google-chrome-stable 66.0.3359.181-1 amd64 The web browser from Google
rc gsfonts 1:8.11+urwcyr1.0.7~pre44-4.4 all Fonts for the Ghostscript interpreter(s)
rc hplip-gui 3.20.3+dfsg0-2 all HP Linux Printing and Imaging - GUI utilities (Qt-based)
rc icedtea-netx 1.8-0ubuntu8 amd64 NetX - implementation of the Java Network Launching Protocol (JNLP)
rc icedtea-netx-common 1.8-0ubuntu8~18.04 all NetX - implementation of the Java Network Launching Protocol (JNLP)
rc ifupdown 0.8.35ubuntu1 amd64 high level tools to configure network interfaces
rc imagemagick 8:6.9.10.23+dfsg-2.1ubuntu11 amd64 image manipulation programs -- binaries
rc imagemagick-6-common 8:6.9.10.23+dfsg-2.1ubuntu11 all image manipulation programs -- infrastructure
rc javascript-common 11 all Base support for JavaScript library packages
rc kpartx-boot 0.7.4-2ubuntu3 all Provides kpartx during boot
rc kwayland-data 4:5.68.0-0ubuntu1 all Qt library wrapper for Wayland libraries - data files
rc kwayland-integration:amd64 4:5.18.4.1-0ubuntu1 amd64 kwayland runtime integration plugins
rc libjs-jquery-ui 1.12.1+dfsg-5 all JavaScript UI library for dynamic web applications
rc libkf5archive5:amd64 5.68.0-0ubuntu1 amd64 Qt 5 addon providing access to numerous types of archives
rc libkf5attica5:amd64 5.68.0-0ubuntu1 amd64 Qt library that implements the Open Collaboration Services API
rc libkf5auth-data 5.68.0-0ubuntu1 all Abstraction to system policy and authentication features
rc libkf5codecs-data 5.68.0-0ubuntu1 all collection of methods to manipulate strings
rc libkf5configwidgets-data 5.68.0-0ubuntu1 all Extra widgets for easier configuration support.
rc libkf5coreaddons-data 5.68.0-0ubuntu1 all KDE Frameworks 5 addons to QtCore - data files
rc libkf5crash5:amd64 5.68.0-0ubuntu1 amd64 Support for application crash analysis and bug report from apps
rc libkf5dbusaddons-data 5.68.0-0ubuntu1 all class library for qtdbus
rc libkf5globalaccel-data 5.68.0-0ubuntu1 all Configurable global shortcut support.
rc libkf5iconthemes-data 5.68.0-0ubuntu1 all Support for icon themes.
rc libkf5idletime5:amd64 5.68.0-0ubuntu1 amd64 library to provide information about idle time
rc libkf5notifications-data 5.68.0-0ubuntu1 all Framework for desktop notifications
rc libkf5service-data 5.68.0-0ubuntu1 all Advanced plugin and service introspection
rc libkf5wallet-data 5.68.0-0ubuntu2 all Secure and unified container for user passwords.
rc libkf5windowsystem-data 5.68.0-0ubuntu1 all Convenience access to certain properties and features of the window manager
rc libkf5xmlgui-data 5.68.0-0ubuntu2 all User configurable main windows.
rc libnvidia-compute-418:amd64 430.50-0ubuntu0.18.04.2 amd64 Transitional package for libnvidia-compute-430
rc libnvidia-compute-430:amd64 440.82+really.440.64-0ubuntu6 amd64 Transitional package for libnvidia-compute-440
rc libnvidia-compute-440:amd64 450.66-0ubuntu0.20.04.1 amd64 Transitional package for libnvidia-compute-450
rc libqjson0:amd64 0.8.1-3 amd64 Qt-based library that maps JSON data to QVariant objects
rc libqtcore4:amd64 4:4.8.7+dfsg-7ubuntu1 amd64 Qt 4 core module
rc libreoffice-avmedia-backend-gstreamer 1:6.4.2-0ubuntu3 amd64 transitional package for GStreamer backend for LibreOffice
rc libsensors4:amd64 1:3.4.0-4 amd64 library to read temperature/voltage/fan sensors
rc libsensors4:i386 1:3.4.0-4 i386 library to read temperature/voltage/fan sensors
rc light-themes 19.04-0ubuntu3 all Light Themes (Ambiance and Radiance)
rc lintian 2.62.0 all Debian package checker
rc linux-image-4.15.0-1079-oem 4.15.0-1079.89 amd64 Signed kernel image oem
rc linux-image-5.4.0-26-generic 5.4.0-26.30 amd64 Signed kernel image generic
rc linux-image-5.4.0-28-generic 5.4.0-28.32 amd64 Signed kernel image generic
rc linux-image-5.4.0-29-generic 5.4.0-29.33 amd64 Signed kernel image generic
rc linux-image-5.4.0-31-generic 5.4.0-31.35 amd64 Signed kernel image generic
rc linux-image-5.4.0-33-generic 5.4.0-33.37 amd64 Signed kernel image generic
rc linux-image-5.4.0-37-generic 5.4.0-37.41 amd64 Signed kernel image generic
rc linux-image-5.4.0-39-generic 5.4.0-39.43 amd64 Signed kernel image generic
rc linux-image-5.4.0-40-generic 5.4.0-40.44 amd64 Signed kernel image generic
rc linux-image-5.4.0-42-generic 5.4.0-42.46 amd64 Signed kernel image generic
rc linux-image-5.4.0-45-generic 5.4.0-45.49 amd64 Signed kernel image generic
rc linux-modules-4.15.0-1079-oem 4.15.0-1079.89 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-26-generic 5.4.0-26.30 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-28-generic 5.4.0-28.32 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-29-generic 5.4.0-29.33 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-31-generic 5.4.0-31.35 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-33-generic 5.4.0-33.37 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-37-generic 5.4.0-37.41 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-39-generic 5.4.0-39.43 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-40-generic 5.4.0-40.44 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-42-generic 5.4.0-42.46 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-5.4.0-45-generic 5.4.0-45.49 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-26-generic 5.4.0-26.30 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-28-generic 5.4.0-28.32 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-29-generic 5.4.0-29.33 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-31-generic 5.4.0-31.35 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-33-generic 5.4.0-33.37 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-37-generic 5.4.0-37.41 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-39-generic 5.4.0-39.43 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-40-generic 5.4.0-40.44 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-42-generic 5.4.0-42.46 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc linux-modules-extra-5.4.0-45-generic 5.4.0-45.49 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc locale-support-plugin 2.1~18.04timbuktu1 all Ubiquity plugin to conditionally install packages based on locale.
rc mpv 0.27.2-1ubuntu1 amd64 video player based on MPlayer/mplayer2
rc oem-config 18.04.14.1timbuktu2somerville1 all Perform end-user configuration after initial OEM installation
rc oem-config-gtk 18.04.14.1timbuktu2somerville1 all GTK+ frontend for end-user post-OEM-install configuration
rc oem-workaround-ubiquity-no-early-microcode 1.0~18.04timbuktu1 all Workaround package to disable early intel-microcode in initrd during installer (LP: #1772592)
rc openjdk-8-jre-headless:amd64 8u252-b09-1ubuntu1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless)
rc phonon4qt5:amd64 4:4.11.1-3build1 amd64 multimedia framework from KDE using Qt 5 - metapackage
rc pppconfig 2.3.24 all Text menu based utility for configuring ppp
rc pppoeconf 1.21ubuntu1 all configures PPPoE/ADSL connections
rc printer-driver-gutenprint 5.3.3-4 amd64 printer drivers for CUPS
rc python 2.7.15~rc1-1 amd64 interactive high-level object-oriented language (default version)
rc python-matplotlib-data 3.1.2-1ubuntu4 all Python based plotting system (data package)
rc python3.6-minimal 3.6.9-1~18.04ubuntu1 amd64 Minimal subset of the Python language (version 3.6)
rc smb4k 2.1.0-1 amd64 Samba (SMB) share advanced browser
rc thunderbird 1:68.10.0+build1-0ubuntu0.20.04.1 amd64 Email, RSS and newsgroup client with integrated spam filter
rc transmission-gtk 2.92-3ubuntu2 amd64 lightweight BitTorrent client (GTK+ interface)
rc ubuntu-system-service 0.7 all Dbus service to set various system-wide configurations
rc ureadahead 0.100.0-21 amd64 Read required files in advance
rc zeitgeist-core 1.0.2-3ubuntu2 amd64 event logging framework - engine
-je branche l'imprimante avec en USB: rien
-
hp-setup
, en USB, aucune imprimante n'est reconnue
-
sudo ufw disable
puis
hp-setup
en wireless: "HPLIP cannot detect printers in your network."
j'ai visiblement sur ma machine HPLIP-3.20.3 alors que mon imprimante nécessite au minimum HPLIP-3.20.5
je télécharge hplip-3.20.9.run
benoit@dell2ben:~/Téléchargements$ sh hplip-3.20.9.run
Creating directory hplip-3.20.9
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.9 Self Extracting Archive
...
HP Linux Imaging and Printing System (ver. 3.20.9)
HPLIP Installer ver. 5.1
...
Installer log saved in: hplip-install_Thu-08-Oct-2020_14:52:29.log
\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
/Gtk-Message: 14:52:31.111: Failed to load module "canberra-gtk-module"
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.
je lance l'installation en automatic...:
INTRODUCTION
------------
This installer will install HPLIP version 3.20.9 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 20.04.
Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
Initializing. Please wait...
ENTER USER PASSWORD
-------------------
Please enter the sudoer (benoit)'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
RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio
sudo apt-get remove libhpmud0 libsane-hpaio ( hp_libs_remove step 1)
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
pil scan OPTIONAL
reportlab fax OPTIONAL
pyqt5 gui_qt5 REQUIRED
python-notify gui_qt5 OPTIONAL
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y
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)
warning: Missing OPTIONAL dependency for option 'gui_qt5': python-notify (Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))
warning: This installer cannot install 'pil' for your distro/OS and/or version.
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)
warning: An error occurred running 'sudo apt-get update'
sudo apt-get update (Pre-depend step 3)
OK
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes gtk2-engines-pixbuf'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
puisqu'il a l'air de chercher à installer python-pyqt5 en vain, j'ai cherché à le recupérer, mais comme dit + haut, les mises en garde ont eu raison de ma foix
je vous remercie infiniment, j'espère avoir été le plus complet possible
Dernière modification par Ben2Pau (Le 09/10/2020, à 08:35)
Ubuntu 22.04.4 LTS - Dell G15 5520 - Intel® Core™ i5-12500H
Hors ligne
#2 Le 08/10/2020, à 16:56
- inbox
Re : [résolu] Problème d'installation Impr./scanner HP2720
Salut,
Les version téléchargée chez HP (xxx.run) ne sont utilisables qu'en mode commande, à cause du paquet manquant (supprimé des dépôts) python-pyqt5. Le paquet est obsolète. Il te faut aussi supprimer le paquet ippusbxd avant d'essayer l'installation de l'imprimante avec :
sudo apt purge ippusbxd
Ceci fait, après avoir redémarré, tu utilises les commandes indiqué dans ce sujet :
hp-setup -ir
hp-setup -ia
A+
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#3 Le 08/10/2020, à 18:35
- Ben2Pau
Re : [résolu] Problème d'installation Impr./scanner HP2720
merci à toi
je supprime ippusbxd,
je redémarre et:
benoit@dell2ben:~$ hp-setup -ir
HP Linux Imaging and Printing System (ver. 3.20.3)
Printer/Fax Setup Utility ver. 9.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.
----------------------------
| REMOVING PRINT/FAX QUEUE |
----------------------------
error: No device found that support this feature.
Removing 'None : None' Queue
error: Failed to delete None Print/Fax queue. Error : client-error-not-found
suivi de
hp-setup -ia
HP Linux Imaging and Printing System (ver. 3.20.3)
Printer/Fax Setup Utility ver. 9.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.
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ?
Using connection type: usb
error: No device selected/specified or that supports this functionality.
au démarrage, USB branché, une imprimante est bien reconnu "2700 series" mais le seul pilote que le systeme trouve ou offre est "2640 series"
je continue à chercher...
Dernière modification par Ben2Pau (Le 08/10/2020, à 19:36)
Ubuntu 22.04.4 LTS - Dell G15 5520 - Intel® Core™ i5-12500H
Hors ligne
#4 Le 08/10/2020, à 20:54
- inbox
Re : [résolu] Problème d'installation Impr./scanner HP2720
Il peut arriver qu'un pilote soit valable pour plusieurs imprimantes. Dans ce cas, je pense qu'il est possible de la renommer, pour qu'elle ait le nom de ton modèle. Il peut aussi arriver que, comme il n'y a pas le bon pilote, le système choisit le modèle le plus approchant.
La vraie question est : Est-ce que tu peux imprimer et scanner ?
[Edit : Correction des fautes !!]
Dernière modification par inbox (Le 08/10/2020, à 20:56)
Un problème résolu ? Indiquez le en modifiant le titre du sujet.
Hors ligne
#5 Le 08/10/2020, à 21:05
- grigouille
Re : [résolu] Problème d'installation Impr./scanner HP2720
Il te faut hplip 3.20.5. Si tu es patient, tu peux attendre Ubuntu 20.10.
Tu as essayé d'installer hplip 3.20.9 mais l'installation automatique échoue. Il faudrait essayer une installation "custom" pour ne pas installer la partie graphique. Par contre, peu maîtrise ce mode d'installation.
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#6 Le 09/10/2020, à 06:29
- Ben2Pau
Re : [résolu] Problème d'installation Impr./scanner HP2720
merci à chacun de votre retour,
@Gribouille: en attendant 20.10, Je vais me pencher sur l'installation de hplip-3.20.5 en mode pas à pas, et voir ce que j'arrive à en tirer.
@Inbox: je ne peux ni imprimer ni scanner, mais je n'ai pas essayé beaucoup de pilotes, je vais essayer d'en trouver un qui fasse l'affaire
je pars en week-end et ne vais pas pouvoir avancer avant quelques jours, je vous tiendrai informés à mon retour, merci encore
Ubuntu 22.04.4 LTS - Dell G15 5520 - Intel® Core™ i5-12500H
Hors ligne
#7 Le 09/10/2020, à 07:21
- grigouille
Re : [résolu] Problème d'installation Impr./scanner HP2720
ça a l'air faisable : il suffit de répondre "non" quand il te demande
Do you wish to enable 'Graphical User Interfaces (Qt4)' (y=yes*, n=no, q=quit) ? n
ça se tente
$ sh hplip-3.20.9.run
Creating directory hplip-3.20.9
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.9 Self Extracting Archive..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
HP Linux Imaging and Printing System (ver. 3.20.9)
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_Fri-09-Oct-2020_08:16:00.log
\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
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.9 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).
DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 16.04.
Is "Ubuntu 16.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
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 (Qt4)' (y=yes*, n=no, q=quit) ? n
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 USER PASSWORD
-------------------
Please enter the sudoer (grigouille)'s password:
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#8 Le 09/10/2020, à 07:45
- Ben2Pau
Re : [résolu] Problème d'installation Impr./scanner HP2720
oui, il est en train, j'ai quelques warnings, on verra...
RE-CHECKING DEPENDENCIES
------------------------
-Gtk-Message: 08:32:52.312: Failed to load module "canberra-gtk-module"
warning: An optional dependency 'pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))' is still missing.
warning: Some features may not function as expected.
RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python-pip (Scanjet-depend step 1)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo pip2 install --upgrade pip (Scanjet-depend step 2)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip2 install tesserocr (Scanjet-depend step 6)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes tesseract-ocr-all (Scanjet-depend step 7)...
Dernière modification par Ben2Pau (Le 09/10/2020, à 07:47)
Ubuntu 22.04.4 LTS - Dell G15 5520 - Intel® Core™ i5-12500H
Hors ligne
#9 Le 09/10/2020, à 08:33
- Ben2Pau
Re : [résolu] Problème d'installation Impr./scanner HP2720
et voilà !!!
j'ai donc lancé l'installation de hplip-3.20.5 en mode "custom"
Please choose the installation mode (a=automatic*, c=custom, q=quit) : c
refusé l'installation de qt5 (et du service fax aussi)
DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 20.04.
Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ?
DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)? : d
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) ? y
Do you wish to enable 'Graphical User Interfaces (Qt5)' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ? y
j'ai bien eu quelques warnings
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
pil scan OPTIONAL
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.
INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))
warning: This installer cannot install 'pil' for your distro/OS and/or version.
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)
warning: An error occurred running 'sudo apt-get update'
sudo apt-get update (Pre-depend step 3)
OK
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
-Gtk-Message: 09:10:45.705: Failed to load module "canberra-gtk-module"
HPLIP-3.20.5 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)? :i
Starting uninstallation...
HPLIP uninstallation is completed
RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK
RE-CHECKING DEPENDENCIES
------------------------
/Gtk-Message: 09:11:41.273: Failed to load module "canberra-gtk-module"
warning: An optional dependency 'pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))' is still missing.
warning: Some features may not function as expected.
RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python-pip (Scanjet-depend step 1)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo pip2 install --upgrade pip (Scanjet-depend step 2)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip2 install tesserocr (Scanjet-depend step 6)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes tesseract-ocr-all (Scanjet-depend step 7)
sudo apt-get install --assume-yes libzbar-dev (Scanjet-depend step 8)
sudo apt-get install --assume-yes python-zbar (Scanjet-depend step 9)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install opencv-python (Scanjet-depend step 10)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install PyPDF2 (Scanjet-depend step 11)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install imutils (Scanjet-depend step 12)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install pypdfocr (Scanjet-depend step 13)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install scikit-image (Scanjet-depend step 14)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install scipy (Scanjet-depend step 15)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
OK
READY TO BUILD AND INSTALL
--------------------------
Ready to perform build and install. Press <enter> to continue or 'q' to quit:
j'ai choisi le mode "interractive" pour l'installation (dans 1 1er temps, j'avais choisis le mode utilisant GUI, l'installation avait planté)
PRINTER SETUP
-------------
Would you like to setup a printer now (y=yes*, n=no, q=quit) ? y
Please make sure your printer is connected and powered on at this time.
Do you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) : i
Running 'hp-setup -i' command....
l'installation a réussi, j'ai bien eu un message d'erreur avant le lancement de la page de test,
warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?
Printing test page to printer DeskJet_2700...
mais je vois mon imprimante, avec les bons pilotes
je pars en week end la tete tranquille, hate de rentrer pour pofiner tout ça...
merci encore
Ubuntu 22.04.4 LTS - Dell G15 5520 - Intel® Core™ i5-12500H
Hors ligne
#10 Le 09/10/2020, à 09:08
- grigouille
Re : [résolu] Problème d'installation Impr./scanner HP2720
Merci pour le retour des commandes en tout cas. Cela pourra servir pour d'autres personnes.
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#11 Le 09/10/2020, à 13:04
- grigouille
Re : [résolu] Problème d'installation Impr./scanner HP2720
Le script essaie d'installer le paquet python-pip (pour avoir la commande pip2) mais ce paquet n'est pas dans la 20.04.
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#12 Le 13/12/2021, à 16:00
- totoflenimois
Re : [résolu] Problème d'installation Impr./scanner HP2720
bonjour a tous
quand je suis votre tuto j'oibtiens un erreur 5012 device communication
pourquoi ???
merci d'avance pour votre aide
Totoflenimois
Hors ligne
#13 Le 14/12/2021, à 09:58
- totoflenimois
Re : [résolu] Problème d'installation Impr./scanner HP2720
Ok merci a tous je suis arrivé a scanner !!!
Totoflenimois
Hors ligne