AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[hplip](ubuntu)

Martin Hope
Tejas Shetty
Asked: 2021-01-09 06:08:03 +0800 CST

无法读取 ppd 文件但打印机工作正常

  • 1

我有一台惠普打印机。它运作良好。但在运行 hp-check 时它显示

警告:无法读取 /etc/cups/ppd/DeskJet-5820-series.ppd ppd 文件

我需要担心这个吗?我该怎么做才能修复它?

hplip
  • 1 个回答
  • 582 Views
Martin Hope
Sergey Sergeyev
Asked: 2020-12-22 08:15:18 +0800 CST

某些应用程序的最新更新后未检测到系统托盘

  • 9

从 2020 年 12 月 21 日起对我的 Ubuntu 20.04 进行最新更新后,我收到了 HPLIP 消息:

HPLIP Status service
No system tray detected on this system.
Unable to start, exiting.

Zoom 会议应用程序系统托盘图标也消失了,而 Zoom 本身运行良好。从自动启动菜单开始缩放: 启动应用程序 如果手动启动,系统托盘上会出现缩放图标。

system-tray hplip zoom-meeting 20.04
  • 2 个回答
  • 7266 Views
Martin Hope
Juan Casas Ruiz
Asked: 2020-10-20 12:37:51 +0800 CST

惠普和 Ubuntu 20.04

  • 2

我有一台 HP 2540 打印机,它在 18.04 中可以正常工作,但在 20.04 中不能正常工作。

我尝试从 Hp(版本 3.20.9)安装 HPLIP,但收到了下一个警告和错误:

warning: Missing REQUIRED dependency: pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))
warning: Missing OPTIONAL dependency for option 'gui_qt5': pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5)
warning: Missing OPTIONAL dependency for option 'gui_qt5': python-notify (Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))
warning: This installer cannot install 'pil' for your distro/OS and/or version.

error: Package install command failed with error code 100

然后我卸载 HPLIP,因为这个答案建议如何在我的 Ubuntu 上安装最新的 HPLIP 以支持我的 HP 打印机和/或扫描仪?并安装 hp-plugin 没有成功。打印机已添加,但显示为忙碌或“设备通信错误”

扫描也不起作用。

我现在不知道怎么处理。

hp hplip 20.04
  • 1 个回答
  • 1362 Views
Martin Hope
brett stevens
Asked: 2020-09-23 16:57:27 +0800 CST

hplip 不适用于全新的 Ubuntu 20.04 安装

  • 2

我刚刚在联想 Yoga 730 上完成了 Ubuntu 20.04.1 的全新安装。我有一个无线 HP Photosmart C4780,我已经在另一台 Ubuntu 20.04 和 Ubuntu 18.04 机器上成功安装,只需使用

hp-setup 192.168.0.22

当我第一次登录到我使用的新安装时

apt list --installed

这向我展示了 hplip 和 hplip-data 已安装。我跑了

apt install hplip-gui

然后尝试

hp-setup 192.168.0.22

失败并出现错误

error:  Printer queue setup failed.   Error : successful-ok-ignored-or-substituted-attributes

为了检查出了什么问题,我跑了

hp-doctor

这使

HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.


HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.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.

 

Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility


Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...

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

 Kernel: 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 GNU/Linux
 Host: nell
 Proc: 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 GNU/Linux
 Distribution: ubuntu 20.04
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version 

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

[hplip]
version=3.20.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
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.3
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.20.3



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/net/Photosmart_C4700_series?ip=192.168.0.22

[installation]
date_time = 09/22/20 18:30:55
version = 3.20.3


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

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

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

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

 error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 error: libpthread    libpthread - POSIX threads library                           REQUIRED        -               b'2.31'         MISSING    'libpthread needs to be installed'
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.2           OK         -
 python3-notify2      Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.9           OK         -
 error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.8.2           MISSING    'python3-devel needs to be installed'
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          OK         -

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

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

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

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

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

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

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

No Scanner found.

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

No devices found.

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

 
lpstat
------
Type: Unknown
Device URI: No destinations added.


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

Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libjpeg-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing or 'cups' service is not running.
error: 'cups-bsd' package is missing or 'cups' service is not running.
error: 'cups-client' package is missing or 'cups' service is not running.
error: 'libcupsimage2-dev' package is missing or 'cups' service is not running.
error: 'build-essential' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libusb-0.1-4' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 


ENTER SUDO PASSWORD
-------------------
Please enter the sudoer password: 
 

Checking Permissions....


Checking for Configured Queues....
No Queue added

warning: No Queue(s) configured.


Checking for HP Properitery Plugin's....
No plug-in printers are configured.
 
Diagnose completed...



More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html

首先看起来很奇怪的是,据报道 Ubuntu 20.04 上的 hplip-gui 是针对 qt5 编译的。此外,许多报告丢失/不兼容的软件包已经安装(通过 apt)。

在我全新安装之前,我试图apt purge摆脱所有 hplip 并重新安装它们,但从未成功。我尝试了几次,最终以某种方式破坏了我的系统,导致了全新的安装。

我不确定要从这里做什么才能使 hplip 正常工作。

apt hplip 20.04
  • 4 个回答
  • 7386 Views
Martin Hope
Display name
Asked: 2020-08-01 05:58:09 +0800 CST

由于 Python 3,HPLIP 不会在 20.04 上安装(该怎么办?)

  • 0

我正在尝试按照本指南安装最新的 HPLIP 。总结一下,您执行以下操作:

sudo apt-get purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds libsane-hpaio printer-driver-hpcups printer-driver-hpijs

sudo rm -rf /usr/share/hplip/

sudo apt-get autoremove

然后下载最新的 HPLIP 并通过本指南安装(即sh hplip-3.20.2.run接受所有默认值)。我在 Ubuntu 20.04 上安装,我相信它使用的是 Python 3,而不是 Python 2。因此,HPLIP 安装程序似乎出错了:

...
检查python2.7m ...否
...
错误:找不到python-devel支持

解决这个问题的唯一方法是将我的 20.04 安装切换到 Python 2 版本吗?我宁愿把这个 20.04 安装留在 Python 3 上。

python printing hp hplip 20.04
  • 2 个回答
  • 1376 Views
Martin Hope
Random Person
Asked: 2020-07-08 06:34:03 +0800 CST

hp-setup 未按预期工作

  • 2

首先,我想通知我,我是 Ubuntu 的新用户,我对 Ubuntu 中的常用内容不太熟悉。我正在使用 Ubuntu 20.04 LTS。

我正在尝试使用 HPLIP(HP Linux 成像和打印)将我的打印机添加到我的计算机。HPLIP 版本是 3.20.3。当我hp-setup在终端中键入命令时,这就是我得到的:

~$ hp-setup

HP Linux Imaging and Printing System (ver. 3.20.3)
Printer/Fax Setup Utility ver. 9.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.

error: /home/username/.local/lib/python3.8/site-packages/PyQt5/QtWidgets.abi3.so: failed to map segment from shared object

请让我知道我应该怎么做才能解决这个问题。

python hp hplip
  • 1 个回答
  • 749 Views
Martin Hope
Gryu
Asked: 2020-06-04 16:31:04 +0800 CST

在 Ubuntu 20.04 上安装 hplip-3.20.5 期间无法安装某些 python 包

  • 16

从 19.10 升级到 20.04 后,我自动删除了许多已弃用的软件包。在 hplip 升级期间,我已确认使用维护者版本的配置文件。但是 Ubuntu 重新启动后,hp 1020 打印机停止打印。每次我刷新它的窗口时,Hplip 工具箱都会挂起。所以我已经完全清除并卸载了 hplip。

使用本指南安装会安装之前安装的 hplip 3.20.3 版本。

所以我从这里为 Ubuntu 下载了 3.20.5 版本,并在x许可的情况下对其进行了修改并运行它:./hplip-3.20.5.run.

它询问我是否要安装缺少的依赖项:

Package-Name         Component            Required/Optional   
pyqt5-dbus           gui_qt5              OPTIONAL            
reportlab            fax                  OPTIONAL            
pyqt5                gui_qt5              REQUIRED            
python-notify        gui_qt5              OPTIONAL

我说y,但是,对于python-pyqt5包裹,我有:

error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100

对于python-dbus.mainloop.pyqt5包裹:

error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-dbus.mainloop.pyqt5'
Please wait, this may take several minutes...
error: Package install command failed with error code 100

对于python-notify包裹:

error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
error: Package install command failed with error code 100

对于python-reportlab:

error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-reportlab'
Please wait, this may take several minutes...
error: Package install command failed with error code 100

我跳过了这些软件包的安装,因为无法安装它们。最后,我得到了下一个错误:

warning: Some HPLIP functionality might not function due to missing package(s).
error: A required dependency 'pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))' is still missing.


RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK


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

我也hplip-3.20.5-plugin.run从这里下载

$ bash hplip-3.20.5-plugin.run
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.5 Plugin Self Extracting Archive..............................................................
Error setting home directory: /etc/hp/hplip.conf not found. Is HPLIP installed?

Universe/Multiverse 存储库已启用,但是:

$ apt-cache search python-pyqt5
python-pyqt5.qwt-doc - Python Qwt6 technical widget library, documentation and examples
$ apt-cache search python-reportlab
python-reportlab-doc - Documentation for the ReportLab Python library (PDF format)
$ apt-cache search python-dbus.mainloop.pyqt5
$ apt-cache search python-notify
python3-notify2 - desktop notifications API for Python 3

软件包python3-pyqt5, python3-reportlab, python3-notify2,python3-dbus.mainloop.pyqt5已安装并且是already the newest versions。

例如,我还可以看到,python-pyqt5包在 19.10 存储库中可用,但是这个包需要qtbase-abi-5-12-4在 eoan 的存储库中不存在的包。18.04 的python-pyqt5包需要不同的 qtbase-abi 包,这在 Bionic 的存储库中不存在。

这是否意味着 phlip-3.20.5 与 20.04 不兼容,或者可能存在一些包含这四个包及其依赖项的附加存储库?

更新:

  • 已安装hplip, hplip-data,hplip-gui包。

  • 从启动器启动 hplip-gui

  • 收到登录信息journalctl -f:

      Jun 07 23:14:13 ubuntu hplip.desktop[17823]: error: Unable to locate models.dat file
      Jun 07 23:14:13 ubuntu /hp-toolbox[17823]: [17823]: error: Unable to locate models.dat file
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]: HP Linux Imaging and Printing System (ver. 0.0.0)
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]: HP Device Manager ver. 15.0
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]: Copyright (c) 2001-18 HP Development Company, LP
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]: This software comes with ABSOLUTELY NO WARRANTY.
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]: This is free software, and you are welcome to distribute it
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]: under certain conditions. See COPYING file for more details.
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]: Traceback (most recent call last):
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]:   File "/usr/bin/hp-toolbox", line 269, in <module>
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]:     QApplication, ui_package = utils.import_dialog(ui_toolkit)
      Jun 07 23:14:13 ubuntu hplip.desktop[17823]: TypeError: cannot unpack non-iterable NoneType object
    

hplip-gui尚未启动:桌面上没有出现任何内容。

较新的 hplip-3.20.6也不支持 Ubuntu 20.04。

hplip 20.04
  • 9 个回答
  • 15255 Views
Martin Hope
Christian
Asked: 2020-01-08 06:57:57 +0800 CST

在使用 HP 提供的 .run 安装程序安装最新版本之前,我是否应该从 Ubuntu 存储库中删除 HPlip 包?[复制]

  • 0
这个问题在这里已经有了答案:
如何在我的 Ubuntu 上安装 HPLIP 以支持我的 HP 打印机和/或扫描仪? (1 个回答)
2年前关闭。

我需要在我的计算机上安装最新版本的 HPLip 才能完全支持新打印机。我已经从 Ubuntu 存储库安装了 HPLip 和 HPLip GUI。HP 提供了一个基于 .run 的安装程序,可以在 bash 中运行。我应该在运行 HP 安装程序之前删除 HPLip deb 软件包,还是 HP 安装程序会更新当前版本?我不敢尝试,因为我可能会弄乱打印机子系统,不知道如何修复它。

software-installation drivers printing hplip
  • 2 个回答
  • 91 Views
Martin Hope
jco42
Asked: 2019-12-03 10:25:23 +0800 CST

无法让 HPLIP 在 Ubuntu 18.04 上运行 - 错误:没有名为“PyQt4”的模块

  • 2

我使用此指令完全删除了 HPLIP 库,并重新开始尝试让我的 HP 打印机进行扫描。重新安装 hplip 和 hplip-gui 软件包后,gui 不会从启动器运行,以下是我从终端得到的:

~$ sudo hp-setup

错误:无法找到 models.dat 文件

HP Linux 成像和打印系统(版本 3.18.10)打印机/传真设置实用程序版本。9.0

版权所有 (c) 2001-15 HP Development Company, LP 此软件不提供任何担保。这是免费软件,欢迎您在特定条件下分发它。有关详细信息,请参阅复制文件。

错误:没有名为“PyQt4”的模块

Python Qt4 已安装且最新版本为 4.12.1。谢谢你。

更新:在@N0rbert 和@Feliepe GM Maia的卸载解决方案之后,我能够安装 3.17.10。现在插件不会安装。第一次尝试表示成功完成,但如果我尝试使用扫描仪,则表示未安装插件。我已经尝试过hp-plugin,python3 $(which hp-doctor)和通过 GUI 如下所示。我现在收到一条关于无法验证密钥服务器的消息。重新启动后没有运气。 图形用户界面 密钥服务器错误

python printing hp scanner hplip
  • 2 个回答
  • 1544 Views
Martin Hope
a33
Asked: 2019-11-23 02:32:13 +0800 CST

如何在 Ubuntu-Mate 18.04 中删除旧的 HPLIP

  • 2

我需要使用 Ubuntu-Mate 18.04 LTS(包括 HPLIP 版本 3.17.10)的 HP15w 激光打印机。根据 HP 网站,从 hplip 3.18+ 版本开始支持 HP15w。我找到了这个指南,但令人惊讶的是,hplip 包与整个桌面有依赖关系:

sudo apt purge hplip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  hplip* printer-driver-postscript-hp* ubuntu-mate-core* ubuntu-mate-desktop*
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded.
After this operation, 2,847 kB disk space will be freed.

我只是解释错了吗?或者安装程序要从该计算机上删除所有 GUI?我们一个月前买了那台打印机,真的需要让它工作。

ubuntu-mate hplip
  • 1 个回答
  • 1022 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve