staging.inyokaproject.org

HP Color Laserjet Pro MFP M281fdw - kein scannen möglich

Status: Gelöst | Ubuntu-Version: Ubuntu 18.04 (Bionic Beaver)
Antworten |

jolexin

Avatar von jolexin

Anmeldungsdatum:
22. Dezember 2009

Beiträge: Zähle...

Laut webseite https://developers.hp.com/hp-linux-imaging-and-printing/supported_devices/index sollte mein neuer Multifunktions-Drucker unter Ubuntu 18.04 funktionieren. Leider wird kein Scanner gefunden.

Ich habe hplip v3.19.10 installiert, in der CUPS-Druckerverwaltung den Drucker am USB-Stecker installiert. Danach habe ich im Terminal hp-setup aufgerufen. Es wird kein scanner gefunden, übrigens auch kein Drucker.

Starten von xsane oder simple-scan: sagt auch, dass kein scanner auffindbar ist.

Ich habe noch einige Kommandos eingegeben, um den Status und die Problemursache zu erkennen. Jetzt bin ich verwirrt und weiß nicht, wie ich systematisch vorgehen sollte.

1) Hat es schon jemand geschafft, vom Scanner des HP Color Laserjet Pro MFP M281fdw zB mit Simple Scan eine Seite zu scannen?

2) Was sollte ich als nächstes tun?

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19527

Moin,das könntest du mal zeigen

hp-check -r

dpkg -l | egrep HP

jolexin

(Themenstarter)
Avatar von jolexin

Anmeldungsdatum:
22. Dezember 2009

Beiträge: 325

Also erstens der output von hp-check

Den Abschnitt über Samsung-SCX-3400 bitte ignorieren; da habe ich mal für jemand anderen etwas versucht.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
hp-check -r
Saving output in log file: /home/jjm19/hp-check.log

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

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

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

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

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

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

 Kernel: 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 GNU/Linux
 Host: achat
 Proc: 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 GNU/Linux
 Distribution: 22 19.1
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.19.10
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro  19.1 version 

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

[hplip]
version=3.19.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.10
html=/usr/share/doc/hplip-3.19.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.19.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: Datei oder Verzeichnis nicht gefunden

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
latest_available_version = 3.17.10

[installation]
date_time = 04.11.2019 12:37:36
version = 3.19.10


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

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

 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.4.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -
 libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -

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

 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.2.5           OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.3           OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               -               OK         -
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               5.1.0           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.12.1          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.27            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.15          OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.2.7           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.12.1          OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.2.7           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.15          OK         -
 python-notify        Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -

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

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

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

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.2.7           OK         'CUPS Scheduler is running'
 network              network -wget                                                OPTIONAL        -               1.19.4          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.2          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -

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

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

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

No Scanner found.

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

No devices found.

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

 
HP@USB-Achat
------------
Type: Unknown
Device URI: usb://HP/ColorLaserJet%20MFP%20M278-M281?serial=VNBNL1K59K
PPD: /etc/cups/ppd/HP@USB-Achat.ppd
warning: Failed to read /etc/cups/ppd/HP@USB-Achat.ppd ppd file
PPD Description: 
Printer status: Drucker HP@USB-Achat ist im Leerlauf.  Aktiviert seit Sa 02 Nov 2019 18:30:46 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

HP_ColorLaserJet_MFP_M278-M281
------------------------------
Type: Unknown
Device URI: usb://HP/ColorLaserJet%20MFP%20M278-M281?serial=VNBNL1K59K
PPD: /etc/cups/ppd/HP_ColorLaserJet_MFP_M278-M281.ppd
warning: Failed to read /etc/cups/ppd/HP_ColorLaserJet_MFP_M278-M281.ppd ppd file
PPD Description: 
Printer status: Drucker HP_ColorLaserJet_MFP_M278-M281 ist im Leerlauf.  Aktiviert seit Sa 02 Nov 2019 18:11:10 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

Samsung-SCX-3400-Series
-----------------------
Type: Unknown
Device URI: dnssd://Samsung%20SCX-3400%20Series%20(SEC001599E52633)._printer._tcp.local/
PPD: /etc/cups/ppd/Samsung-SCX-3400-Series.ppd
warning: Failed to read /etc/cups/ppd/Samsung-SCX-3400-Series.ppd ppd file
PPD Description: 
Printer status: Drucker Samsung-SCX-3400-Series ist im Leerlauf.  Aktiviert seit Di 28 Mai 2019 17:06:30 CEST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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

error: Unsupported model: HP_ColorLaserJet_MFP_M278-M281
 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

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


Total Errors: 0
Total Warnings: 3


Done.

Zweitens der output von dpkg:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
jjm19@achat:~$ dpkg -l | egrep HP
ii  hplip                                      3.17.10+repack0-5                           amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                 3.17.10+repack0-5                           all          HP Linux Printing and Imaging - data files
ii  libhpmud0:amd64                            3.17.10+repack0-5                           amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libsane-hpaio:amd64                        3.17.10+repack0-5                           amd64        HP SANE backend for multi-function peripherals
ii  printer-driver-hpcups                      3.17.10+repack0-5                           amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  printer-driver-pnm2ppa                     1.13+nondbs-0ubuntu6                        amd64        printer driver for HP-GDI printers
ii  printer-driver-postscript-hp               3.17.10+repack0-5                           all          HP Printers PostScript Descriptions
ii  printer-driver-pxljr                       1.4+repack0-5                               amd64        printer driver for HP Color LaserJet 35xx/36xx
jjm19@achat:~$

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19527

Du hast das Installierte HP vorher nicht entfernt gehabt

ii  hplip                                      3.17.10+repack0-5                           amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                 3.17.10+repack0-5                           all          HP Linux Printing and Imaging - data files

Nun hast du zwei Unterschiedliche Versionen drauf,die sich nicht Vertragen.Entferne alles von HP – und zwar Vollständig.

Dann bleibt dir danach nur die .run,weil du mindestens 3.18.5 brauchst.Die in den Paketquellen ist zu alt.

jolexin

(Themenstarter)
Avatar von jolexin

Anmeldungsdatum:
22. Dezember 2009

Beiträge: 325

Seltsam, ich wurde bei der (automat.) Installation der neuen hplip gefragt, ob das alte hplip entfernt werden soll.

Mit welchem Kommando entferne ich nun sicher alle hplips? wie verifiziere ich das?

Danach werde ich nochmal hplip 3.19.10 installieren.

schollsky

Avatar von schollsky

Anmeldungsdatum:
3. Dezember 2012

Beiträge: 1338

Hallo jolexin, Du schriebst:

Mit welchem Kommando entferne ich nun sicher alle hplips? wie verifiziere ich das?

Mit folgendem:

sudo apt purge hplip hplip-data

Der Befehl sollte eine entsprechende Rückmeldung geben.

Viele Grüße

schollsky

jolexin

(Themenstarter)
Avatar von jolexin

Anmeldungsdatum:
22. Dezember 2009

Beiträge: 325

Halloschollsky! Ich habe mit purge hplip entfernt. Es gibt ein neues Hindernis: Passwörter!

So beginne ich die neue Installation:

jjm19@achat:~/bin$ sh hplip-3.19.10.run

Creating directory hplip-3.19.10
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.10 Self Extracting Archive...........

HP Linux Imaging and Printing System (ver. 3.19.10)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP Development Company, LP
usw

Das Archiv wird in den Ordner hplip-3.19.10 entpackt. Kurz danach werde ich zur Eingabe zweier Passwörter (user, super user) aufgefordert:

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
/e-a\,m|c/1-
Please enter the sudoer (jjm19)'s password: 
Traceback (most recent call last):
  File "./install.py", line 241, in <module>
    text_install.start(language, auto, test_depends, test_unknown, assume_network, max_retries, enable, disable)
  File "/home/jjm19/bin/hplip-3.19.10/installer/text_install.py", line 714, in start
    ok = core.check_password()
  File "/home/jjm19/bin/hplip-3.19.10/installer/core_install.py", line 1999, in check_password
    if self.passwordObj.getPassword() == "":
  File "/home/jjm19/bin/hplip-3.19.10/base/password.py", line 392, in getPassword
    self.__validatePassword(pswd_msg)
  File "/home/jjm19/bin/hplip-3.19.10/base/password.py", line 290, in __validatePassword
    status, output = self.__password_check(cmd)
  File "/home/jjm19/bin/hplip-3.19.10/base/password.py", line 260, in __password_check
    child.close()
  File "/home/jjm19/bin/hplip-3.19.10/base/pexpect/__init__.py", line 747, in close
    raise ExceptionPexpect('Could not terminate the child.')
base.pexpect.ExceptionPexpect: Could not terminate the child.
jjm19@achat:~/bin$ 

Liest sich für mich so, als würden die Passwörter nicht erkannt. Wie kann ich das neue Hindernis überwinden?

schollsky

Avatar von schollsky

Anmeldungsdatum:
3. Dezember 2012

Beiträge: 1338

Hallo jolexin,

hast Du bei der Passwortabfrage Dein Benutzerpasswort angegeben? Das wäre nämlich gefragt:

Please enter the sudoer (jjm19)'s password: 

Da wird nur ein Passwort gefragt (das Deiner Benutzerkennung jjm19).

HTH

schollsky

jolexin

(Themenstarter)
Avatar von jolexin

Anmeldungsdatum:
22. Dezember 2009

Beiträge: 325

Bei mir wurden 2 Passwörter abgefragt. Da ich Superuser Rechte habe, habe ich mein Passwort 2 mal eingetippt.

Neuer Versuch: Jetzt habe ich bei der Aufforderung "ENTER USER PASSWORD" einfach gewartet.

Nach einer Minute erscheint dann die Aufforderung: Please enter the sudoer (jjm19)'s password:

Ich tippe es ein und sofort bricht das Script mit den gehabten Meldungen ab:

Traceback (most recent call last):
  File "./install.py", line 241, in <module>
    text_install.start(language, auto, test_depends, test_unknown, assume_network, max_retries, enable, disable)
  File "/home/jjm19/bin/hplip-3.19.10/installer/text_install.py", line 714, in start
    ok = core.check_password()
  File "/home/jjm19/bin/hplip-3.19.10/installer/core_install.py", line 1999, in check_password
    if self.passwordObj.getPassword() == "":
  File "/home/jjm19/bin/hplip-3.19.10/base/password.py", line 392, in getPassword
    self.__validatePassword(pswd_msg)
  File "/home/jjm19/bin/hplip-3.19.10/base/password.py", line 290, in __validatePassword
    status, output = self.__password_check(cmd)
  File "/home/jjm19/bin/hplip-3.19.10/base/password.py", line 260, in __password_check
    child.close()
  File "/home/jjm19/bin/hplip-3.19.10/base/pexpect/__init__.py", line 747, in close
    raise ExceptionPexpect('Could not terminate the child.')
base.pexpect.ExceptionPexpect: Could not terminate the child.
jjm19@achat:~/bin$ 

schollsky

Avatar von schollsky

Anmeldungsdatum:
3. Dezember 2012

Beiträge: 1338

Hallo jolexin,

bitte versteh mich nicht falsch - aber meistens ist der Fehler ca. 70cm vor dem Bildschirm zu suchen...

In Deinem ersten Zitat sehe ich keine zwei Passwortabfragen - nur die eine.

Auch wenn Du Superuser Rechte hast, musst Du Dein Passwort nur einmal angeben: Beim root (Superuser) entsprechend das Root-PW und bei Deinem Benutzer das Benutzer-PW.

Zweimal angeben kann da nur scheitern.

Zeig doch mal die genaue Ausgabe der zwei Abfragen, wenn Du nicht weiter kommst.

HTH

schollsky

P.S. Wenn Du den Treiber systemweit installieren möchtest, empfehle ich folgenden Befehl (aus dem Verzeichnis, wo der Treiber liegt):

sudo ./hplip-3.19.10.run

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19527

Für mich gerne nochmal

dpkg -l | egrep HP

id

sudo updatedb && locate uninstall.py

P.s.

Bitte das Setup (hplip-3.19.10.run) nicht mit sudo ausführen! Das Passwort wird später abgefragt!

jolexin

(Themenstarter)
Avatar von jolexin

Anmeldungsdatum:
22. Dezember 2009

Beiträge: 325

Kellerkindhat vorgeschlagen: Für mich gerne nochmal ...

Erstens:

1
2
3
4
5
6
7
8
dpkg -l | egrep HP
jjm19@achat:~$ dpkg -l | egrep HP
ii  libhpmud0:amd64                            3.17.10+repack0-5                           amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libsane-hpaio:amd64                        3.17.10+repack0-5                           amd64        HP SANE backend for multi-function peripherals
ii  printer-driver-hpcups                      3.17.10+repack0-5                           amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  printer-driver-pnm2ppa                     1.13+nondbs-0ubuntu6                        amd64        printer driver for HP-GDI printers
ii  printer-driver-pxljr                       1.4+repack0-5                               amd64        printer driver for HP Color LaserJet 35xx/36xx
jjm19@achat:~$ 

Scheinbar gibt es doch irgendwelche Reste der hplip Altversion 3.17.10. Ich dachte, die hätte ich mit "apt purge" weggebürstet! Leider versteh ich nicht, was mir die Ausgabe sagen soll und aus "man dpkg" werd ich nicht schlau. Sind libhpmud0, libsane-hpaio,printer-driver-hpcups Paketnamen? Wie vernichte ich die? Und was ist mit printer-driver-pnm2ppa, printer-driver-pxljr? Soll ich die auch vernichten?

Zweitens

1
2
3
jjm19@achat:~$ id
uid=1000(jjm19) gid=1002(jjm19) Gruppen=1002(jjm19),4(adm),20(dialout),21(fax),24(cdrom),25(floppy),26(tape),27(sudo),29(audio),30(dip),44(video),46(plugdev),112(lpadmin),120(scanner),128(sambashare)
jjm19@achat:~$ 

Meine userid ist jjm19.

Drittens:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
jjm19@achat:~/bin/hplip-3.19.10$ sudo updatedb && locate uninstall.py
[sudo] Passwort für jjm19:            
/home/jjm19/bin/hplip-3.19.10/uninstall.py
/usr/lib/python2.7/dist-packages/pip/commands/uninstall.py
/usr/lib/python2.7/dist-packages/pip/commands/uninstall.pyc
/usr/lib/python2.7/dist-packages/pip/req/req_uninstall.py
/usr/lib/python2.7/dist-packages/pip/req/req_uninstall.pyc
/usr/lib/python2.7/ensurepip/_uninstall.py
/usr/lib/python2.7/ensurepip/_uninstall.pyc
/usr/local/lib/python2.7/dist-packages/pip/_internal/commands/uninstall.py
/usr/local/lib/python2.7/dist-packages/pip/_internal/commands/uninstall.pyc
/usr/local/lib/python2.7/dist-packages/pip/_internal/req/req_uninstall.py
/usr/local/lib/python2.7/dist-packages/pip/_internal/req/req_uninstall.pyc
/usr/share/hplip/uninstall.py
jjm19@achat:~/bin/hplip-3.19.10$ 

Ich vermute, dass ich mir meinen vergeblichen Installationsversuchen einen undefinierten Paketstatus erzeugt habe. Kann ich mit

1
sudo apt purge hplip hplip-data

wieder einen jungfräulichen Zustand erreichen? Wie kann ich das prüfen? Erst dann sollte ich hplip-3.19.10.run wiederholenn, ja?

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19527

Ich würde jetzt so vorgehen.Füge dich zur Gruppe lp hinzu

sudo adduser $USER lp

Dann die HP Version 3.19.10 ebenfalls löschen

sudo python /home/jjm19/bin/hplip-3.19.10/uninstall.py

den Rest aus der Paketverwaltung auch noch

sudo apt purge libsane-hpaio

Wenn das alles Fehlerfrei durch läuft -Neustart.

Danach erst mal

sudo apt-get -f install && sudo apt-get update && sudo apt-get dist-upgrade

Wenn das Fehlerfrei durch gelaufen ist,dann das Setup von HP starten im Ordner mit

sh hplip-3.19.10-plugin.run

jolexin

(Themenstarter)
Avatar von jolexin

Anmeldungsdatum:
22. Dezember 2009

Beiträge: 325

Installationsversuch 2019-11-06

adduser, uninstall, purge, Neustart durchgeführt.

Nach dem Neustart "sudo apt-get -f install && sudo apt-get update && sudo apt-get dist-upgrade" ausgeführt.

sh hplip-3.19.10.run durchgeführt.

# läuft fehlerfrei durch. scheinbar habe ich nun hplip 3.19.10

#hp-check -r

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
hp-check[19425]: info: :
hp-check[19425]: info: :[01mHP Linux Imaging and Printing System (ver. 3.19.10)[0m
hp-check[19425]: info: :[01mDependency/Version Check Utility ver. 15.1[0m
hp-check[19425]: info: :
hp-check[19425]: info: :Copyright (c) 2001-18 HP Development Company, LP
hp-check[19425]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[19425]: info: :This is free software, and you are welcome to distribute it
hp-check[19425]: info: :under certain conditions. See COPYING file for more details.
hp-check[19425]: info: :
hp-check[19425]: info: :[01mNote: hp-check can be run in three modes:[0m
hp-check[19425]: info: :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          
hp-check[19425]: info: :dependencies are installed to successfully compile HPLIP.                                                                                                     
hp-check[19425]: info: :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
hp-check[19425]: info: :the proper dependencies installed to successfully run.                                                                                                        
hp-check[19425]: info: :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).    
hp-check[19425]: info: :
hp-check[19425]: info: :Check types:                                                                                                                                                  
hp-check[19425]: info: :a. EXTERNALDEP - External Dependencies                                                                                                                        
hp-check[19425]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)                                                                                  
hp-check[19425]: info: :c. COMPILEDEP - Compile time Dependencies                                                                                                                     
hp-check[19425]: info: :d. [All are run-time checks]                                                                                                                                  
hp-check[19425]: info: :PYEXT SCANCONF QUEUES PERMISSION                                                                                                                              
hp-check[19425]: info: :
hp-check[19425]: info: :Status Types:
hp-check[19425]: info: :    OK
hp-check[19425]: info: :    MISSING       - Missing Dependency or Permission or Plug-in
hp-check[19425]: info: :    INCOMPAT      - Incompatible dependency-version or Plugin-version
hp-check[19425]: info: :
hp-check[19425]: info: :
hp-check[19425]: info: :---------------
hp-check[19425]: info: :| SYSTEM INFO |
hp-check[19425]: info: :---------------
hp-check[19425]: info: :
hp-check[19425]: info: : Kernel: 5.0.0-32-generic #34~18.04.2-Ubuntu SMP Thu Oct 10 10:36:02 UTC 2019 GNU/Linux
 Host: achat
 Proc: 5.0.0-32-generic #34~18.04.2-Ubuntu SMP Thu Oct 10 10:36:02 UTC 2019 GNU/Linux
 Distribution: 12 18.04
hp-check[19425]: info: : Bitness: 64 bit

hp-check[19425]: info: :
hp-check[19425]: info: :-----------------------
hp-check[19425]: info: :| HPLIP CONFIGURATION |
hp-check[19425]: info: :-----------------------
hp-check[19425]: info: :
hp-check[19425]: info: :HPLIP-Version: HPLIP 3.19.10
hp-check[19425]: info: :HPLIP-Home: /usr/share/hplip
hp-check[19425]: info: :HPLIP-Installation: Auto installation is supported for ubuntu distro  18.04 version 
hp-check[19425]: info: :
hp-check[19425]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[19425]: info: :# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.19.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.19.10
html=/usr/share/doc/hplip-3.19.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.19.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no

hp-check[19425]: info: :
hp-check[19425]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[19425]: info: :[plugin]
installed = 1
eula = 1
version = 3.19.10


hp-check[19425]: info: :
hp-check[19425]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[19425]: info: :[installation]
date_time = 11/06/19 10:45:22
version = 3.19.10

[upgrade]
notify_upgrade = true
last_upgraded_time = 1573032192
pending_upgrade_time = 0


hp-check[19425]: info: : <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>
hp-check[19425]: info: :
hp-check[19425]: info: :-------------------------
hp-check[19425]: info: :| External Dependencies |
hp-check[19425]: info: :-------------------------
hp-check[19425]: info: :
hp-check[19425]: info: : cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.2.7           OK         'CUPS Scheduler is running'
hp-check[19425]: info: : gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
hp-check[19425]: info: : xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
hp-check[19425]: info: : scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
hp-check[19425]: info: : dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.2          OK         -
hp-check[19425]: info: : policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
hp-check[19425]: info: : network              network -wget                                                OPTIONAL        -               1.19.4          OK         -
hp-check[19425]: info: : avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -
hp-check[19425]: info: :
hp-check[19425]: info: :------------------------
hp-check[19425]: info: :| General Dependencies |
hp-check[19425]: info: :------------------------
hp-check[19425]: info: :
hp-check[19425]: info: : libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
hp-check[19425]: info: : cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.2.7           OK         -
hp-check[19425]: info: : cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.2.7           OK         -
hp-check[19425]: info: : libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.27'         OK         -
hp-check[19425]: info: : libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
hp-check[19425]: info: : sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
hp-check[19425]: info: : sane-devel           SANE - Scanning library development files                    REQUIRED        -               -               OK         -
hp-check[19425]: info: : libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.3           OK         -
hp-check[19425]: info: : libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           OK         -
hp-check[19425]: info: : python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.6.8           OK         -
hp-check[19425]: info: : python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
hp-check[19425]: info: : python3-pyqt4-dbus   PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             4.12.1          OK         -
hp-check[19425]: info: : python3-pyqt4        PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.12.1          OK         -
hp-check[19425]: info: : python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
hp-check[19425]: info: : python3-xml          Python XML libraries                                         REQUIRED        -               2.2.5           OK         -
hp-check[19425]: info: : python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.6.8           OK         -
hp-check[19425]: info: : python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               6.2.1           OK         -
hp-check[19425]: info: : python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -
hp-check[19425]: info: :
hp-check[19425]: info: :--------------
hp-check[19425]: info: :| COMPILEDEP |
hp-check[19425]: info: :--------------
hp-check[19425]: info: :
hp-check[19425]: info: : libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -
hp-check[19425]: info: : gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.4.0           OK         -
hp-check[19425]: info: : make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -
hp-check[19425]: info: :
hp-check[19425]: info: :---------------------
hp-check[19425]: info: :| Python Extentions |
hp-check[19425]: info: :---------------------
hp-check[19425]: info: :
hp-check[19425]: info: : cupsext              CUPS-Extension                                               REQUIRED        -               3.19.10         OK         -
hp-check[19425]: info: : hpmudext             IO-Extension                                                 REQUIRED        -               3.19.10         OK         -
hp-check[19425]: info: :
hp-check[19425]: info: :----------------------
hp-check[19425]: info: :| Scan Configuration |
hp-check[19425]: info: :----------------------
hp-check[19425]: info: :
hp-check[19425]: info: : hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.19.10         OK         'hpaio found in /etc/sane.d/dll.conf'
hp-check[19425]: info: : scanext              Scan-SANE-Extension                                          REQUIRED        -               3.19.10         OK         -
hp-check[19425]: info: :
hp-check[19425]: info: :------------------------------
hp-check[19425]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[19425]: info: :------------------------------
hp-check[19425]: info: :
hp-check[19425]: info: :No Scanner found.
hp-check[19425]: info: :
hp-check[19425]: info: :--------------------------
hp-check[19425]: info: :| DISCOVERED USB DEVICES |
hp-check[19425]: info: :--------------------------
hp-check[19425]: info: :
hp-check[19425]: info: :No devices found.
hp-check[19425]: info: :
hp-check[19425]: info: :---------------------------------
hp-check[19425]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[19425]: info: :---------------------------------
hp-check[19425]: info: :
hp-check[19425]: info: :
hp-check[19425]: info: :[01mHP-ColorLaserJet-MFP-M278-M281[0m
hp-check[19425]: info: :[01m------------------------------[0m
hp-check[19425]: info: :Type: Unknown
hp-check[19425]: info: :Device URI: usb://HP/ColorLaserJet%20MFP%20M278-M281?serial=VNBNL1K59K
hp-check[19425]: info: :PPD: /etc/cups/ppd/HP-ColorLaserJet-MFP-M278-M281.ppd
hp-check[19425]: info: :PPD Description: Generic PostScript Printer
hp-check[19425]: info: :Printer status: Drucker HP-ColorLaserJet-MFP-M278-M281 ist im Leerlauf.  Aktiviert seit So 03 Nov 2019 22:16:07 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
hp-check[19425]: info: :
hp-check[19425]: info: :[01mHP_Color_LaserJet_MFP_M281fdw_5F6A80_[0m
hp-check[19425]: info: :[01m-------------------------------------[0m
hp-check[19425]: info: :Type: Unknown
hp-check[19425]: info: :Device URI: ipps://NPI5F6A80.local:631/ipp/print
hp-check[19425]: info: :PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_M281fdw_5F6A80_.ppd
hp-check[19425]: info: :PPD Description: ColorLaserJet MFP M278-M281
hp-check[19425]: info: :Printer status: Drucker HP_Color_LaserJet_MFP_M281fdw_5F6A80_ ist im Leerlauf.  Aktiviert seit Mi 06 Nov 2019 10:29:17 CET
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
hp-check[19425]: info: :
hp-check[19425]: info: :[01mHP_ColorLaserJet_MFP_M278-M281[0m
hp-check[19425]: info: :[01m------------------------------[0m
hp-check[19425]: info: :Type: Unknown
hp-check[19425]: info: :Device URI: usb://HP/ColorLaserJet%20MFP%20M278-M281?serial=VNBNL1K59K
hp-check[19425]: info: :PPD: /etc/cups/ppd/HP_ColorLaserJet_MFP_M278-M281.ppd
hp-check[19425]: info: :PPD Description: HP ColorLaserJet MFP M278-M281 Postscript (recommended)
hp-check[19425]: info: :Printer status: Drucker HP_ColorLaserJet_MFP_M278-M281 ist im Leerlauf.  Aktiviert seit Mo 04 Nov 2019 10:49:56 CET
	Datei "/usr/lib/cups/filter/hpps" nicht verfügbar: No such file or directory
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
hp-check[19425]: info: :
hp-check[19425]: info: :
hp-check[19425]: info: :--------------
hp-check[19425]: info: :| PERMISSION |
hp-check[19425]: info: :--------------
hp-check[19425]: info: :
hp-check[19425]: info: :
hp-check[19425]: info: :-----------
hp-check[19425]: info: :| SUMMARY |
hp-check[19425]: info: :-----------
hp-check[19425]: info: :
hp-check[19425]: info: :[01mMissing Required Dependencies[0m
hp-check[19425]: info: :[01m-----------------------------[0m
hp-check[19425]: info: :None
hp-check[19425]: info: :
hp-check[19425]: info: :[01mMissing Optional Dependencies[0m
hp-check[19425]: info: :[01m-----------------------------[0m
hp-check[19425]: info: :None

hp-check[19425]: info: :
hp-check[19425]: info: :Total Errors: 0
hp-check[19425]: info: :Total Warnings: 3
hp-check[19425]: info: :
hp-check[19425]: info: :
hp-check[19425]: info: :Done.

*** Es ist immer noch kein Scanner zu erkennen!***

Unverständlich sind für mich bei der check-Ausgabe die Warnungen in Zeilen 205, 214, 224! Sind die für mein Scannerproblem von Bedeutung?

Unmittelbar davor steht doch jeweils, dass der Drucker läuft - siehe z.B. Zeilen 198-204.

Mit dem Befehl hp-setup finde ich auch keinen Scanner.

Habe dann noch von https://developers.hp.com/hp-linux-imaging-and-printing/plugins das script hplip-3.19.10-plugin.run heruntergeladen und ausgeführt:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
jjm19@achat:~/
bin$ sudo sh hplip-3.19.10-plugin.run
[sudo] Passwort für jjm19:            
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.10 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.19.10)
Plugin Installer ver. 3.0

Plug-in version: 3.19.10
Installed HPLIP version: 3.19.10
Number of files to install: 64

Done.

Gesamtergebnis: kein scanner und ich weiß nicht, warum.

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19527

Zeige mal bitte

export SANE_DEBUG_DLL=255 && scanimage -L

sudo sane-find-scanner -q
Antworten |