在 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 + 系統

sudo systemctl start cups
sudo systemctl start cups-browsed

相關內容