在 Crouton 上安装 HP 打印机时,HPLIP 显示缺少 CUPS

在 Crouton 上安装 HP 打印机时,HPLIP 显示缺少 CUPS

我正在尝试通过 Toshiba Chromebook 上的 crouton 连接 HP Deskjet 3000。我按照以下说明进行安装http://hplipopensource.com/hplip-web/install/install/index.html我最终遇到了这个问题:

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes libcups2'
Please wait, this may take several minutes...
error: A required dependency 'cups (CUPS - Common Unix Printing System)' is still missing.


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


RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'cups (CUPS - Common Unix Printing System)' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.

但是当我跑步时:

sudo apt-get install cups

我得到:

Reading package lists... Done
Building dependency tree      
Reading state information... Done
cups is already the newest version.
The following package was automatically installed and is no longer required:
  libglade2-0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(precise)alan@localhost:~$ 

我现在有点迷茫了。如何安装 CUPS 以便 hplip 能够识别它并完成安装?

答案1

要启动服务,请执行:

sudo /etc/init.d/cups start

它对我有用

答案2

我遇到了同样的问题,并且仅通过运行 Cups 服务就解决了它:

service cups start

看起来 HP 安装脚本实际上正在检查服务是否已启动,以推断包是否已安装。

答案3

16.04 + systemd

sudo systemctl start cups
sudo systemctl start cups-browsed

相关内容