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

Einrichten des Druckers und des Drucksystems, Scannerkonfiguration und Software zum Scannen und Faxen.
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 » 28.02.2018 10:32:43

Hallo,
ich habe mir gerade mal die Release-Notes auf der HP-Seite durchgelesen.
Dort steht fuer Release 3.17.4:

Launchpad fixes:

1656348 - cups Filter Failed with HP Laserjet

Wahrscheinlich brauche ich wirklich die neuesete hplip-Version.

Ich versuch das jetzt mal.....

Melde mich dann wieder.

Gruesse
Veit

Benutzeravatar
MSfree
Beiträge: 10686
Registriert: 25.09.2007 19:59:30

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

Beitrag von MSfree » 28.02.2018 10:36:54

Nachdem deine Purgeversuche vermutlich daran gescheitert sind, daß du nicht alle hplip-Pakete gepurgt hast, würde ich erstmal alle purgen und neu installieren. Vermutlich taucht dann auch hplip.conf wieder auf.

Den Versuch mit der aktuellsten Version kannst du natürlich auch noch machen, aber auch erst, nachdem alle hplip-Pakete gepurged wurden.

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 » 28.02.2018 12:35:57

Hallo,
das purgen und reinstallieren aller hplip-Pakete hat leider auch nichts gebracht!

Dananch habe ich hplip-3.17.11.run 4 Mal laufen lassen!
Jedesmal mit anderen Fehlermeldungen:

1. Mal:

error: debian-9.3 version is not supported, so all dependencies may not be installed. However trying to install using debian-9.1 version packages.

POST-BUILD COMMANDS
-------------------
warning: CUPSEXT could not be loaded. Please check HPLIP installation.


2. Mal:

RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing.
error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.
error: Installation cannot continue without these dependencies.
error: Please manually install this dependency and re-run this installer.

Pakete in Debian nicht gefunden!
Installiert wurde pyqt4-dev-tools python-pyqt4

3.Mal:

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: Missing REQUIRED dependency: pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5)
warning: Missing REQUIRED dependency: pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))

Pakete in Debian nicht gefunden.
Installiert wurde python-pyqt5


RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing.
error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.
error: Installation cannot continue without these dependencies.
error: Please manually install this dependency and re-run this installer.

4. Mal:
wieder die gleichen Fehlermeldungen!

Wo kann ich die Pakete pyqt4-dbus, pyqt4, pyqt5-dbus und pyqt5 finden, damit das endlich mal richtig durchlaeuft?

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 » 28.02.2018 14:40:23

Also in Buster sind sie schon bei 3.17.10:
https://packages.debian.org/buster/hplip

Warum eine .run Datei von HP nicht funktioniert, müsstest du eigentlich HP fragen.
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 » 28.02.2018 16:02:40

dpklg gib für Buster das aus:

Code: Alles auswählen

dpkg -l *python-qt*
ii  python-qt4                   4.12.1+dfsg-2       amd64               Python bindings for Qt4
un  python-qt4-dbg               <keine>             <keine>             (keine Beschreibung vorhanden)
ii  python-qt4-dbus              4.12.1+dfsg-2       amd64               D-Bus Support for PyQt4
und

Code: Alles auswählen

dpkg -l *pyqt5*
ii  pyqt5-dev                    5.9.2+dfsg-1        all                 Development files for PyQt5
ii  python-pyqt5                 5.9.2+dfsg-1        amd64               Python 2 bindings for Qt5
un  python-pyqt5-dbg             <keine>             <keine>             (keine Beschreibung vorhanden)
ii  python3-dbus.mainloop.pyqt5  5.9.2+dfsg-1        amd64               D-Bus Qt main loop support for Python 3
ii  python3-pyqt5                5.9.2+dfsg-1        amd64               Python 3 bindings for Qt5
un  python3-pyqt5-dbg            <keine>             <keine>             (keine Beschreibung vorhanden)
da sollte doch was passen?

Hatte das Problem auch mal hab dann stur

Code: Alles auswählen

hp-check
laufen lassen und ihm sein "Futter" gegeben, jetzt ist Ruhe

Übrigens: Für solche Suchen finde Synaptic optimal: blitzschnell verschieden Kombinationen eines Suchbegriffes eingeben und angezeigt zu bekommen
Blank oder nicht - Bindestrich oder nicht - und schon werden Ergebnisse geliefert, :mrgreen:

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 » 01.03.2018 00:11:13

Hallo,
ist es denn wirklich ratsam buster-Pakete nach stretch zu installieren?
Ich hatte mir damit schon mal Schwierigkeiten eingehandelt.

Ausserdem gibt es Python-qt4 auch in stretch:
python-qt4 4.11.4+dfsg-2+b1 amd64 Python bindings for Qt4

Das Problem liegt aber daran, dass hplip ein Paket namens pyqt4 sucht und nicht findet.

Ich werde also doch mal an HP schreiben muessen, sonst wird mein Druckerproblem wohl nie geloeset.
(Hat jemand eine eMail-Adresse wohin ich schreiben koennte?)

Es sei denn jemand von euch weiss noch einen Rat.

Viele Gruesse
Veit

PS:
Evtl koennte ich das shell-Script aendern.
Aber das hplip-3.17.11.run ist eine Binaerdatei, die muesste ich erst mal decodieren. Das weiss ich aber nicht wie das geht.
Koennte mir dabei jemand helfen?
Vielleicht bekommen wir das Problem ja gemeinsam geloest?

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 » 01.03.2018 01:25:34

vdvogt hat geschrieben: ↑ zum Beitrag ↑
01.03.2018 00:11:13
ist es denn wirklich ratsam buster-Pakete nach stretch zu installieren?
Ich hatte mir damit schon mal Schwierigkeiten eingehandelt.
Das fragt jemand, der binäre Fremdpakete einer Firma, die Linux nicht unterstützt, in sein Linux installiert? Ernsthaft jetzt? ^^

Also ich bin seit hier:
viewtopic.php?f=31&t=168607#p1166455
ratlos. Das Paket libsane-hpaio enthält die Datei /etc/hp/hplip.conf - davon kannst du dich hier überzeugen:
https://packages.debian.org/stretch/amd ... o/filelist

Wenn nach einer Paketinstallation die Dateien aus dem Paket nicht auf der Platte sind, dann würde ich dir Recht geben, dass da etwas "oberfaul" ist. Statt der Sache nachzugehen reist du aber gleich weiter zum nächsten Installationsversuch, diesmal mit Fremdpaketen. Da komme ich dann nicht mehr hinterher ...
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 » 01.03.2018 05:46:58

Code: Alles auswählen

dpkg -L python-qt4
/.
/usr
/usr/lib
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/PyQt4
/usr/lib/python2.7/dist-packages/PyQt4/Qt.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtAssistant.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtCore.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtDBus.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtDeclarative.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtDesigner.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtGui.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtHelp.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtNetwork.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtScript.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtScriptTools.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtSvg.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtTest.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtXml.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/QtXmlPatterns.x86_64-linux-gnu.so
/usr/lib/python2.7/dist-packages/PyQt4/__init__.py
/usr/lib/python2.7/dist-packages/PyQt4/pyqtconfig.py
/usr/lib/python2.7/dist-packages/PyQt4/uic
/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler
/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/__init__.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/compiler.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/indenter.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/misc.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/proxy_metaclass.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/qobjectcreator.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/qtproxies.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/Loader
/usr/lib/python2.7/dist-packages/PyQt4/uic/Loader/__init__.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/Loader/loader.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/Loader/qobjectcreator.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/__init__.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/driver.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/exceptions.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/icon_cache.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/objcreator.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/port_v2
/usr/lib/python2.7/dist-packages/PyQt4/uic/port_v2/__init__.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/port_v2/as_string.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/port_v2/ascii_upper.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/port_v2/invoke.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/port_v2/load_plugin.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/port_v2/proxy_base.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/port_v2/string_io.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/properties.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/pyuic.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins
/usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/.noinit
/usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/phonon.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/qaxcontainer.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/qscintilla.py
/usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/qtdeclarative.py
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/qt4
/usr/lib/x86_64-linux-gnu/qt4/plugins
/usr/lib/x86_64-linux-gnu/qt4/plugins/designer
/usr/lib/x86_64-linux-gnu/qt4/plugins/designer/libpyqt4.so
/usr/share
/usr/share/doc
/usr/share/doc/python-qt4
/usr/share/doc/python-qt4/THANKS
/usr/share/doc/python-qt4/changelog.Debian.gz
/usr/share/doc/python-qt4/changelog.gz
/usr/share/doc/python-qt4/copyright
und im Besonderen:
/usr/lib/x86_64-linux-gnu/qt4/plugins/designer/libpyqt4.so
da es das Paket in Stable genauso gibt, vermute ich mal laienhaft das die Dateien ganz änhlich oder sogar gleich vorhanden sein würden, wenn man es denn installieren würde.

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 » 01.03.2018 14:12:41

Hallo geier22,
danke fuer Deine Liste,
wie ich sehe, ist pyqt4 ein Paket aus Python 2.7.

Bei mir ist Python 2.7 aber gar nicht installiert, sondern soweit ich sehen kann, nur Python3 und Python4.

Kann ich denn gefahrlos das aeltere Python 2, bzw. 2.7 installieren, ohne mein System durcheinanderzubringen?

Wenn ja, dann wuerde das Installationsscript zu hplib die gesuchten Pakete auch finden und die Installation koennte fehlerlos durchlaufen.

Gruesse
Veit

geier22

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

Beitrag von geier22 » 01.03.2018 15:29:31

vdvogt hat geschrieben: ↑ zum Beitrag ↑
01.03.2018 14:12:41
wie ich sehe, ist pyqt4 ein Paket aus Python 2.7.
Bei mir ist Python 2.7 aber gar nicht installiert, sondern soweit ich sehen kann, nur Python3 und Python4.
Kann ich denn gefahrlos das aeltere Python 2, bzw. 2.7 installieren, ohne mein System durcheinanderzubringen?
Ja, dann hast du eben 3 Versionen -- aber wo hast du denn Python4 her ?? Finde ich nicht bei Debian :?:
Wenn du unbedingt die hplip von developers.hp.com benutzen möchtest, würde ich dir empfehlen zuerst einmal diese Ausführungen zu studieren:
Dort wird auch nur die Version 3.17.9 angeboten
https://developers.hp.com/hp-linux-imag ... /downloads
Ausführungen zum Installer:
https://developers.hp.com/hp-linux-imag ... tall/index

Edit:
Kann mich noch dunkel erinnern, das das passende ppd-File bei mir nicht in /etc/cups/ppd/ vorhanden war. Musste da händisch aus /usr/share/ppd/hp-ppd/HP/ rein kopiert werden

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 » 01.03.2018 16:42:47

Hallo geier22,
sorry.
Ich habe python-...4 mit python4 verwechselt.
Ich habe python3 installiert.

Die richtige PPD fuer meinen Drucker ist in /etc/cups/ppd vorhanden.

Aber ich habe in der Doku, die du mir geschickt hast, gelesen, dass mein Drucker nur von Version 3.17.10 unterstuetzt wird.
Ich versuche die jetzt mal runterzuladen und zu installieren.
Allerdings finde ich die nirgends.
Alle Downloads bieten nur die aktuelle 3.17.11 an.

Aber wahrscheinlich bleibt aber das python-Problem bestehen, denn ich habe ja kein Python2.7.
Ein Versuch Python2.7 zu installieren endet mit den Fehlermeldungen, dass schon neuere Pakete installiert sind.

Kann mir jemand einen klugen Rat geben, was ich machen soll?

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 » 01.03.2018 17:10:36

vdvogt hat geschrieben: ↑ zum Beitrag ↑
23.02.2018 16:29:25
DNSSD findet den Drucker auch einwandfrei. (dnssd://HP%20LaserJet%20500%20color%20M551%20%5B9D43E7%5D._pdl-datastream._tcp.local/?uuid=76a0337b-87ed-4b5e-90a9-e2d23eaec0e0)
Das ist doch ein HP Laserjet 500 color M551, oder? Der ist uralt. Hier wird er schon von hplip 3.12 unterstützt:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1014478
von 2012.
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 » 01.03.2018 18:47:06

vdvogt hat geschrieben: ↑ zum Beitrag ↑
01.03.2018 16:42:47
Aber wahrscheinlich bleibt aber das python-Problem bestehen, denn ich habe ja kein Python2.7.
Ein Versuch Python2.7 zu installieren endet mit den Fehlermeldungen, dass schon neuere Pakete installiert sind.
Was hast du da für eine krause Installation ????
Bei mir ist (Stretch)
python 2.7
python3
und python3.5-minimal installiert
und existieren friedlich nebeneinander.
Es gibt dutzende von Bibliotheken die in verschiedenen Versionen nebeneinander existieren. Wenn du python 2,7 nicht installieren kannst ist was total kaputt an deiner Installation.
NAB hat geschrieben: ↑ zum Beitrag ↑
01.03.2018 17:10:36
Das ist doch ein HP Laserjet 500 color M551, oder? Der ist uralt. Hier wird er schon von hplip 3.12 unterstützt:
genau. Siehe auch:
https://developers.hp.com/hp-linux-imag ... color_m551

geier22

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

Beitrag von geier22 » 01.03.2018 18:52:44

Es wäre mal hilfreich folgende Infos zu bekommen:

Code: Alles auswählen

dpkg -l python* |grep ii
dann bitte mal Debianinxi installieren
und die Ausgabe von

Code: Alles auswählen

inxi -r
einstellen

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 » 01.03.2018 19:46:21

geier22 hat geschrieben: ↑ zum Beitrag ↑
01.03.2018 18:47:06
Was hast du da für eine krause Installation ????
Schrieb er doch. Er hat neuere Pakete.

Ich vermute, er hat sich hier:
viewtopic.php?f=25&t=168700
etliche Buster-Pakete eingehandelt und Buster dann wieder aus den Quellen genommen.
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 » 01.03.2018 20:18:14

NAB hat geschrieben: ↑ zum Beitrag ↑
01.03.2018 19:46:21
Schrieb er doch. Er hat neuere Pakete.
Ah ja das erklärt natürlich einiges. Den Thread hatte ich nicht weiter im Kopf.
Aber dann müsste doch nach der Fehlermeldung "neuere Pakete" doch python 2.7 vorhanden sein ?

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 » 01.03.2018 21:02:18

geier22 hat geschrieben: ↑ zum Beitrag ↑
01.03.2018 20:18:14
Aber dann müsste doch nach der Fehlermeldung "neuere Pakete" doch python 2.7 vorhanden sein ?
Wenn vdvogt nicht so knauserig mit Fehlermeldungen wäre, wüssten wir das schon. Es könnte auch sein, dass das alte Python 2.7 von einem alten Paket X abhängt und apt sich darum weigert, es zu installieren, weil X in einer falschen neueren Version vorliegt und apt keinen downgrade durchführen will.
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 » 02.03.2018 13:53:21

Hallo,
ich habe mir eure Kritik zu Herzen genommen und werde heute einen sehr langen Beitrag mit allen geforderten Ausgaben hier praesentieren.

Ich habe Debian seit der Version 6 auf meinem Buero-Rechner. Ausserdem habe ich unattended-upgrades installiert, so dass mein System immer auf dem aktuellen Stand ist.
Evtl wurde dabei Python2.7 durch Python3 ersetzt.

Da hplip Pakete aus Python2.7 gefordert hat, habe ich versucht, diese nachzuinstallieren und Fehlermeldungen erhalten (siehe weiter unten).

Die Sache mit VLC3 ist geklaert und bereinigt. Aus Buster sind davon keine Pakete mehr auf meinem System, ich bin jetzt wieder bei VLC2?.
Ausserdem betraf das mein Rechner zu Hause auf dem ein VDR laeuft, hier im Buero habe ich kein VLC.

Jetzt die gewuenschten Ausgaben:

Code: Alles auswählen

dpkg -l *py* | grep ii
ii  dh-python                           2.20170125        all          Debian helper tools for packaging Python libraries and applications
ii  krosspython                         4:16.08.0-1       amd64        Python module for Kross
ii  libboost-python1.62.0               1.62.0+dfsg-4     amd64        Boost.Python Library
ii  libfile-copy-recursive-perl         0.38-1            all          Perl extension for recursively copying files and directories
ii  libobasis5.0-python-script-provider 5.0.6.3-3         amd64        Script provider for Python for LibreOffice 5.0 .6.3
ii  libobasis5.0-pyuno                  5.0.6.3-3         amd64        Pyuno module for LibreOffice 5.0 .6.3
ii  libobasis5.2-python-script-provider 5.2.1.2-2         amd64        Script provider for Python for LibreOffice 5.2 .1.2
ii  libobasis5.2-pyuno                  5.2.1.2-2         amd64        Pyuno module for LibreOffice 5.2 .1.2
ii  libpython-dev:amd64                 2.7.13-2          amd64        header files and a static library for Python (default)
ii  libpython-stdlib:amd64              2.7.13-2          amd64        interactive high-level object-oriented language (default python version)
ii  libpython2.7:amd64                  2.7.13-2+deb9u2   amd64        Shared Python runtime library (version 2.7)
ii  libpython2.7-dev:amd64              2.7.13-2+deb9u2   amd64        Header files and a static library for Python (v2.7)
ii  libpython2.7-minimal:amd64          2.7.13-2+deb9u2   amd64        Minimal subset of the Python language (version 2.7)
ii  libpython2.7-stdlib:amd64           2.7.13-2+deb9u2   amd64        Interactive high-level object-oriented language (standard library, version 2.7)
ii  libpython3-dev:amd64                3.5.3-1           amd64        header files and a static library for Python (default)
ii  libpython3-stdlib:amd64             3.5.3-1           amd64        interactive high-level object-oriented language (default python3 version)
ii  libpython3.5:amd64                  3.5.3-1           amd64        Shared Python runtime library (version 3.5)
ii  libpython3.5-dev:amd64              3.5.3-1           amd64        Header files and a static library for Python (v3.5)
ii  libpython3.5-minimal:amd64          3.5.3-1           amd64        Minimal subset of the Python language (version 3.5)
ii  libpython3.5-stdlib:amd64           3.5.3-1           amd64        Interactive high-level object-oriented language (standard library, version 3.5)
ii  libsnappy1v5:amd64                  1.1.3-3           amd64        fast compression/decompression library
ii  pyqt4-dev-tools                     4.11.4+dfsg-2+b1  amd64        Development tools for PyQt4                                                                                                                                    
ii  pyqt5-dev                           5.7+dfsg-5        all          Development files for PyQt5                                                                                                                                    
ii  python                              2.7.13-2          amd64        interactive high-level object-oriented language (default version)                                                                                              
ii  python-apt                          1.4.0~beta3       amd64        Python interface to libapt-pkg                                                                                                                                 
ii  python-apt-common                   1.4.0~beta3       all          Python interface to libapt-pkg (locales)                                                                                                                       
ii  python-astrometry                   0.70+dfsg-1       amd64        Astrometry plate solver (Python package)                                                                                                                       
ii  python-astropy                      1.3-8             amd64        Core functionality for performing astrophysics with Python                                                                                                     
ii  python-attr                         16.3.0-1          all          Attributes without boilerplate (Python 2)                                                                                                                      
ii  python-avogadro                     1.2.0-1+deb9u1    amd64        Molecular Graphics and Modelling System (Python module)                                                                                                        
ii  python-babel                        2.3.4+dfsg.1-2    all          tools for internationalizing Python applications - Python 2.x                                                                                                  
ii  python-babel-localedata             2.3.4+dfsg.1-2    all          tools for internationalizing Python applications - locale data files                                                                                           
ii  python-bs4                          4.5.3-1           all          error-tolerant HTML parser for Python                                                                                                                          
ii  python-cairo                        1.8.8-2.2         amd64        Python bindings for the Cairo vector graphics library                                                                                                          
ii  python-cffi-backend                 1.9.1-2           amd64        Foreign Function Interface for Python calling C code - backend                                                                                                 
ii  python-chardet                      2.3.0-2           all          universal character encoding detector for Python2                                                                                                              
ii  python-click                        6.6-1             all          Simple wrapper around optparse for powerful command line utilities - Python 2.7                                                                                
ii  python-colorama                     0.3.7-1           all          Cross-platform colored terminal text in Python - Python 2.x                                                                                                    
ii  python-configobj                    5.0.6-2           all          simple but powerful config file reader and writer for Python 2                                                                                                 
ii  python-constantly                   15.1.0-1          all          Symbolic constants in Python                                                                                                                                   
ii  python-cryptography                 1.7.1-3           amd64        Python library exposing cryptographic recipes and primitives (Python 2)                                                                                        
ii  python-dateutil                     2.5.3-2           all          powerful extensions to the standard datetime module                                                                                                            
ii  python-dbus                         1.2.4-1+b1        amd64        simple interprocess messaging system (Python interface)                                                                                                        
ii  python-dbus.mainloop.pyqt5          5.7+dfsg-5        amd64        D-Bus Qt main loop support for Python 2                                                                                                                        
ii  python-debian                       0.1.30            all          Python modules to work with Debian-related data formats                                                                                                        
ii  python-debianbts                    2.6.1             all          Python interface to Debian's Bug Tracking System                                                                                                               
ii  python-dev                          2.7.13-2          amd64        header files and a static library for Python (default)                                                                                                         
ii  python-diff-match-patch             20121119-3~deb9u1 all          robust algorithms for synchronizing plain text (Python 2 module)                                                                                               
ii  python-enchant                      1.6.7-1           all          spellchecking library for Python                                                                                                                               
ii  python-enum34                       1.1.6-1           all          backport of Python 3.4's enum package                                                                                                                          
ii  python-gi                           3.22.0-2          amd64        Python 2.x bindings for gobject-introspection libraries                                                                                                        
ii  python-gobject-2                    2.28.6-13         amd64        deprecated static Python bindings for the GObject library                                                                                                      
ii  python-gtk2                         2.24.0-5.1        amd64        Python bindings for the GTK+ widget set                                                                                                                        
ii  python-html5lib                     0.999999999-1     all          HTML parser/tokenizer based on the WHATWG HTML5 specification                                                                                                  
ii  python-httplib2                     0.9.2+dfsg-1      all          comprehensive HTTP client library written for Python                                                                                                           
ii  python-idna                         2.2-1             all          Python IDNA2008 (RFC 5891) handling (Python 2)                                                                                                                 
ii  python-imaging                      4.0.0-4           all          Python Imaging Library compatibility layer                                                                                                                     
ii  python-incremental                  16.10.1-3         all          Library for versioning Python projects.                                                                                                                        
ii  python-iniparse                     0.4-2.2           all          access and modify configuration data in INI files (Python 2)                                                                                                   
ii  python-ipaddress                    1.0.17-1          all          Backport of Python 3 ipaddress module (Python 2)                                                                                                               
ii  python-kde4                         4:4.14.3-2+deb9u1 amd64        Python bindings for the KDE Development Platform                                                                                                               
ii  python-l20n                         4.0.0~a1-2        all          Mozilla Web localization framework (Python 2)                                                                                                                  
ii  python-levenshtein                  0.12.0-2+b2       amd64        extension for computing string similarities and edit distances                                                                                                 
ii  python-lxml                         3.7.1-1           amd64        pythonic binding for the libxml2 and libxslt libraries
ii  python-minimal                      2.7.13-2          amd64        minimal subset of the Python language (default version)
ii  python-notify                       0.1.1-4           amd64        Python bindings for libnotify
ii  python-numpy                        1:1.12.1-3        amd64        Numerical Python adds a fast array facility to the Python language
ii  python-openssl                      16.2.0-1          all          Python 2 wrapper around the OpenSSL library
ii  python-pam                          0.4.2-13.2        amd64        Python interface to the PAM library
ii  python-pil:amd64                    4.0.0-4           amd64        Python Imaging Library (Pillow fork)
ii  python-pkg-resources                33.1.1-1          all          Package Discovery and Resource Access using pkg_resources
ii  python-ply                          3.9-1             all          Lex and Yacc implementation for Python2
ii  python-py                           1.4.32-3          all          Advanced Python development support library (Python 2)
ii  python-pyasn1                       0.1.9-2           all          ASN.1 library for Python (Python 2 module)
ii  python-pyasn1-modules               0.0.7-0.1         all          Collection of protocols modules written in ASN.1 language
ii  python-pycurl                       7.43.0-2          amd64        Python bindings to libcurl
ii  python-pylibacl                     0.5.3-1           amd64        module for manipulating POSIX.1e ACLs
ii  python-pyqt5                        5.7+dfsg-5        amd64        Python 2 bindings for Qt5
ii  python-pysimplesoap                 1.16-2            all          simple and lightweight SOAP Library (Python 2)
ii  python-pytest                       3.0.6-1           all          Simple, powerful testing in Python
ii  python-pyxattr                      0.6.0-2           amd64        module for manipulating filesystem extended attributes
ii  python-qt4                          4.11.4+dfsg-2+b1  amd64        Python bindings for Qt4
ii  python-qt4-dbus                     4.11.4+dfsg-2+b1  amd64        D-Bus Support for PyQt4
ii  python-qt4-sql                      4.11.4+dfsg-2+b1  amd64        Python bindings for PyQt4's SQL module
ii  python-renderpm:amd64               3.3.0-2           amd64        python low level render interface
ii  python-reportbug                    6.6.3             all          Python modules for interacting with bug tracking systems
ii  python-reportlab                    3.3.0-2           all          ReportLab library to create PDF documents using Python
ii  python-reportlab-accel:amd64        3.3.0-2           amd64        C coded extension accelerator for the ReportLab Toolkit
ii  python-serial                       3.2.1-1           all          pyserial - module encapsulating access for the serial port
ii  python-service-identity             16.0.0-2          all          Service identity verification for pyOpenSSL (Python 2 module)
ii  python-setuptools                   33.1.1-1          all          Python Distutils Enhancements
ii  python-simplejson                   3.10.0-1          amd64        simple, fast, extensible JSON encoder/decoder for Python 2.x
ii  python-sip                          4.18.1+dfsg-2     amd64        Python/C++ bindings generator runtime library
ii  python-six                          1.10.0-3          all          Python 2 and 3 compatibility library (Python 2 interface)
ii  python-support                      1.0.15            all          automated rebuilding support for Python modules
ii  python-talloc                       2.1.8-1           amd64        hierarchical pool based memory allocator - Python bindings
ii  python-translate                    2.0.0-1           all          Toolkit assisting in the localization of software (Python 2)
ii  python-twisted-bin:amd64            16.6.0-2          amd64        Event-based framework for internet applications
ii  python-twisted-core                 16.6.0-2          all          Event-based framework for internet applications
ii  python-tz                           2016.7-0.3        all          Python version of the Olson timezone database
ii  python-utidylib                     0.3-1             all          Python wrapper for TidyLib
ii  python-vobject                      0.9.3-3           all          parse iCalendar and VCards in Python
ii  python-webencodings                 0.5-2             all          Python implementation of the WHATWG Encoding standard
ii  python-xapian                       1.4.3-1           amd64        Xapian search engine interface for Python
ii  python-yaml                         3.12-1            amd64        YAML parser and emitter for Python
ii  python-zope.interface               4.3.2-1           amd64        Interfaces for Python
ii  python2.7                           2.7.13-2+deb9u2   amd64        Interactive high-level object-oriented language (version 2.7)
ii  python2.7-dev                       2.7.13-2+deb9u2   amd64        Header files and a static library for Python (v2.7)
ii  python2.7-minimal                   2.7.13-2+deb9u2   amd64        Minimal subset of the Python language (version 2.7)
ii  python3                             3.5.3-1           amd64        interactive high-level object-oriented language (default python3 version)
ii  python3-apparmor                    2.11.0-3          amd64        AppArmor Python3 utility library
ii  python3-apt                         1.4.0~beta3       amd64        Python 3 interface to libapt-pkg
ii  python3-cairo                       1.10.0+dfsg-5+b1  amd64        Python 3 bindings for the Cairo vector graphics library
ii  python3-chardet                     2.3.0-2           all          universal character encoding detector for Python3
ii  python3-cups                        1.9.73-1          amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                 1.5.7-3           all          Python utility modules around the CUPS printing system
ii  python3-dbus                        1.2.4-1+b1        amd64        simple interprocess messaging system (Python 3 interface)
ii  python3-debian                      0.1.30            all          Python 3 modules to work with Debian-related data formats
ii  python3-debianbts                   2.6.1             all          Python interface to Debian's Bug Tracking System
ii  python3-dev                         3.5.3-1           amd64        header files and a static library for Python (default)
ii  python3-gi                          3.22.0-2          amd64        Python 3 bindings for gobject-introspection libraries
ii  python3-httplib2                    0.9.2+dfsg-1      all          comprehensive HTTP client library written for Python3
ii  python3-libapparmor                 2.11.0-3          amd64        AppArmor library Python3 bindings
ii  python3-minimal                     3.5.3-1           amd64        minimal subset of the Python language (default python3 version)
ii  python3-pexpect                     4.2.1-1           all          Python 3 module for automating interactive applications
ii  python3-pil:amd64                   4.0.0-4           amd64        Python Imaging Library (Python3)
ii  python3-pkg-resources               33.1.1-1          all          Package Discovery and Resource Access using pkg_resources
ii  python3-ptyprocess                  0.5.1-1           all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pycurl                      7.43.0-2          amd64        Python bindings to libcurl (Python 3)
ii  python3-pyqt5                       5.7+dfsg-5        amd64        Python 3 bindings for Qt5
ii  python3-pysimplesoap                1.16-2            all          simple and lightweight SOAP Library (Python 3)
ii  python3-renderpm:amd64              3.3.0-2           amd64        python low level render interface
ii  python3-reportbug                   7.1.7             all          Python modules for interacting with bug tracking systems
ii  python3-reportlab                   3.3.0-2           all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:amd64       3.3.0-2           amd64        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                    2.12.4-1          all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-sip                         4.18.1+dfsg-2     amd64        Python 3/C++ bindings generator runtime library
ii  python3-sip-dev                     4.18.1+dfsg-2     amd64        Python 3/C++ bindings generator development files
ii  python3-six                         1.10.0-3          all          Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-smbc                        1.0.15.6-1        amd64        Python 3 bindings for the Samba client library
ii  python3-software-properties         0.96.20.2-1       all          manage the repositories that you install software from
ii  python3-urllib3                     1.19.1-1          all          HTTP library with thread-safe connection pooling for Python3
ii  python3-yaml                        3.12-1            amd64        YAML parser and emitter for Python3
ii  python3.5                           3.5.3-1           amd64        Interactive high-level object-oriented language (version 3.5)
ii  python3.5-dev                       3.5.3-1           amd64        Header files and a static library for Python (v3.5)
ii  python3.5-minimal                   3.5.3-1           amd64        Minimal subset of the Python language (version 3.5)
Wie man (ich) sehen kann, sind lediglich 3 Pakete aus 2.7 installiert (python2.7, python2.7-dev, python2.7-minimal).
Wie kann ich nun Python2.7 zusaetzlich zu Python3 installieren, damit hplip die geforderten Pakete pyqt4 und pyqt4-dbus findet?
Ausserdem werden ja im weiteren Verlauf der Installation noch die Pakete pyqt5 und pyqt5-dbus gesucht.

Code: Alles auswählen

inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp2.de.debian.org/debian/ stretch main non-free contrib
           deb http://security.debian.org/ stretch/updates main contrib non-free
           deb http://ftp2.de.debian.org/debian/ stretch-updates main contrib non-free
           deb http://ftp2.de.debian.org/debian/ stretch-backports main contrib non-free
Hier auf dem Buero-Rechener ist ausser Stretch nichts drauf.

Code: Alles auswählen

apt install python2.7
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
python2.7 ist schon die neueste Version (2.7.13-2+deb9u2).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.

apt install python3
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
python3 ist schon die neueste Version (3.5.3-1).
python3 wurde als manuell installiert festgelegt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
Was Python anbetrifft habe ich mich wohl geirrt.
Aber wieso neulich Fehlermeldungen bei der Nachinstallation von Python2.7 kamen ist mir jetzt schleierhaft.

Aber die gesuchten Pakete pyqt4, pyqt4-dbus, pyqt5 und pyqt5-dbus sind trotzdem nicht da.
Evtl. muss ich noch zusaetzliche Pakete installieren.
Aber dazu brauche ich euren Input, denn ich weiss nicht welche das sind.

Ich hoffe, ich konnte alle gewuenschten Fragen beantworten.
Wenn ihr noch weitere Info zu meinem System braucht, dann bitte nachfragen.

Ich habe gestern Abend alles was mit Drucken zu tun hat gepurged (cups, sane und hplip), um mit einem neuen, sauberen System neu anfangen zu koennen. Hoffentlich war das richtig!?


Viele 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 » 02.03.2018 17:44:42

Hallo,
ich hatte heute Nachmittag etwas Zeit, um nach pyqt4 und pyqt5 zu suchen.
Was ich herausgefunden habe ist, dass pyqt4, bzw. 5 eine Software von Riverbank Software ist:

https://www.riverbankcomputing.com/soft ... t/download
bzw.
https://www.riverbankcomputing.com/soft ... /download5

Die Pakete muessen von dort heruntergelden und anschliessend installiert werden.
Auch dazu habe ich eine Seite gefunden:

https://doc.ubuntu-fr.org/pyqt

Da ich mich mit Python aber ueberhaupt nicht auskenne, brauche ich etwas Hilfe bei der Installation, oder ihr kennt eine bessere Methode die Pakete zu installieren.

Gruesse
Veit

geier22

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

Beitrag von geier22 » 02.03.2018 19:05:13

Wo wühlst du bloß immer rum, anstatt mal vernünftig bei Debian zu suchen :facepalm: :wink:
Also ich würde dir raten es mal mit Synaptic zu versuchen. Installiere vorher Debianapt-xapian-index
Das produziert ein Schnell-Suchfeld in Synaptic (Neustart / ev. Synaptic mehrmals starten) . Du wirst dich wundern, wie schnell man so Ergebnisse filtern kann, und auch was findet :mrgreen:
Alternativ kann man auch das Terminal bemühen und bekommt dann folgende Ergebnisse:

Code: Alles auswählen

$ dpkg -l  *pyqt4*
ii  python3-pyqt4  4.11.4+dfsg- amd64        Python3 bindings for Qt4
un  python3-pyqt4- <keine>      <keine>      (keine Beschreibung vorhanden)
un  python3-pyqt4. <keine>      <keine>      (keine Beschreibung vorhanden)


hans@debian:~$ dpkg -l  *pyqt5*
ii  python3-dbus.mainloop.pyqt5              5.7+dfsg-5                amd64                     D-Bus Qt main loop support for Python 3
ii  python3-pyqt5                            5.7+dfsg-5                amd64                     Python 3 bindings for Qt5
un  python3-pyqt5-dbg                        <keine>                   <keine>                   (keine Beschreibung vorhanden)
Kannst du denn Debianhplip aus den Sourcen installieren?

Wenn ja, starte nach einem Neustart mal

Code: Alles auswählen

$ hp-check
Und poste die Ergebnisse . Ich habe gerade in einer VM (Stretch mal meinen HP- Drucker installiert. Bis auf das Leidige Plugin, das er immer haben will
lief das Problemlos.

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 » 02.03.2018 19:12:28

Du hast mit "python-qt4", "python-qt4-dbus", "python-pyqt5" bereits die Sammlung für Python 2 komplett. python-pyqt5 enthält bereits QtDBus.

Für Python 3 hast du bereits "python3-pyqt5".

Du kannst noch folgende Pakete installieren, um deine Sammlung komplett zu machen:
python3-pyqt4
python3-dbus.mainloop.qt
python3-dbus.mainloop.pyqt5
aber ich befürchte, die Software von HP ist einfach zu doof, die installierten Pakete zu finden.
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 » 02.03.2018 19:23:48

NAB hat geschrieben: ↑ zum Beitrag ↑
02.03.2018 19:12:28
aber ich befürchte, die Software von HP ist einfach zu doof, die installierten Pakete zu finden.
Na ganz so doof ist sie wieder auch nicht. Hab in meiner VM mal gespielt und installiert was hp-check meinte zu brauchen (Der Drucker lief schon vorher)
Den Drucker habe ich mit Debianhplip-gui eingerichet - Cups ist dabei nicht notwendig.
1. Ergebnis:

Code: Alles auswählen

Missing Required Dependencies
-----------------------------
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'g++' 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: 'libjpeg62-turbo-dev' package is missing/incompatible 
error: 'libssl-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: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' 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 

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

Code: Alles auswählen

# apt install libtool libtool-bin g++ libcupsimage2 libcupsimage2-dev python3-dev libjpeg62-turbo-dev libssl-dev libsane-dev libsnmp-dev snmp libcups2-dev cups-bsd python3-pyqt4 libdbus-1-dev
3. 2. Ergebnis:

Code: Alles auswählen

HP_LaserJet_Pro_MFP_M125nw
--------------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_Pro_MFP_M125nw?ip=192.168.0.7
PPD: /etc/cups/ppd/HP_LaserJet_Pro_MFP_M125nw.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_Pro_MFP_M125nw.ppd ppd file
PPD Description: 
Printer status: Drucker HP_LaserJet_Pro_MFP_M125nw ist im Leerlauf.  Aktiviert seit Fr 02 Mär 2018 18:11:46 CET
Required plug-in status: Installed
Communication status: Good


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

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

Missing Required Dependencies
-----------------------------
error: 'libusb-1.0.0-dev' package is missing/incompatible 

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

Total Errors: 3
Total Warnings: 0

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 » 02.03.2018 19:43:04

geier22 hat geschrieben: ↑ zum Beitrag ↑
02.03.2018 19:23:48
Na ganz so doof ist sie wieder auch nicht.
Stimmt. Aber welche Version ist das denn nun? Die von Debian oder die von HP? Vielleicht kannst du (vorallem vdvogt) noch mal erklären, wo er die denn nun herbekommt. Mir ist immer noch nicht klar, warum es denn unbedingt eine neuere Version für einen uralten Drucker sein muss.
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 » 02.03.2018 20:36:59

Ich hab die Debian Version installiert.

Code: Alles auswählen

hans@debian:~$ apt-cache policy hplip 
hplip:
  Installiert:           3.16.11+repack0-3
  Installationskandidat: 3.16.11+repack0-3
  Versionstabelle:
 *** 3.16.11+repack0-3 500
        500 http://ftp.de.debian.org/debian stretch/main amd64 Packages
        500 http://deb.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
NAB hat geschrieben: ↑ zum Beitrag ↑
02.03.2018 19:43:04
Mir ist immer noch nicht klar, warum es denn unbedingt eine neuere Version für einen uralten Drucker sein muss.
Mir auch nicht
nach dieser Quelle, ist das Teil ja auch schon fast "verschimmelt" https://developers.hp.com/hp-linux-imag ... color_m551
Debian 6.0.5 war das schon in diesem Jahrhundert ? :mrgreen: :mrgreen:

Vielleicht noch hilfreich: Pakete, die gem. synaptic zum Thema "hp" installiert sind.
  • printer-driver-postscript-hp
    hplip-data
    hplip-gui
    libsane-hpaio
    hplip
    libhpmud0
    printer-driver-hpcups
    libltdl7
    libltdl-dev
    libijs-0.35

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 » 03.03.2018 17:04:34

Hallo geier22,
hallo NAB,
ich habe jetzt alles installiert, was ihr aufgeschrieben habt.
Aber die hplip-gui bekomme ich nicht gestartet!
Auch im KDE-Suchfeld erscheint sie nicht. Ich sehe nur eine HPLIP-Toolbox. Wenn ich die starten will tut sich nichts.

Wenn ich hp-check laufen lasse, bekomme ich folgenden Output:

Code: Alles auswählen

hp-check
error: Unable to locate models.dat file
Saving output in log file: /root/hp-check.log

HP Linux Imaging and Printing System (ver. 0.0.0)
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

-Traceback (most recent call last):
  File "/usr/bin/hp-check", line 861, in <module>
    dep.core.init()
  File "/usr/share/hplip/installer/core_install.py", line 475, in init
    self.distro_name = self.distros_index[self.distro]
KeyError: 0
Ehrlich gesagt weiss ich nicht was ich damit anfangen soll.

Auf die Frage, warum ich denn unbedingt eine neue hplip installieren will, kann ich nur antworten: Da ich den Drucker seit dem letzten Firmwareupdate nicht mehr zum Laufen bekomme und ich immer nur die Fehlermeldung sehe: "Filter failed", wollte ich es mit der neuesten Version versuchen.

Aber wenn ihr der Meinug seit, dass wir das Prioblem auch anders loesen koennen, dann bitte ich euch mir dabei zu helfen, denn ich brauche den Drucker dringend.

Anbei nochmal den neueseten Stand meiner PythonQt-Pakete:

Code: Alles auswählen

dpkg -l *pyqt* | grep ii
ii  pyqt4-dev-tools             4.11.4+dfsg-2+b1 amd64        Development tools for PyQt4
ii  pyqt5-dev                   5.7+dfsg-5       all          Development files for PyQt5
ii  pyqt5-dev-tools             5.7+dfsg-5       amd64        Development tools for PyQt5
ii  python-dbus.mainloop.pyqt5  5.7+dfsg-5       amd64        D-Bus Qt main loop support for Python 2
ii  python-pyqt5                5.7+dfsg-5       amd64        Python 2 bindings for Qt5
ii  python3-dbus.mainloop.pyqt5 5.7+dfsg-5       amd64        D-Bus Qt main loop support for Python 3
ii  python3-pyqt4               4.11.4+dfsg-2+b1 amd64        Python3 bindings for Qt4
ii  python3-pyqt5               5.7+dfsg-5       amd64        Python 3 bindings for Qt5
Viele Gruesse
Veit

Antworten