如何通过终端安装 HPLIP 缺少依赖项以及一些 brokern 包?

如何通过终端安装 HPLIP 缺少依赖项以及一些 brokern 包?

我运行命令“$ python install.py”

然后屏幕上会提示以下消息:

MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name         Component            Required/Optional   
cups-image           base                 REQUIRED            
sane-devel           scan                 REQUIRED            
cups-devel           base                 REQUIRED           

然后我按“是”以允许自动安装缺少的依赖项,如下所示 - 它提示一个错误:

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #1...
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? 

我该如何解决这个问题?请帮忙解决这个问题。

当我运行命令时收到以下消息:

Some packages could not be installed. 
This may mean that you have requested an impossible situation or if you are using 
the unstable distribution that some required packages have not yet been created
or been moved out of Incoming. 
The following information may help to resolve the situation: 
The following packages have unmet dependencies: 
libcupsimage2-dev : Depends: libcups2-dev (= 1.7.2-0ubuntu1.2) but it is not
going to be installed 
Depends: libtiff-dev E: Unable to correct problems, you have held broken  packages. –  

相关内容