staging.inyokaproject.org

HP-Drucker unter Ubuntu 20.04 LTS

Status: Gelöst | Ubuntu-Version: Ubuntu 20.04 (Focal Fossa)
Antworten |

Joker222

Anmeldungsdatum:
12. Mai 2019

Beiträge: 141

Hallo Stephan, ich habe von Ubuntu 18LTS auf Ubuntu 20.04LTS umgestellt. Der HP-Drucker, Typ:LaserJetPro MFP M130nw funktioniert. Nach dem Befehl für die Installation der Plugins für den Scanner (sh hplip-3.20.6-plugin.run) kommt die Warnung: python-dbus not installed. Anschließend kommen noch 4 Fehlermeldungen. Was muss ich machen, damit der python-dbus installiert wird? Viele Grüße Johannes

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 18245

Wohl

sudo apt install python-dbus

PS: Ich bin nicht Stephan.

Joker222

(Themenstarter)

Anmeldungsdatum:
12. Mai 2019

Beiträge: 141

die Warnung ist weg. Aber die Fehlermeldungen sind noch da: 1. Meldung: plug-in version mismatch; 2. Meldung: Plug-in version: 3.20.6; 3. Meldung: Installed HPLIP version: 3.20.3; 4. Meldung: Installed HPLIP version and plug-in version must match; Wie kann ich die installierte plug-in version 3.20.3 entfernen?

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 18245

DU musst das Plugin für deine Version herunterladen (3.20.3 statt 3.20.6)

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Moin Johannes,

ich hoffe mal das du nur das Falsche Plugin erwischt hast. Zeige mal

dpkg -l | egrep 'ippusbxd|libusb-0.1-4|system-config-printer-udev|HP'

sowie

hp-info -i

Gruß Stephan

Joker222

(Themenstarter)

Anmeldungsdatum:
12. Mai 2019

Beiträge: 141

Hallo Stephan, wie kann ich die Anzeigen im Terminal in der korrekten Form speichern? Gruß Johannes

DJKUhpisse Team-Icon

Supporter, Wikiteam
Avatar von DJKUhpisse

Anmeldungsdatum:
18. Oktober 2016

Beiträge: 18245

Markieren und hier im Codeblock (innerhalb 3 geschweifter Klammern) im Forum posten.

Joker222

(Themenstarter)

Anmeldungsdatum:
12. Mai 2019

Beiträge: 141

johannes@johannes-GA-78LMT-S2P:~$ dpkg -l | egrep 'ippusbxd|libbusb-0.1-4|system-config-printer-udev|HP'
ii  hplip                                             3.20.3+dfsg0-2                      amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                        3.20.3+dfsg0-2                      all          HP Linux Printing and Imaging - data files
ii  ippusbxd                                          1.34-2ubuntu1                       amd64        Daemon for IPP USB printer support
ii  libhpmud0:amd64                                   3.20.3+dfsg0-2                      amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libsane-hpaio:amd64                               3.20.3+dfsg0-2                      amd64        HP SANE backend for multi-function peripherals
ii  printer-driver-hpcups                             3.20.3+dfsg0-2                      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.20.3+dfsg0-2                      amd64        HP Printers PostScript Descriptions
ii  printer-driver-pxljr                              1.4+repack0-5                       amd64        printer driver for HP Color LaserJet 35xx/36xx
ii  system-config-printer-udev                        1.5.12-0ubuntu1                     amd64        Utilities to detect and configure printers automatically
johannes@johannes-GA-78LMT-S2P:~$ hp-info -i

HP Linux Imaging and Printing System (ver. 3.20.3)
Device Information Utility ver. 5.2

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.


HP Linux Imaging and Printing System (ver. 3.20.3)
System Tray Status Service ver. 2.0

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.

warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
warning: Unable to connect to dbus. Is hp-systray running?

hp:/usb/HP_LaserJet_MFP_M129-M134?serial=VNCNK09587

Device Parameters (dynamic data):
  Parameter                     Value(s)                                                  
  ----------------------------  ----------------------------------------------------------
  agent1-ack                    False                                                     
  agent1-desc                   Black toner cartridge                                     
  agent1-dvc                    0                                                         
  agent1-health                 0                                                         
  agent1-health-desc            Good/OK                                                   
  agent1-hp-ink                 False                                                     
  agent1-id                     0                                                         
  agent1-kind                   4                                                         
  agent1-known                  False                                                     
  agent1-level                  90                                                        
  agent1-level-trigger          0                                                         
  agent1-sku                    CF217A                                                    
  agent1-type                   1                                                         
  agent1-virgin                 False                                                     
  back-end                      hp                                                        
  cups-printers                 ['HP-LaserJet-MFP-M129-M134']                             
  cups-uri                      hp:/usb/HP_LaserJet_MFP_M129-M134?serial=VNCNK09587       
  dev-file                                                                                
  device-state                  1                                                         
  device-uri                    hp:/usb/HP_LaserJet_MFP_M129-M134?serial=VNCNK09587       
  deviceid                      MFG:HP;CMD:PJL,PML,URP;MDL:HP LaserJet MFP                
                                M129-M134;CLS:PRINTER;DES:HP LaserJet MFP                 
                                M130nw;MEM:MEM=233MB;PRN:G3Q58A;COMMENT:RES=600x1;LEDMDIS:
                                USB#ff#04#01;CID:HPLJPCLMSMV1;IPP-E:FF-04-01,FF-04-01,FF-0
                                9-01,FF-09-01;eSCL:FF-04-01,FF-04-01,FF-09-01,FF-09-01;MCT
                                :MF;MCL:FL;MCV:1.0;                                       
  error-state                   0                                                         
  fax-uri                       hpfax:/usb/HP_LaserJet_MFP_M129-M134?serial=VNCNK09587    
  host                                                                                    
  in-tray1                      1                                                         
  is-hp                         True                                                      
  panel                         0                                                         
  panel-line1                                                                             
  panel-line2                                                                             
  port                          1                                                         
  r                             0                                                         
  rg                            000                                                       
  rr                            000000                                                    
  rs                            000000000                                                 
  scan-uri                      hpaio:/usb/HP_LaserJet_MFP_M129-M134?serial=VNCNK09587    
  serial                        VNCNK09587                                                
  status-code                   1046                                                      
  status-desc                   In power save mode                                        

Model Parameters (static data):
  Parameter                     Value(s)                                                  
  ----------------------------  ----------------------------------------------------------
  align-type                    0                                                         
  clean-type                    0                                                         
  color-cal-type                0                                                         
  copy-type                     0                                                         
  embedded-server-type          1                                                         
  family-class                  ['PCLM_MONO']                                             
  fax-type                      7                                                         
  fw-download                   False                                                     
  icon                          HP_LaserJet_1012.png                                      
  io-mfp-mode                   1                                                         
  io-mode                       1                                                         
  io-support                    14                                                        
  job-storage                   0                                                         
  linefeed-cal-type             0                                                         
  model                         HP_LaserJet_MFP_M129-M134                                 
  model-ui                      HP LaserJet MFP m129-m134                                 
  model1                        HP LaserJet Pro MFP M132a                                 
  model10                       HP LaserJet Pro MFP M130nw                                
  model11                       HP LaserJet Pro MFP M130fn                                
  model12                       HP LaserJet Pro MFP M130fw                                
  model2                        HP LaserJet Pro MFP M132nw                                
  model3                        HP LaserJet Pro MFP M132snw                               
  model4                        HP LaserJet Pro MFP M134a                                 
  model5                        HP LaserJet Pro MFP M132fw                                
  model6                        HP LaserJet Pro MFP M132fn                                
  model7                        HP LaserJet Pro MFP M132fp                                
  model8                        HP LaserJet Pro MFP M134fn                                
  model9                        HP LaserJet Pro MFP M130a                                 
  monitor-type                  0                                                         
  panel-check-type              0                                                         
  pcard-type                    0                                                         
  plugin                        0                                                         
  plugin-reason                 0                                                         
  power-settings                0                                                         
  pq-diag-type                  0                                                         
  r-type                        0                                                         
  scan-src                      3                                                         
  scan-type                     5                                                         
  status-battery-check          0                                                         
  status-dynamic-counters       0                                                         
  status-type                   10                                                        
  support-released              True                                                      
  support-subtype               2202411                                                   
  support-type                  2                                                         
  support-ver                   3.16.11                                                   
  tech-class                    ['Hbpl1']                                                 
  tech-subclass                 ['Mono']                                                  
  tech-type                     3                                                         
  usb-pid                       25130                                                     
  usb-vid                       1008                                                      
  wifi-config                   3                                                         

Done.
johannes@johannes-GA-78LMT-S2P:~$ 

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Gut, nun im Terminal

hp-plugin -i

sowie

sudo apt purge ippusbxd

Joker222

(Themenstarter)

Anmeldungsdatum:
12. Mai 2019

Beiträge: 141

johannes@johannes-GA-78LMT-S2P:~$ hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.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.


HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.20.3 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recommended)            
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? d

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from: 
Downloading plug-in: [\                                                                                                                        ] 0%     Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 363, in <module>
    status, plugin_path, error_str = pluginObj.download(plugin_path, plugin_download_callback)
  File "/usr/share/hplip/installer/pluginhandler.py", line 254, in download
    core = core_install.CoreInstall()
  File "/usr/share/hplip/installer/core_install.py", line 239, in __init__
    self.passwordObj = password.Password(ui_mode)
  File "/usr/share/hplip/base/password.py", line 88, in __init__
    self.__readAuthType()  # self.__authType
  File "/usr/share/hplip/base/password.py", line 110, in __readAuthType
    distro_name = get_distro_name().lower()
  File "/usr/share/hplip/base/password.py", line 78, in get_distro_name
    return distro.linux_distribution(full_distribution_name=False)[0]
  File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
    return _distro.linux_distribution(full_distribution_name)
  File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
    self.version(),
  File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
    self.lsb_release_attr('release'),
  File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
    return self._lsb_release_info.get(attribute, '')
  File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
    ret = obj.__dict__[self._fname] = self._f(obj)
  File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
    stdout = subprocess.check_output(cmd, stderr=devnull)
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
PermissionError: [Errno 13] Permission denied: '/var/crash/_usr_share_hplip_plugin.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 363, in <module>
    status, plugin_path, error_str = pluginObj.download(plugin_path, plugin_download_callback)
  File "/usr/share/hplip/installer/pluginhandler.py", line 254, in download
    core = core_install.CoreInstall()
  File "/usr/share/hplip/installer/core_install.py", line 239, in __init__
    self.passwordObj = password.Password(ui_mode)
  File "/usr/share/hplip/base/password.py", line 88, in __init__
    self.__readAuthType()  # self.__authType
  File "/usr/share/hplip/base/password.py", line 110, in __readAuthType
    distro_name = get_distro_name().lower()
  File "/usr/share/hplip/base/password.py", line 78, in get_distro_name
    return distro.linux_distribution(full_distribution_name=False)[0]
  File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
    return _distro.linux_distribution(full_distribution_name)
  File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
    self.version(),
  File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
    self.lsb_release_attr('release'),
  File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
    return self._lsb_release_info.get(attribute, '')
  File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
    ret = obj.__dict__[self._fname] = self._f(obj)
  File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
    stdout = subprocess.check_output(cmd, stderr=devnull)
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
johannes@johannes-GA-78LMT-S2P:~$ sudo apt purge ippusbxd
[sudo] Passwort für johannes: 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  linux-image-4.15.0-118-generic linux-modules-4.15.0-118-generic linux-modules-extra-4.15.0-118-generic
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
  ippusbxd*
0 aktualisiert, 0 neu installiert, 1 zu entfernen und 3 nicht aktualisiert.
Nach dieser Operation werden 110 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] J
(Lese Datenbank ... 241841 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von ippusbxd (1.34-2ubuntu1) ...
Trigger für man-db (2.9.1-1) werden verarbeitet ...
(Lese Datenbank ... 241830 Dateien und Verzeichnisse sind derzeit installiert.)
Löschen der Konfigurationsdateien von ippusbxd (1.34-2ubuntu1) ...
johannes@johannes-GA-78LMT-S2P:~$ 

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Ok,beim Plugin gibt es Probleme.Zeige

dpkg -l | grep python3

ls -lrth /usr/bin/python*

Joker222

(Themenstarter)

Anmeldungsdatum:
12. Mai 2019

Beiträge: 141

johannes@johannes-GA-78LMT-S2P:~$ dpkg -l | grep python3
ii  libpython3-dev:amd64                              3.8.2-0ubuntu2                      amd64        header files and a static library for Python (default)
ii  libpython3-stdlib:amd64                           3.8.2-0ubuntu2                      amd64        interactive high-level object-oriented language (default python3 version)
ii  libpython3.6-minimal:amd64                        3.6.9-1~18.04ubuntu1.1              amd64        Minimal subset of the Python language (version 3.6)
ii  libpython3.6-stdlib:amd64                         3.6.9-1~18.04ubuntu1.1              amd64        Interactive high-level object-oriented language (standard library, version 3.6)
ii  libpython3.8:amd64                                3.8.5-1~20.04                       amd64        Shared Python runtime library (version 3.8)
ii  libpython3.8-dev:amd64                            3.8.5-1~20.04                       amd64        Header files and a static library for Python (v3.8)
ii  libpython3.8-minimal:amd64                        3.8.5-1~20.04                       amd64        Minimal subset of the Python language (version 3.8)
ii  libpython3.8-stdlib:amd64                         3.8.5-1~20.04                       amd64        Interactive high-level object-oriented language (standard library, version 3.8)
ii  python3                                           3.8.2-0ubuntu2                      amd64        interactive high-level object-oriented language (default python3 version)
ii  python3-apport                                    2.20.11-0ubuntu27.9                 all          Python 3 library for Apport crash report handling
ii  python3-apt                                       2.0.0ubuntu0.20.04.1                amd64        Python 3 interface to libapt-pkg
ii  python3-aptdaemon                                 1.1.1+bzr982-0ubuntu32.2            all          Python 3 module for the server and client of aptdaemon
ii  python3-aptdaemon.gtk3widgets                     1.1.1+bzr982-0ubuntu32.2            all          Python 3 GTK+ 3 widgets to run an aptdaemon client
ii  python3-asn1crypto                                0.24.0-1build1                      all          Fast ASN.1 parser and serializer (Python 3)
ii  python3-bcrypt                                    3.1.7-2ubuntu1                      amd64        password hashing library for Python 3
ii  python3-blinker                                   1.4+dfsg1-0.3ubuntu1                all          fast, simple object-to-object and broadcast signaling library
ii  python3-brlapi:amd64                              6.0+dfsg-4ubuntu6                   amd64        Braille display access via BRLTTY - Python3 bindings
ii  python3-cairo:amd64                               1.16.2-2ubuntu2                     amd64        Python3 bindings for the Cairo vector graphics library
ii  python3-certifi                                   2019.11.28-1                        all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend                              1.14.0-1build1                      amd64        Foreign Function Interface for Python 3 calling C code - runtime
ii  python3-chardet                                   3.0.4-4build1                       all          universal character encoding detector for Python3
ii  python3-click                                     7.0-3                               all          Wrapper around optparse for command line utilities - Python 3.x
ii  python3-colorama                                  0.4.3-1build1                       all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-commandnotfound                           20.04.4                             all          Python 3 bindings for command-not-found.
ii  python3-crypto                                    2.6.1-13ubuntu2                     amd64        cryptographic algorithms and protocols for Python 3
ii  python3-cryptography                              2.8-3                               amd64        Python library exposing cryptographic recipes and primitives (Python 3)
ii  python3-cups                                      1.9.73-3build1                      amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                               1.5.12-0ubuntu1                     all          Python utility modules around the CUPS printing system
ii  python3-dateutil                                  2.7.3-3ubuntu1                      all          powerful extensions to the standard Python 3 datetime module
ii  python3-dbus                                      1.2.16-1build1                      amd64        simple interprocess messaging system (Python 3 interface)
ii  python3-debconf                                   1.5.73                              all          interact with debconf from Python 3
ii  python3-debian                                    0.1.36ubuntu1                       all          Python 3 modules to work with Debian-related data formats
ii  python3-defer                                     1.0.6-2.1                           all          Small framework for asynchronous programming (Python 3)
ii  python3-dev                                       3.8.2-0ubuntu2                      amd64        header files and a static library for Python (default)
ii  python3-distro                                    1.4.0-1                             all          Linux OS platform information API
ii  python3-distro-info                               0.23ubuntu1                         all          information about distributions' releases (Python 3 module)
ii  python3-distupgrade                               1:20.04.25                          all          manage release upgrades
ii  python3-distutils                                 3.8.5-1~20.04.1                     all          distutils package for Python 3.x
ii  python3-entrypoints                               0.3-2ubuntu1                        all          Discover and load entry points from installed packages (Python 3)
ii  python3-fasteners                                 0.14.1-2                            all          provides useful locks - Python 3.x
ii  python3-future                                    0.18.2-2                            all          Clean single-source support for Python 3 and 2 - Python 3.x
ii  python3-gdbm:amd64                                3.8.5-1~20.04.1                     amd64        GNU dbm database support for Python 3.x
ii  python3-gi                                        3.36.0-1                            amd64        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                                  3.36.0-1                            amd64        Python 3 Cairo bindings for the GObject library
ii  python3-httplib2                                  0.14.0-1ubuntu1                     all          comprehensive HTTP client library written for Python3
ii  python3-ibus-1.0                                  1.5.22-2ubuntu2.1                   all          Intelligent Input Bus - introspection overrides for Python (Python 3)
ii  python3-idna                                      2.8-1                               all          Python IDNA2008 (RFC 5891) handling (Python 3)
ii  python3-jwt                                       1.7.1-2ubuntu2                      all          Python 3 implementation of JSON Web Token
ii  python3-keyring                                   18.0.1-2ubuntu1                     all          store and access your passwords safely - Python 3 version of the package
ii  python3-keyrings.alt                              3.4.0-1                             all          alternate backend implementations for python3-keyring
ii  python3-launchpadlib                              1.10.13-1                           all          Launchpad web services client library (Python 3)
ii  python3-lazr.restfulclient                        0.14.2-2build1                      all          client for lazr.restful-based web services (Python 3)
ii  python3-lazr.uri                                  1.0.3-4build1                       all          library for parsing, manipulating, and generating URIs
ii  python3-lib2to3                                   3.8.5-1~20.04.1                     all          Interactive high-level object-oriented language (lib2to3)
ii  python3-lockfile                                  1:0.12.2-2ubuntu2                   all          file locking library for Python — Python 3 library
ii  python3-louis                                     3.12.0-3                            all          Python bindings for liblouis
ii  python3-macaroonbakery                            1.3.1-1                             all          Higher-level macaroon operations for Python 3
ii  python3-mako                                      1.1.0+ds1-1ubuntu2                  all          fast and lightweight templating for the Python 3 platform
ii  python3-markupsafe                                1.1.0-1build2                       amd64        HTML/XHTML/XML string library for Python 3
ii  python3-minimal                                   3.8.2-0ubuntu2                      amd64        minimal subset of the Python language (default python3 version)
ii  python3-monotonic                                 1.5-0ubuntu2                        all          implementation of time.monotonic() - Python 3.x
ii  python3-nacl                                      1.3.0-5                             amd64        Python bindings to libsodium (Python 3)
ii  python3-netifaces                                 0.10.4-1ubuntu4                     amd64        portable network interface information - Python 3.x
ii  python3-notify2                                   0.3-4                               all          desktop notifications API for Python 3
ii  python3-oauth                                     1.0.1-6ubuntu1                      all          Python 3 library implementing of the OAuth protocol
ii  python3-oauthlib                                  3.1.0-1ubuntu2                      all          generic, spec-compliant implementation of OAuth for Python3
ii  python3-olefile                                   0.46-2                              all          Python module to read/write MS OLE2 files
ii  python3-pampy                                     1.8.4-2                             all          Python module for simple PAM authentications (Python 3)
ii  python3-paramiko                                  2.6.0-2                             all          Make ssh v2 connections (Python 3)
ii  python3-pexpect                                   4.6.0-1build1                       all          Python 3 module for automating interactive applications
ii  python3-pil:amd64                                 7.0.0-4ubuntu0.1                    amd64        Python Imaging Library (Python3)
ii  python3-pip                                       20.0.2-5ubuntu1.1                   all          Python package installer
ii  python3-pkg-resources                             45.2.0-1                            all          Package Discovery and Resource Access using pkg_resources
ii  python3-problem-report                            2.20.11-0ubuntu27.9                 all          Python 3 library to handle problem reports
ii  python3-protobuf                                  3.6.1.3-2ubuntu5                    amd64        Python 3 bindings for protocol buffers
ii  python3-psutil                                    5.5.1-1ubuntu4                      amd64        module providing convenience functions for managing processes (Python3)
ii  python3-ptyprocess                                0.6.0-1ubuntu1                      all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pyatspi                                   2.36.0-1                            all          Assistive Technology Service Provider Interface - Python3 bindings
ii  python3-pyinotify                                 0.9.6-1.2ubuntu1                    all          simple Linux inotify Python bindings
ii  python3-pymacaroons                               0.13.0-3                            all          Macaroon library for Python 3
ii  python3-renderpm:amd64                            3.5.34-1ubuntu1                     amd64        python low level render interface
ii  python3-reportlab                                 3.5.34-1ubuntu1                     all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:amd64                     3.5.34-1ubuntu1                     amd64        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                                  2.22.0-2ubuntu1                     all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-requests-unixsocket                       0.2.0-2                             all          Use requests to talk HTTP via a UNIX domain socket - Python 3.x
ii  python3-rfc3339                                   1.1-2                               all          parser and generator of RFC 3339-compliant timestamps (Python 3)
ii  python3-secretstorage                             2.3.1-2ubuntu1                      all          Python module for storing secrets - Python 3.x version
ii  python3-setproctitle:amd64                        1.1.10-1ubuntu1                     amd64        Setproctitle implementation for Python 3
ii  python3-setuptools                                45.2.0-1                            all          Python3 Distutils Enhancements
ii  python3-simplejson                                3.16.0-2ubuntu2                     amd64        simple, fast, extensible JSON encoder/decoder for Python 3.x
ii  python3-six                                       1.14.0-2                            all          Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-software-properties                       0.98.9.2                            all          manage the repositories that you install software from
ii  python3-speechd                                   0.9.1-4                             all          Python interface to Speech Dispatcher
ii  python3-systemd                                   234-3build2                         amd64        Python 3 bindings for systemd
ii  python3-talloc:amd64                              2.3.0-3ubuntu1                      amd64        hierarchical pool based memory allocator - Python3 bindings
ii  python3-tinycss                                   0.4-3build1                         amd64        complete yet simple CSS parser (Python3 version)
ii  python3-tz                                        2019.3-1                            all          Python3 version of the Olson timezone database
ii  python3-update-manager                            1:20.04.10.1                        all          python 3.x module for update-manager
ii  python3-urllib3                                   1.25.8-2ubuntu0.1                   all          HTTP library with thread-safe connection pooling for Python3
ii  python3-wadllib                                   1.3.3-3build1                       all          Python 3 library for navigating WADL files
ii  python3-wheel                                     0.34.2-1                            all          built-package format for Python
ii  python3-xapp                                      1.8.1-2                             all          Python 3 XApp library
ii  python3-xdg                                       0.26-1ubuntu1                       all          Python 3 library to access freedesktop.org standards
ii  python3-xkit                                      0.5.0ubuntu4                        all          library for the manipulation of xorg.conf files (Python 3)
ii  python3-xlib                                      0.23-2build1                        all          interface for Python 3 to the X11 protocol
ii  python3-yaml                                      5.3.1-1                             amd64        YAML parser and emitter for Python3
ii  python3-zope.interface                            4.7.1-1                             amd64        Interfaces for Python3
rc  python3.6-minimal                                 3.6.9-1~18.04ubuntu1.1              amd64        Minimal subset of the Python language (version 3.6)
ii  python3.8                                         3.8.5-1~20.04                       amd64        Interactive high-level object-oriented language (version 3.8)
ii  python3.8-dev                                     3.8.5-1~20.04                       amd64        Header files and a static library for Python (v3.8)
ii  python3.8-minimal                                 3.8.5-1~20.04                       amd64        Minimal subset of the Python language (version 3.8)
johannes@johannes-GA-78LMT-S2P:~$ ls -lrth /usr/bin/python*
lrwxrwxrwx 1 root root   16 Mär 13  2020 /usr/bin/python3-config -> python3.8-config
lrwxrwxrwx 1 root root    9 Mär 13  2020 /usr/bin/python3 -> python3.8
lrwxrwxrwx 1 root root   16 Mär 13  2020 /usr/bin/python2-config -> python2.7-config
lrwxrwxrwx 1 root root    9 Mär 13  2020 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root  388 Mär 28  2020 /usr/bin/python3-pasteurize
-rwxr-xr-x 1 root root  384 Mär 28  2020 /usr/bin/python3-futurize
lrwxrwxrwx 1 root root   14 Apr 15  2020 /usr/bin/python-config -> python2-config
lrwxrwxrwx 1 root root    7 Apr 15  2020 /usr/bin/python -> python2
lrwxrwxrwx 1 root root   33 Jul 28 14:59 /usr/bin/python3.8-config -> x86_64-linux-gnu-python3.8-config
-rwxr-xr-x 1 root root 5,3M Jul 28 14:59 /usr/bin/python3.8
lrwxrwxrwx 1 root root   33 Aug  4 13:16 /usr/bin/python2.7-config -> x86_64-linux-gnu-python2.7-config
-rwxr-xr-x 1 root root 3,5M Aug  4 13:16 /usr/bin/python2.7
johannes@johannes-GA-78LMT-S2P:~$ 

Kellerkind_2009

Avatar von Kellerkind_2009

Anmeldungsdatum:
26. November 2009

Beiträge: 19617

Ok,es wird bei dir auf python2 Verlinkt.Bevor wir das ändern erst mal

sudo apt install libusb-0.1-4

sudo adduser $USER lp

Neustart. Danach

mkdir ~/hpplugin
cd ~/hpplugin
wget https://developers.hp.com/sites/default/files/hplip-3.20.3-plugin.run
bash hplip-3.20.3-plugin.run --target ~/hpplugin

Joker222

(Themenstarter)

Anmeldungsdatum:
12. Mai 2019

Beiträge: 141

johannes@johannes-GA-78LMT-S2P:~$ sudo apt install libusb-0.1-4
[sudo] Passwort für johannes: 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
libusb-0.1-4 ist schon die neueste Version (2:0.1.12-32).
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  linux-image-4.15.0-118-generic linux-modules-4.15.0-118-generic linux-modules-extra-4.15.0-118-generic
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 3 nicht aktualisiert.
johannes@johannes-GA-78LMT-S2P:~$ sudo apt autoremove
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete werden ENTFERNT:
  linux-image-4.15.0-118-generic linux-modules-4.15.0-118-generic linux-modules-extra-4.15.0-118-generic
0 aktualisiert, 0 neu installiert, 3 zu entfernen und 3 nicht aktualisiert.
Nach dieser Operation werden 244 MB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] J
(Lese Datenbank ... 241829 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von linux-modules-extra-4.15.0-118-generic (4.15.0-118.119) ...
Entfernen von linux-image-4.15.0-118-generic (4.15.0-118.119) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-118-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
GRUB-Konfigurationsdatei wird erstellt …
Linux-Abbild gefunden: /boot/vmlinuz-5.4.0-51-generic
initrd-Abbild gefunden: /boot/initrd.img-5.4.0-51-generic
Linux-Abbild gefunden: /boot/vmlinuz-5.4.0-48-generic
initrd-Abbild gefunden: /boot/initrd.img-5.4.0-48-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
erledigt
Entfernen von linux-modules-4.15.0-118-generic (4.15.0-118.119) ...
johannes@johannes-GA-78LMT-S2P:~$ sudo adduser $USER lp
Der Benutzer »johannes« ist bereits ein Mitglied der Gruppe »lp«.
johannes@johannes-GA-78LMT-S2P:~$ 

Joker222

(Themenstarter)

Anmeldungsdatum:
12. Mai 2019

Beiträge: 141

johannes@johannes-GA-78LMT-S2P:~$ mkdir ~/hpplugin
johannes@johannes-GA-78LMT-S2P:~$ cd ~/hpplugin
johannes@johannes-GA-78LMT-S2P:~/hpplugin$ wget https://developers.hp.com/sites/default/files/hplip-3.20.3-plugin.run
--2020-10-18 15:02:07--  https://developers.hp.com/sites/default/files/hplip-3.20.3-plugin.run
Auflösen des Hostnamens developers.hp.com (developers.hp.com) … 35.167.236.162, 34.210.182.99
Verbindungsaufbau zu developers.hp.com (developers.hp.com)|35.167.236.162|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 11514166 (11M)
Wird in »hplip-3.20.3-plugin.run« gespeichert.

hplip-3.20.3-plugin.run              100%[======================================================================>]  10,98M  1,56MB/s    in 7,2s    

2020-10-18 15:02:15 (1,53 MB/s) - »hplip-3.20.3-plugin.run« gespeichert [11514166/11514166]

johannes@johannes-GA-78LMT-S2P:~/hpplugin$ bash hplip-3.20.3-plugin.run --target ~/hpplugin
Creating directory /home/johannes/hpplugin
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.3 Plugin Self Extracting Archive..............................................................

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

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.

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

error: Unable to load pkit...is HPLIP installed?
johannes@johannes-GA-78LMT-S2P:~/hpplugin$ 
''''''Formatierter Text''''''
Antworten |