Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 13/07/2026, à 21:46

hector

hp office jet 6950

Bonsoir,
Je n'arrive pas à faire fonctionner mon imprimante hp office jet 6950 avec mon ubuntu 26.04. Merci de votre aide !

cat /etc/lsb-release && uname -ir && groups && lsusb
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=26.04
DISTRIB_CODENAME=resolute
DISTRIB_DESCRIPTION="Ubuntu 26.04 LTS"
7.0.0-27-generic inconnu
christophe adm cdrom sudo dip plugdev users lpadmin
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
Bus 001 Device 004: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2/50 Kyson
dpkg -l | grep hplip
ii  hplip                                      3.24.4+dfsg0-0ubuntu8.1                    amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                 3.24.4+dfsg0-0ubuntu8.1                    all          HP Linux Printing and Imaging - data files
hp-check
Saving output in log file: /home/christophe/hp-check.log

HP Linux Imaging and Printing System (ver. 3.24.4)
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: 21:45:16.690: Failed to load module "canberra-gtk-module"
warning: ubuntu-26.04 version is not supported. Using ubuntu-23.10 versions dependencies to verify and install...

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

 Kernel: 7.0.0-27-generic #27-Ubuntu SMP PREEMPT_DYNAMIC Thu Jun 18 19:13:49 UTC 2026 GNU/Linux
 Host: moufflette
 Proc: 7.0.0-27-generic #27-Ubuntu SMP PREEMPT_DYNAMIC Thu Jun 18 19:13:49 UTC 2026 GNU/Linux
 Distribution: ubuntu 26.04
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.24.4
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  26.04 version 

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

[hplip]
version=3.24.4

[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.24.4
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/26 21:45:17
version = 3.24.4


 <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            10.06.0         OK         -
Gtk-Message: 21:45:18.171: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:45:18.198: 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.2.1           OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.16.2          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               -               OK         -
 network              network -wget                                                OPTIONAL        -               1.25.0          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.8             OK         -

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

 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               -               OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.43'         OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               -               OK         -
 error: libavahi-dev  libavahi-dev                                                 REQUIRED        -               -               MISSING    'libavahi-dev needs to be installed'
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.9.4           OK         -
 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               3.5.5           OK         -
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.14.4          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.4.0           OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.7.4           OK         -
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.14.4          OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               12.1.1          OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             4.4.10          OK         -

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

 libtool              libtool - Library building support services                  REQUIRED        -               2.5.4           OK         -
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               15.2.0          OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.4.1           OK         -

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

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

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

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

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

 

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

No devices found.

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

 


Type: Unknown
Device URI: dnssd://HP%20OfficeJet%206950%20%5BD25F87%5D._ipp._tcp.local/?uuid=f98f217a-ebf5-f26a-c038-b6072692a1f6



Type: Unknown
Device URI: dnssd://HP%20OfficeJet%206950%20%5BD25F87%5D._ipp._tcp.local/?uuid=f98f217a-ebf5-f26a-c038-b6072692a1f6


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

 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libusb-0.1-4' package is missing/incompatible 
error: 'libavahi-client-dev' package is missing/incompatible 
error: 'libavahi-core-dev' package is missing/incompatible 
error: 'libavahi-common-dev' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
None


Total Errors: 5
Total Warnings: 0


Done.
dpkg -l | grep cups
ii  bluez-cups                                 5.85-4                                     amd64        Bluetooth printer driver for CUPS
ii  cups                                       2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed                               2.1.1-0ubuntu3                             amd64        OpenPrinting cups-browsed
ii  cups-bsd                                   2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client                                2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                                2.4.16-1ubuntu1.3                          all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers                          2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon                                2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters                               2.0.1-0ubuntu4                             amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers                  2.0.1-0ubuntu4                             amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils                             2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
ii  cups-pk-helper                             0.2.6-2.1build1                            amd64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                                  2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common                         2.4.16-1ubuntu1.3                          all          Common UNIX Printing System(tm) - server common files
ii  libcups2-dev:amd64                         2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - Development files CUPS library
ii  libcups2t64:amd64                          2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - Core library
ii  libcupsfilters-dev:amd64                   2.1.1-0ubuntu5                             amd64        OpenPrinting libcupsfilters - Development files for the library
ii  libcupsfilters2-common                     2.1.1-0ubuntu5                             all          OpenPrinting libcupsfilters - Auxiliary files
ii  libcupsfilters2t64:amd64                   2.1.1-0ubuntu5                             amd64        OpenPrinting libcupsfilters - Shared library
ii  libcupsimage2-dev:amd64                    2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - Development files CUPS image library
ii  libcupsimage2t64:amd64                     2.4.16-1ubuntu1.3                          amd64        Common UNIX Printing System(tm) - Raster image library
ii  printer-driver-hpcups                      3.24.4+dfsg0-0ubuntu8.1                    amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  python3-cups                               2.0.4-3build1                              amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                        1.5.18-4ubuntu2                            all          Python utility modules around the CUPS printing system
lpstat -t
scheduler is running
no system default destination
matériel pour OfficeJet-6950 : dnssd://HP%20OfficeJet%206950%20%5BD25F87%5D._ipp._tcp.local/?uuid=f98f217a-ebf5-f26a-c038-b6072692a1f6
matériel pour OfficeJet-6950-2 : dnssd://HP%20OfficeJet%206950%20%5BD25F87%5D._ipp._tcp.local/?uuid=f98f217a-ebf5-f26a-c038-b6072692a1f6
OfficeJet-6950 accepte des requêtes depuis lun. 13 juil. 2026 19:23:58
OfficeJet-6950-2 accepte des requêtes depuis lun. 13 juil. 2026 19:52:46
printer OfficeJet-6950 is idle.  enabled since lun. 13 juil. 2026 19:23:58
	cfFilterGhostscript: Rendering completed
printer OfficeJet-6950-2 is idle.  enabled since lun. 13 juil. 2026 19:52:46
	cfFilterGhostscript: Rendering completed
/usr/sbin/lpinfo -v
network http
network ipps
network beh
direct hp
serial serial:/dev/ttyS0?baud=115200
network ipp
network https
network socket
network lpd
direct hpfax
network dnssd://HP%20OfficeJet%206950%20%5BD25F87%5D._ipp._tcp.local/?uuid=f98f217a-ebf5-f26a-c038-b6072692a1f6
network socket://192.168.1.82:9100
network ipps://HP%20OfficeJet%206950%20%5BD25F87%5D._ipps._tcp.local/
sudo grep -v "Bad driver information file" /var/log/cups/error_log
W [13/Jul/2026:00:21:40 +0200] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103
E [13/Jul/2026:19:23:58 +0200] [Job 7] Impossible d’annuler la tâche d\'impression.
E [13/Jul/2026:19:26:29 +0200] [CGI] cups-brf must be called as root
E [13/Jul/2026:19:26:29 +0200] [cups-deviced] PID 190866 (cups-brf) stopped with status 1!
E [13/Jul/2026:19:52:45 +0200] [Job 9] Impossible d’annuler la tâche d\'impression.
E [13/Jul/2026:21:48:02 +0200] [CGI] cups-brf must be called as root
E [13/Jul/2026:21:48:02 +0200] [cups-deviced] PID 218492 (cups-brf) stopped with status 1!
dpkg -l | grep -v ^ii
+-- Desired=Unknown/Install/Remove/Purge/Hold
|+- Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
||+ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||| Nom                                        Version                                    Architecture Description
+++-==========================================-==========================================-============-================================================================================
rc  gnome-shell-extension-desktop-icons-ng     46+really47.0.9-1ubuntu5                   all          desktop icon support for GNOME Shell
rc  imagemagick-6-common                       8:6.9.12.98+dfsg1-5.2build2                all          image manipulation programs -- infrastructure
rc  keyboxd                                    2.4.4-2ubuntu17.4                          amd64        GNU privacy guard - public key material service
rc  libnvidia-compute-550:amd64                550.163.01-0ubuntu0.24.04.2                amd64        NVIDIA libcompute package
rc  libpython3.12-minimal:amd64                3.12.3-1ubuntu0.13                         amd64        Minimal subset of the Python language (version 3.12)
rc  linux-image-6.17.0-35-generic              6.17.0-35.35~24.04.1                       amd64        Signed kernel image generic
rc  linux-modules-6.17.0-35-generic            6.17.0-35.35~24.04.1                       amd64        Linux kernel extra modules for version 6.17.0
rc  linux-modules-extra-6.17.0-35-generic      6.17.0-35.35~24.04.1                       amd64        Linux kernel extra modules for version 6.17.0
rc  linux-modules-nvidia-580-6.17.0-35-generic 6.17.0-35.35~24.04.1                       amd64        Linux kernel nvidia modules for version 6.17.0-35
rc  linux-objects-nvidia-580-6.17.0-35-generic 6.17.0-35.35~24.04.1                       amd64        Linux kernel nvidia modules for version 6.17.0-35 (objects)

Dernière modification par hector (Le 13/07/2026, à 21:50)

Hors ligne

#2 Le 13/07/2026, à 22:12

lann

Re : hp office jet 6950

Tu as quelques erreurs de dépendances non installées :

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libusb-0.1-4' package is missing/incompatible 
error: 'libavahi-client-dev' package is missing/incompatible 
error: 'libavahi-core-dev' package is missing/incompatible 
error: 'libavahi-common-dev' package is missing/incompatible 

Installe les et réessaye


<Modéré>

Hors ligne

#3 Le 13/07/2026, à 22:23

hector

Re : hp office jet 6950

Merci pour ta réponse : j'avais essayé, les paquets n'esxistent pas où sont déjà installés (peut-être pas la bonne version ?)
Par exemple :

sudo apt install libcups2 libusb-1.0.0-dev libavahi-client-dev libavahi-core-dev libavahi-common-dev
Note : sélection de « libcups2t64 » au lieu de « libcups2 »
Erreur : Impossible de trouver de paquet correspondant à l'expression rationnelle « libusb-1.0.0-dev »

màj : j'ai pu installer libusb-1.0.0-dev

Dernière modification par hector (Le 13/07/2026, à 22:34)

Hors ligne

#4 Le 14/07/2026, à 07:54

O_20_100_O

Re : hp office jet 6950

Bonjour,
La notice de cette imprimante précise qu'elle gère le mode "airprint".
Le plus simple serait de l'installer en réseau,sans driver spécifique et sans HPLIP, surtout si elle est déjà connectée au wifi local.

Maintenant, si la mise à niveau vers la version 26.04 d'Ubuntu à rendu le système boiteux, il va falloir réparer. Sur une 26.04 fraîchement installée ça passerait sans souci.

Hors ligne

#5 Le 14/07/2026, à 09:28

lann

Re : hp office jet 6950

C'est le paquet libusb-1.0-0-dev
pas libusb-1.0.0-dev (le tiret entre les 2 zéros pas le point)


<Modéré>

Hors ligne