CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Einrichten des Druckers und des Drucksystems, Scannerkonfiguration und Software zum Scannen und Faxen.
NAB
Beiträge: 5501
Registriert: 06.03.2011 16:02:23
Lizenz eigener Beiträge: MIT Lizenz

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von NAB » 17.03.2018 17:20:31

Ich würd zumindest das komplette /etc/ Verzeichnis sichern. Ob du virtuelle Maschinen/Mails/Sonstwas unter /var/ zu liegen hast, dürftest du wohl wissen.

Bei einer Stretch-Neuinstallation wirst du mit den neuen unpredictable network names zu kämpfen haben. Oder auch nicht, wenn der Networkmananger dich per DHCP online macht.
Never change a broken system. It could be worse afterwards.

"No computer system can be absolutely secure." Intel Document Number: 336983-001

vdvogt
Beiträge: 397
Registriert: 22.12.2012 14:55:17
Lizenz eigener Beiträge: GNU Free Documentation License

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von vdvogt » 17.03.2018 17:26:42

Hallo NAB,
wieso das /etc-Verzeichnis sichern?
Kann da nicht was drin sein, das mir evtl. nach der Neuinstallation wieder Probleme verursacht?

Die Sachen aus /opt habe ich ins Homeverzeichnis kopiert und kopiere sie nach der Neuinstallation zurueck ins /opt.

Allerdings habe ich die config von apt-cacher ng nicht gefunden. Die muesste ich unbedingt sichern.

Gruesse
Veit

NAB
Beiträge: 5501
Registriert: 06.03.2011 16:02:23
Lizenz eigener Beiträge: MIT Lizenz

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von NAB » 17.03.2018 18:36:04

vdvogt hat geschrieben: ↑ zum Beitrag ↑
17.03.2018 17:26:42
wieso das /etc-Verzeichnis sichern?
Kann da nicht was drin sein, das mir evtl. nach der Neuinstallation wieder Probleme verursacht?
Ja, sicherlich kann es das. Ich sag ja nicht, dass du das gesamte /etc Verzeichnis nachher blind zurückspielen solltest. Aber wenn da noch irgendwas drin steckt, was du vor vier Jahren mal angepasst und dann vergessen hast, dann kannst du wenigstens nachgucken, was das gewesen sein könnte.
Never change a broken system. It could be worse afterwards.

"No computer system can be absolutely secure." Intel Document Number: 336983-001

vdvogt
Beiträge: 397
Registriert: 22.12.2012 14:55:17
Lizenz eigener Beiträge: GNU Free Documentation License

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von vdvogt » 17.03.2018 18:40:37

Hallo NAB,
ja, OK, Du hast Recht!

Gruesse
Veit

vdvogt
Beiträge: 397
Registriert: 22.12.2012 14:55:17
Lizenz eigener Beiträge: GNU Free Documentation License

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von vdvogt » 20.03.2018 18:17:55

Hallo,
ich wollte mich ja nach erfolgreicher Neuinstallation wieder melden.

ER DRUCKT!!!

Nachdem ich gestern mit der Installation begonnen hatte, der Installer aber mehrere Stunden gebraucht hat, um das RAID zu Nullen, habe ich ihn ueber Nacht laufen lassen und heute dann die Installation zu Ende gefuehrt.

Als Erstes habe ich nachgeschaut, ob cups und hplip installiert sind. Sind sie und auch die hplip.conf existiert in /etc/hp

Dann habe ich im Browser localhost:631 geoeffnet und den Drucker eingerichtet und eine Testseite ausgedruckt. Jetzt druckt er wieder!!!

Allerdings verwundert mich dies hier immer noch:

Code: Alles auswählen

root@PX6-330:~# hp-testpage
warning: hp-testpage should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.16.11)
Testpage Print Utility ver. 6.0

Copyright (c) 2001-15 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.

error: No device found that support this feature.
error: No installed printers found (or) Invalid printer device selected
root@PX6-330:~# exit
Abgemeldet
vdvogt@PX6-330:~$ hp-testpage

HP Linux Imaging and Printing System (ver. 3.16.11)
Testpage Print Utility ver. 6.0

Copyright (c) 2001-15 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.

error: No device found that support this feature.
error: No installed printers found (or) Invalid printer device selected
vdvogt@PX6-330:~$ hpcheck
bash: hpcheck: Kommando nicht gefunden.
Warum das bei mir nicht funktioniert ist mir schleierhaft!
Aber hauptsache ist: Er druckt!

Viele Gruesse
und nochmals vielen Dank fuer eure Hilfe!
Veit

NAB
Beiträge: 5501
Registriert: 06.03.2011 16:02:23
Lizenz eigener Beiträge: MIT Lizenz

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von NAB » 20.03.2018 18:37:43

Wenn du dir mal

Code: Alles auswählen

man hp-testpage
anguckst, dann sieht mir das so aus, als ob du einen Drucker angeben musst. Zumindest beschwert er sich bei dir, dass er keinen Drucker findet, also muss man ihm wohl zeigen, wo er sich versteckt hat.

Der zweite Befehl heißt hp-check (mit Bindestrich)
Never change a broken system. It could be worse afterwards.

"No computer system can be absolutely secure." Intel Document Number: 336983-001

vdvogt
Beiträge: 397
Registriert: 22.12.2012 14:55:17
Lizenz eigener Beiträge: GNU Free Documentation License

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von vdvogt » 20.03.2018 18:48:11

Hallo NAB,

hp-check gibt bei mir Folgendes aus:

Code: Alles auswählen

hp-check
Saving output in log file: /home/vdvogt/hp-check.log

HP Linux Imaging and Printing System (ver. 3.16.11)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

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

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

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

warning: 2-9.4 version is not supported. Using 2-8.6 versions dependencies to verify and install...

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

 Kernel: 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) GNU/Linux
 Host: PX6-330
 Proc: 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) GNU/Linux
 Distribution: 2 9.4
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.16.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 2 distro  9.4 version 

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

[hplip]
version=3.16.11

[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=yes
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=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.11
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


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 = 03/20/18 17:42:26
version = 3.16.11


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

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

 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 error: dbus          DBus - Message bus system                                    REQUIRED        -               1.10.26         MISSING    'DBUS may not be installed or not running'
 error: avahi-utils   avahi-utils                                                  OPTIONAL        -               -               MISSING    'avahi-utils needs to be installed'
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 network              network -wget                                                OPTIONAL        -               1.18            OK         -
 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.20            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.25          OK         -

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

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

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

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

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

 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.0           OK         -
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.5.3           MISSING    'python3-devel needs to be installed'
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.3.0           OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel 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'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.4           OK         -
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.5.3           OK         -
 error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.24'         MISSING    'libpthread needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.0           MISSING    'libcrypto needs to be installed'
 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg 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'

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

 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
 error: gcc           gcc - GNU Project C and C++ Compiler                         REQUIRED        -               -               MISSING    'gcc needs to be installed'
 error: make          make - GNU make utility to maintain groups of programs       REQUIRED        3.0             -               MISSING    'make needs to be installed'

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

device `genesys:libusb:001:003' is a Canon LiDE 210 flatbed scanner


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

No devices found.

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

 
Hewlett-Packard_HP_LaserJet_500_color_M551
------------------------------------------
Type: Unknown
Device URI: dnssd://HP%20LaserJet%20500%20color%20M551%20%5B9D43E7%5D._ipp._tcp.local/?uuid=76a0337b-87ed-4b5e-90a9-e2d23eaec0e0
PPD: /etc/cups/ppd/Hewlett-Packard_HP_LaserJet_500_color_M551.ppd
warning: Failed to read /etc/cups/ppd/Hewlett-Packard_HP_LaserJet_500_color_M551.ppd ppd file
PPD Description: 
Printer status: Drucker Hewlett-Packard_HP_LaserJet_500_color_M551 ist im Leerlauf.  Aktiviert seit Di 20 Mär 2018 17:20:23 UTC
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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

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

Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'cups' package is missing or 'cups' service is not running.
error: 'libcups2' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libc6' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'libjpeg62-turbo-dev' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'g++' package is missing/incompatible 
error: 'make' package is missing/incompatible 

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

Total Errors: 18
Total Warnings: 1


Done.

Da schein noch einiges zu fehlen, bis hp-check zufrieden ist.
Soll/muss ich das noch nachholen?
Er druckt doch!

Gruesse
Veit

NAB
Beiträge: 5501
Registriert: 06.03.2011 16:02:23
Lizenz eigener Beiträge: MIT Lizenz

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von NAB » 20.03.2018 19:00:05

Ich hab keine Ahnung von HP-Druckern, hplip und hp-check, aber das sieht mir so aus, als ob er dir viele Abhängigkeiten listet, die du nur brauchst, wenn du hplip selber kompilieren willst.

Schau mal, was
hp-check --run
sagt.

Und im Zweifelsfall:
Er druckt doch!
Wat willste mehr?
Never change a broken system. It could be worse afterwards.

"No computer system can be absolutely secure." Intel Document Number: 336983-001

vdvogt
Beiträge: 397
Registriert: 22.12.2012 14:55:17
Lizenz eigener Beiträge: GNU Free Documentation License

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von vdvogt » 20.03.2018 19:07:57

Hallo NAB,
die ist die Ausgabe von hp-check --run:

Code: Alles auswählen

Saving output in log file: /home/vdvogt/hp-check.log

HP Linux Imaging and Printing System (ver. 3.16.11)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

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

Check types:                                                                                                                                                                                                                          
a. EXTERNALDEP - External Dependencies                                                                                                                                                                                                
b. GENERALDEP - General Dependencies (required both at compile and run time)                                                                                                                                                          
c. COMPILEDEP - Compile time Dependencies                                                                                                                                                                                             
d. [All are run-time checks]                                                                                                                                                                                                          
PYEXT SCANCONF QUEUES PERMISSION                                                                                                                                                                                                      
                                                                                                                                                                                                                                      
Status Types:                                                                                                                                                                                                                         
    OK                                                                                                                                                                                                                                
    MISSING       - Missing Dependency or Permission or Plug-in                                                                                                                                                                       
    INCOMPAT      - Incompatible dependency-version or Plugin-version                                                                                                                                                                 
                                                                                                                                                                                                                                      
warning: 2-9.4 version is not supported. Using 2-8.6 versions dependencies to verify and install...                                                                                                                                   
                                                                                                                                                                                                                                      
---------------                                                                                                                                                                                                                       
| SYSTEM INFO |                                                                                                                                                                                                                       
---------------                                                                                                                                                                                                                       
                                                                                                                                                                                                                                      
 Kernel: 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) GNU/Linux                                                                                                                                                           
 Host: PX6-330                                                                                                                                                                                                                        
 Proc: 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) GNU/Linux                                                                                                                                                             
 Distribution: 2 9.4                                                                                                                                                                                                                  
 Bitness: 64 bit                                                                                                                                                                                                                      
                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                      
-----------------------                                                                                                                                                                                                               
| HPLIP CONFIGURATION |                                                                                                                                                                                                               
-----------------------                                                                                                                                                                                                               
                                                                                                                                                                                                                                      
HPLIP-Version: HPLIP 3.16.11                                                                                                                                                                                                          
HPLIP-Home: /usr/share/hplip                                                                                                                                                                                                          
warning: HPLIP-Installation: Auto installation is not supported for 2 distro  9.4 version                                                                                                                                             
                                                                                                                                                                                                                                      
Current contents of '/etc/hp/hplip.conf' file:                                                                                                                                                                                        
# hplip.conf.  Generated from hplip.conf.in by configure.                                                                                                                                                                             
                                                                                                                                                                                                                                      
[hplip]                                                                                                                                                                                                                               
version=3.16.11                                                                                                                                                                                                                       
                                                                                                                                                                                                                                      
[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=yes
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=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.11
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


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 = 03/20/18 18:03:46
version = 3.16.11


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

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

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

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

 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.3.0           OK         -
 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.0           MISSING    'libcrypto needs to be installed'
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.0           OK         -
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.5.3           OK         -
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.4           OK         -
 error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.24'         MISSING    'libpthread needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.5.3           MISSING    'python3-devel needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel 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: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'

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

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

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

 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
 error: make          make - GNU make utility to maintain groups of programs       REQUIRED        3.0             -               MISSING    'make needs to be installed'
 error: gcc           gcc - GNU Project C and C++ Compiler                         REQUIRED        -               -               MISSING    'gcc needs to be installed'

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

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

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

device `genesys:libusb:001:003' is a Canon LiDE 210 flatbed scanner


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

No devices found.

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

 
Hewlett-Packard_HP_LaserJet_500_color_M551
------------------------------------------
Type: Unknown
Device URI: dnssd://HP%20LaserJet%20500%20color%20M551%20%5B9D43E7%5D._ipp._tcp.local/?uuid=76a0337b-87ed-4b5e-90a9-e2d23eaec0e0
PPD: /etc/cups/ppd/Hewlett-Packard_HP_LaserJet_500_color_M551.ppd
warning: Failed to read /etc/cups/ppd/Hewlett-Packard_HP_LaserJet_500_color_M551.ppd ppd file
PPD Description: 
Printer status: Drucker Hewlett-Packard_HP_LaserJet_500_color_M551 ist im Leerlauf.  Aktiviert seit Di 20 Mär 2018 18:01:58 UTC
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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

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

Missing Required Dependencies
-----------------------------
error: 'libjpeg62-turbo-dev' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'libc6' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'cups' package is missing or 'cups' service is not running.
error: 'libcups2' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'make' package is missing/incompatible 
error: 'g++' package is missing/incompatible 

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

Total Errors: 18
Total Warnings: 1


Done.

Gruesse
Veit

NAB
Beiträge: 5501
Registriert: 06.03.2011 16:02:23
Lizenz eigener Beiträge: MIT Lizenz

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von NAB » 20.03.2018 19:23:24

Also für mich sieht das immer noch sinnlos aus, was hp-check da erzählt. Ich wüsste nicht, wofür du die ganzen -dev Pakete brauchen solltest, oder "make" oder "g++". Vielleicht kann sich wer anders da einen Reim drauf machen.

Solange alles läuft, würd ich da nicht mehr dran rütteln.
Never change a broken system. It could be worse afterwards.

"No computer system can be absolutely secure." Intel Document Number: 336983-001

geier22

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von geier22 » 20.03.2018 22:15:56

vdvogt hat geschrieben: ↑ zum Beitrag ↑
20.03.2018 18:17:55
Allerdings verwundert mich dies hier immer noch:

Code: Alles auswählen

root@PX6-330:~# hp-testpage
warning: hp-testpage should not be run as root/superuser.

...
...
error: No device found that support this feature.
error: No installed printers found (or) Invalid printer device selected
Warum das bei mir nicht funktioniert ist mir schleierhaft!
Aber hauptsache ist: Er druckt!

Viele Gruesse
und nochmals vielen Dank fuer eure Hilfe!
Veit
Ein Blick in

Code: Alles auswählen

 man hp-testpage
tut Wunder.
hp-testpage erwartet als "default" Debianhplip-gui, die du, wie ich dich kenne, nicht installiert hast.

Wenn die nicht da, ist wäre der zweite Weg

Code: Alles auswählen

hp-testpage -i
Das sollte dann, ohne die GUI aufzurufen, mit folgenden Zeilen enden:

Code: Alles auswählen

Printing test page to printer HP_LaserJet_Pro_MFP_M125nw...
Test page has been sent to printer.

note: If an error occured, or the test page failed to print, refer to the HPLIP website
note: at: http://hplip.sourceforge.net for troubleshooting and support.
Done.
hans@sparkyxfce:~$ 
Das ergibt sich auch aus dem Code von /usr/share/hplip/testpage.py ich kann zwar die Syntax nicht , kann aber der Logik darin zumindest ungefähr folgen.
Alternativ kann man eine Testseite natürlich auch über Cups ausdrucken.

Ansonsten kann ich mich da nur NAB anschließen. Wenn alles Funktioniert - Lass es wie es ist. hp- check prüft nicht nur die Pakete, die speziell
für dich nötig sind, sondern generelle Abhängig und Möglichkeiten , wofür eventuell *.dev Pakete notwendig sind.
Irgendwo stand z.B. dass Debianwget fehlt ---> wird spätestens dann zum Problem wenn HP-GUI nach einem Update mal wieder meckert, das irgend mysteriöses Plugin fehlt, das es gerne herunterladen möchte (Bei mir Standard.- Meckerei an die ich mich inzwischen gewöhnt habe)

vdvogt
Beiträge: 397
Registriert: 22.12.2012 14:55:17
Lizenz eigener Beiträge: GNU Free Documentation License

Re: CUPS - "Backend /usr/lib/cups/backend/dnssd does not exist!"

Beitrag von vdvogt » 21.03.2018 00:00:25

Hallo geier22,
danke fuer deinen Hinweis.

Dann lass ich erst mal alles so wie es ist.

Viele Gruesse
Veit

Antworten