Bekommt er
sudo apt-get install --reinstall hplip hplip-data
Anmeldungsdatum: Beiträge: 19610 Wohnort: Schleswig-Holstein |
Bekommt er sudo apt-get install --reinstall hplip hplip-data |
(Themenstarter)
Anmeldungsdatum: Beiträge: 162 |
okay. Hat er gemacht 😇 |
(Themenstarter)
Anmeldungsdatum: Beiträge: 162 |
hp-setup -i bringt folgende Fehlermeldung: sing connection type: net |Traceback (most recent call last): File "/usr/share/hplip/base/models.py", line 539, in __getitem__ return self.__cache[model] KeyError: 'officejet_6700' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/hp-setup", line 375, in <module> device_uri = mod.getDeviceUri(devices = device.probeDevices(bus)) File "/usr/share/hplip/base/device.py", line 532, in probeDevices mq = queryModelByModel(model) File "/usr/share/hplip/base/device.py", line 446, in queryModelByModel return model_dat[model] File "/usr/share/hplip/base/models.py", line 545, in __getitem__ if self.read_section(self.released_dat, model): File "/usr/share/hplip/base/models.py", line 455, in read_section fd = open(filename) TypeError: expected str, bytes or os.PathLike object, not NoneType und hp-check error: Unable to locate models.dat file Saving output in log file: /home/uli/hp-check.log HP Linux Imaging and Printing System (ver. 3.18.3) Dependency/Version Check Utility ver. 15.1 Copyright (c) 2001-15 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Note: hp-check can be run in three modes: 1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP. 2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run. 3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies). Check types: a. EXTERNALDEP - External Dependencies b. GENERALDEP - General Dependencies (required both at compile and run time) c. COMPILEDEP - Compile time Dependencies d. [All are run-time checks] PYEXT SCANCONF QUEUES PERMISSION Status Types: OK MISSING - Missing Dependency or Permission or Plug-in INCOMPAT - Incompatible dependency-version or Plugin-version warning: 12-17.10 version is not supported. Using 12-17.04 versions dependencies to verify and install... --------------- | SYSTEM INFO | --------------- Kernel: 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018 GNU/Linux Host: uli-ThinkPad-E550 Proc: 4.13.0-37-generic #42-Ubuntu SMP Wed Mar 7 14:13:23 UTC 2018 GNU/Linux Distribution: 12 17.10 Bitness: 64 bit ----------------------- | HPLIP CONFIGURATION | ----------------------- HPLIP-Version: HPLIP 3.18.3 HPLIP-Home: /usr/share/hplip warning: HPLIP-Installation: Auto installation is not supported for 12 distro 17.10 version Current contents of '/etc/hp/hplip.conf' file: # hplip.conf. Generated from hplip.conf.in by configure. [hplip] version=3.18.3 [dirs] home=/usr/share/hplip run=/var/run ppd=/usr/share/ppd/hplip/HP ppdbase=/usr/share/ppd/hplip doc=/usr/share/doc/hplip-3.18.3 html=/usr/share/doc/hplip-3.18.3 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.18.3 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: No such file or directory Current contents of '~/.hplip/hplip.conf' file: [installation] date_time = 04/01/18 09:37:39 version = 3.18.3 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment> ------------------------- | External Dependencies | ------------------------- cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.4 OK 'CUPS Scheduler is running' gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.21 OK - xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK - scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK - dbus DBus - Message bus system REQUIRED - 1.10.22 OK - policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK - network network -wget OPTIONAL - 1.19.1 OK - avahi-utils avahi-utils OPTIONAL - 0.6.32 OK - ------------------------ | General Dependencies | ------------------------ libjpeg libjpeg - JPEG library REQUIRED - - OK - cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.4 OK - cups-image CUPS image - CUPS image development files REQUIRED - 2.2.4 OK - libpthread libpthread - POSIX threads library REQUIRED - b'2.26' OK - libusb libusb - USB library REQUIRED - 1.0 OK - sane SANE - Scanning library REQUIRED - - OK - sane-devel SANE - Scanning library development files REQUIRED - - OK - libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK - libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK - python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.6.3 OK - python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK - python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 OK - python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK - python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.4 OK - python3-xml Python XML libraries REQUIRED - 2.2.3 OK - python3-devel Python devel - Python development files REQUIRED 2.2 3.6.3 OK - python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK - python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK - -------------- | COMPILEDEP | -------------- libtool libtool - Library building support services REQUIRED - 2.4.6 OK - gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.2.0 OK - make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK - --------------------- | Python Extentions | --------------------- cupsext CUPS-Extension REQUIRED - 3.18.3 OK - hpmudext IO-Extension REQUIRED - 3.18.3 OK - ---------------------- | Scan Configuration | ---------------------- hpaio HPLIP-SANE-Backend REQUIRED - 3.18.3 OK 'hpaio found in /etc/sane.d/dll.conf' scanext Scan-SANE-Extension REQUIRED - 3.18.3 OK - ------------------------------ | DISCOVERED SCANNER DEVICES | ------------------------------ No Scanner found. -------------------------- | DISCOVERED USB DEVICES | -------------------------- No devices found. --------------------------------- | INSTALLED CUPS PRINTER QUEUES | --------------------------------- HP-Officejet-6700 ----------------- Type: Printer Device URI: hp:/net/Officejet_6700?hostname=HPA01D48C51CE6.local Traceback (most recent call last): File "/usr/share/hplip/base/models.py", line 539, in __getitem__ return self.__cache[model] KeyError: 'officejet_6700' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/hp-check", line 862, in <module> num_errors, num_warns = dep.validate(time_flag, is_quiet_mode) File "/usr/bin/hp-check", line 542, in validate d = device.Device(device_uri,None, None, None, True) File "/usr/share/hplip/base/device.py", line 1065, in __init__ self.queryModel() File "/usr/share/hplip/base/device.py", line 1137, in queryModel self.mq = queryModelByURI(self.device_uri) File "/usr/share/hplip/base/device.py", line 457, in queryModelByURI return queryModelByModel(model) File "/usr/share/hplip/base/device.py", line 446, in queryModelByModel return model_dat[model] File "/usr/share/hplip/base/models.py", line 545, in __getitem__ if self.read_section(self.released_dat, model): File "/usr/share/hplip/base/models.py", line 455, in read_section fd = open(filename) TypeError: expected str, bytes or os.PathLike object, not NoneType |
Anmeldungsdatum: Beiträge: 19610 Wohnort: Schleswig-Holstein |
Alles beim alten wie du ja siehst.Immer noch 3.18 Also nochmal.Dieses mal wird aber alles gelöscht. Hier geht es los https://forum.ubuntuusers.de/topic/hp-officejet-6700-druckt-nicht-mehr/#post-8956023 Vorher natürlich erst hplip deinstallieren sudo apt purge hplip* Wie gehabt alles zeigen. |
(Themenstarter)
Anmeldungsdatum: Beiträge: 162 |
okay. /etc/apparmor.d/usr.share.hplip /etc/apt/sources.list.d/hplip-isv-ubuntu-ppa-artful.list /etc/apt/sources.list.d/hplip-isv-ubuntu-ppa-artful.list.save /etc/apt/trusted.gpg.d/hplip-isv_ubuntu_ppa.gpg /etc/apt/trusted.gpg.d/hplip-isv_ubuntu_ppa.gpg~ /etc/hp/hplip.conf /etc/xdg/autostart/hplip-systray.desktop /home/uli/.local/share/Trash/files/.hplip /home/uli/.local/share/Trash/files/20-hplip-devices.fdi /home/uli/.local/share/Trash/files/hplip /home/uli/.local/share/Trash/files/hplip-3.12.6.tar.gz /home/uli/.local/share/Trash/files/hplip-3.18.3 /home/uli/.local/share/Trash/files/hplip-3.18.3(1).run /home/uli/.local/share/Trash/files/hplip-3.18.3.run /home/uli/.local/share/Trash/files/hplip-install /home/uli/.local/share/Trash/files/hplip-install_Sat-31-Mar-2018_12:54:33.log /home/uli/.local/share/Trash/files/hplip-install_Sat-31-Mar-2018_12:55:32.log /home/uli/.local/share/Trash/files/hplip-install_Sat-31-Mar-2018_17:23:49.log /home/uli/.local/share/Trash/files/hplip-install_Sat-31-Mar-2018_19:47:18.log /home/uli/.local/share/Trash/files/hplip-printer@.service /home/uli/.local/share/Trash/files/hplip-systray.desktop /home/uli/.local/share/Trash/files/hplip-systray.desktop.in /home/uli/.local/share/Trash/files/hplip.2 /home/uli/.local/share/Trash/files/hplip.conf /home/uli/.local/share/Trash/files/hplip.conf.in /home/uli/.local/share/Trash/files/hplip.desktop /home/uli/.local/share/Trash/files/hplip.desktop.in /home/uli/.local/share/Trash/files/hplip.list /home/uli/.local/share/Trash/files/hplip.list.in /home/uli/.local/share/Trash/files/hplip_clean.sh /home/uli/.local/share/Trash/files/hplipclassdriver.spec /home/uli/.local/share/Trash/files/usr.share.hplip /home/uli/.local/share/Trash/files/.hplip/hplip.conf /home/uli/.local/share/Trash/files/apparmor/usr.share.hplip /home/uli/.local/share/Trash/files/apparmor/abstractions/hplip /home/uli/.local/share/Trash/files/data/localization/hplip_de.qm /home/uli/.local/share/Trash/files/data/localization/hplip_de.ts /home/uli/.local/share/Trash/files/data/localization/hplip_es.qm /home/uli/.local/share/Trash/files/data/localization/hplip_es.ts /home/uli/.local/share/Trash/files/data/localization/hplip_fr.qm /home/uli/.local/share/Trash/files/data/localization/hplip_fr.ts /home/uli/.local/share/Trash/files/data/localization/hplip_it.qm /home/uli/.local/share/Trash/files/data/localization/hplip_it.ts /home/uli/.local/share/Trash/files/data/localization/hplip_pt.qm /home/uli/.local/share/Trash/files/data/localization/hplip_pt.ts /home/uli/.local/share/Trash/files/data/localization/hplip_ru.qm /home/uli/.local/share/Trash/files/data/localization/hplip_ru.ts /home/uli/.local/share/Trash/files/data/localization/hplip_zh.qm /home/uli/.local/share/Trash/files/data/localization/hplip_zh.ts /home/uli/.local/share/Trash/files/data/policykit/com.hp.hplip.conf /home/uli/.local/share/Trash/files/data/policykit/com.hp.hplip.policy /home/uli/.local/share/Trash/files/data/policykit/com.hp.hplip.service /home/uli/.local/share/Trash/files/data/policykit/com.hp.hplip.service.in /home/uli/.local/share/Trash/files/data/rules/20-hplip-devices.fdi /home/uli/.local/share/Trash/files/data/rules/hplip-printer@.service /home/uli/.local/share/Trash/files/hp.2/hplip.conf /home/uli/.local/share/Trash/files/hplip-3.18.3/COPYING /home/uli/.local/share/Trash/files/hplip-3.18.3/README_LIBJPG /home/uli/.local/share/Trash/files/hplip-3.18.3/commandline.html /home/uli/.local/share/Trash/files/hplip-3.18.3/copying.html /home/uli/.local/share/Trash/files/hplip-3.18.3/copyright /home/uli/.local/share/Trash/files/hplip-3.18.3/devicemanager.html /home/uli/.local/share/Trash/files/hplip-3.18.3/faxtrouble.html /home/uli/.local/share/Trash/files/hplip-3.18.3/gettinghelp.html /home/uli/.local/share/Trash/files/hplip-3.18.3/hpscan.html /home/uli/.local/share/Trash/files/hplip-3.18.3/images /home/uli/.local/share/Trash/files/hplip-3.18.3/index.html /home/uli/.local/share/Trash/files/hplip-3.18.3/mainttask.html /home/uli/.local/share/Trash/files/hplip-3.18.3/plugins.html /home/uli/.local/share/Trash/files/hplip-3.18.3/print.html /home/uli/.local/share/Trash/files/hplip-3.18.3/printing.html /home/uli/.local/share/Trash/files/hplip-3.18.3/printoptions.html /home/uli/.local/share/Trash/files/hplip-3.18.3/printtroubleshooting.html /home/uli/.local/share/Trash/files/hplip-3.18.3/scanning.html /home/uli/.local/share/Trash/files/hplip-3.18.3/scantrouble.html /home/uli/.local/share/Trash/files/hplip-3.18.3/sendfax.html /home/uli/.local/share/Trash/files/hplip-3.18.3/setup.html /home/uli/.local/share/Trash/files/hplip-3.18.3/styles /home/uli/.local/share/Trash/files/hplip-3.18.3/systray.html /home/uli/.local/share/Trash/files/hplip-3.18.3/troubleshooting.html /home/uli/.local/share/Trash/files/hplip-3.18.3/uninstalling.html /home/uli/.local/share/Trash/files/hplip-3.18.3/upgrading.html /home/uli/.local/share/Trash/files/hplip-3.18.3/images/favicon.ico /home/uli/.local/share/Trash/files/hplip-3.18.3/images/print.png /home/uli/.local/share/Trash/files/hplip-3.18.3/images/toolbox_actions.png /home/uli/.local/share/Trash/files/hplip-3.18.3/images/toolbox_fax.png /home/uli/.local/share/Trash/files/hplip-3.18.3/images/toolbox_print_control.png /home/uli/.local/share/Trash/files/hplip-3.18.3/images/toolbox_print_settings.png /home/uli/.local/share/Trash/files/hplip-3.18.3/images/toolbox_status.png /home/uli/.local/share/Trash/files/hplip-3.18.3/images/toolbox_supplies.png /home/uli/.local/share/Trash/files/hplip-3.18.3/images/xsane.png /home/uli/.local/share/Trash/files/hplip-3.18.3/styles/css.css /home/uli/.local/share/Trash/files/prnt/hpijs/foomatic-rip-hplip /home/uli/.local/share/Trash/files/selinux/hplip.fc /home/uli/.local/share/Trash/files/selinux/hplip.if /home/uli/.local/share/Trash/files/selinux/hplip.pp /home/uli/.local/share/Trash/files/selinux/hplip.te /home/uli/.local/share/Trash/info/.hplip.trashinfo /home/uli/.local/share/Trash/info/20-hplip-devices.fdi.trashinfo /home/uli/.local/share/Trash/info/hplip-3.12.6.tar.gz.trashinfo /home/uli/.local/share/Trash/info/hplip-3.18.3(1).run.trashinfo /home/uli/.local/share/Trash/info/hplip-3.18.3.run.trashinfo /home/uli/.local/share/Trash/info/hplip-3.18.3.trashinfo /home/uli/.local/share/Trash/info/hplip-install.trashinfo /home/uli/.local/share/Trash/info/hplip-install_Sat-31-Mar-2018_12:54:33.log.trashinfo /home/uli/.local/share/Trash/info/hplip-install_Sat-31-Mar-2018_12:55:32.log.trashinfo /home/uli/.local/share/Trash/info/hplip-install_Sat-31-Mar-2018_17:23:49.log.trashinfo /home/uli/.local/share/Trash/info/hplip-install_Sat-31-Mar-2018_19:47:18.log.trashinfo /home/uli/.local/share/Trash/info/hplip-printer@.service.trashinfo /home/uli/.local/share/Trash/info/hplip-systray.desktop.in.trashinfo /home/uli/.local/share/Trash/info/hplip-systray.desktop.trashinfo /home/uli/.local/share/Trash/info/hplip.2.trashinfo /home/uli/.local/share/Trash/info/hplip.conf.in.trashinfo /home/uli/.local/share/Trash/info/hplip.conf.trashinfo /home/uli/.local/share/Trash/info/hplip.desktop.in.trashinfo /home/uli/.local/share/Trash/info/hplip.desktop.trashinfo /home/uli/.local/share/Trash/info/hplip.list.in.trashinfo /home/uli/.local/share/Trash/info/hplip.list.trashinfo /home/uli/.local/share/Trash/info/hplip.trashinfo /home/uli/.local/share/Trash/info/hplip_clean.sh.trashinfo /home/uli/.local/share/Trash/info/hplipclassdriver.spec.trashinfo /home/uli/.local/share/Trash/info/usr.share.hplip.trashinfo /usr/share/app-install/desktop/hplip-gui:hplip.desktop /usr/share/applications/hplip.desktop /usr/share/ppd/hplip /usr/share/ppd/hplip/HP /usr/share/ppd/hplip/HP/HP-Fax-hpcups.ppd.gz /usr/share/ppd/hplip/HP/HP-Fax2-hpcups.ppd.gz /usr/share/ppd/hplip/HP/HP-Fax3-hpcups.ppd.gz /usr/share/ppd/hplip/HP/HP-Fax4-hpcups.ppd.gz /var/crash/_usr_share_hplip_check.py.0.crash /var/crash/_usr_share_hplip_check.py.1000.crash /var/crash/_usr_share_hplip_setup.py.0.crash /var/crash/_usr_share_hplip_setup.py.1000.crash |
Anmeldungsdatum: Beiträge: 19610 Wohnort: Schleswig-Holstein |
Dein Beitrag ist im Spam Ordner gelandet.Führe noch aus sudo rm -rf /etc/hp sudo rm -rf /var/lib/hp sudo rm -rf /usr/share/hplip rm -rf ~/.hplip Entferne ihn auch falls noch vorhanden aus dem Drucker Menue system-config-printer
|
(Themenstarter)
Anmeldungsdatum: Beiträge: 162 |
Okay - erledigt 😇 Und nun? |
Anmeldungsdatum: Beiträge: 19610 Wohnort: Schleswig-Holstein |
Wir sollten dises mal Sicherstellen das nichts mehr vorhanden ist,ansonsten sind wir wieder beim alten zustand.Also lieber nochmal prüfen sudo updatedb gefolgt von sudo locate hplip Wenn nichts mehr da ist zwingend ein Neustart. Danach die Installation wieder ausführen sudo apt install hplip |
(Themenstarter)
Anmeldungsdatum: Beiträge: 162 |
Es erscheint eine Meldung: Druckdienst nicht verfügbar. Dienst starten oder mit anderem Server verbinden Wenn ich auf Verbindung klicke, kommt die Fehlermeldung failed to connect to server |
(Themenstarter)
Anmeldungsdatum: Beiträge: 162 |
Bei der Installation von hplip trit folgender Fehler auf: Creating/updating hplip user account... dpkg-statoverride: Warnung: --update angegeben, aber /var/run/hplip existiert nicht Can't open /etc/hp/hplip.conf: Datei oder Verzeichnis nicht gefunden. Can't open /etc/hp/hplip.conf: Datei oder Verzeichnis nicht gefunden. printer-driver-postscript-hp (3.17.7+repack0-3) wird eingerichtet ... Trigger für dbus (1.10.22-1ubuntu1) werden verarbeitet ... |
Anmeldungsdatum: Beiträge: 19610 Wohnort: Schleswig-Holstein |
Zeige mal cat /var/lib/dpkg/statoverride |
(Themenstarter)
Anmeldungsdatum: Beiträge: 162 |
beim 2ten Versuch hat er es ohne Fehler beendet. cat /var/lib/dpkg/statoverride bringt geoclue geoclue 755 /var/lib/geoclue root lp 775 /var/log/hp/tmp root postdrop 2555 /usr/sbin/postqueue postfix postdrop 2710 /var/spool/postfix/public root root 4755 /usr/sbin/mount.davfs root crontab 2755 /usr/bin/crontab root mlocate 2755 /usr/bin/mlocate root ssl-cert 710 /etc/ssl/private hplip root 755 /var/run/hplip root messagebus 4754 /usr/lib/dbus-1.0/dbus-daemon-launch-helper root postdrop 2555 /usr/sbin/postdrop |
Anmeldungsdatum: Beiträge: 19610 Wohnort: Schleswig-Holstein |
Dann müsste der Drucker ja jetzt Funktionieren 😇 |
(Themenstarter)
Anmeldungsdatum: Beiträge: 162 |
Nein. Meldung:"Es werden keine Aufträge angenommen" 😳 Ich glaube, es liegt eher daran, dass http://localhost:631 nicht funktioniert.... |
Anmeldungsdatum: Beiträge: 19610 Wohnort: Schleswig-Holstein |
Das glaube ich zwar nicht aber dann nochmal sudo apt-get install --reinstall cups Hier ist auch noch mal was Interessantes von unserem axt https://axebase.net/blog/2014/12/05/installation-hp-linux-imaging-and-printing/ |