libsane-dev 依赖项

libsane-dev 依赖项

我有疑问libsane-dev

我尝试安装libsane-dev适用于 HPLIP 驱动程序 3.15.9(驱动程序需要它)。我收到错误依赖项的日志:

libsane-dev 需要:libsane (= 1.0.23-3ubuntu3) 但将安装 1.0.23-3ubuntu3.1。

我应该如何强制(resole)安装正确的 libsane-dev 版本?

现在,我已经安装了软件包:

xxxx~$ dpkg -l | grep sane
ii  libsane:amd64                                         1.0.23-3ubuntu3.1                                   amd64        API library for scanners
ii  libsane-common                                        1.0.23-3ubuntu3.1                                   amd64        API library for scanners -- documentation and support files
rc  libsane-hpaio                                         3.14.3-0ubuntu3.2                                   amd64        HP SANE backend for multi-function peripherals
ii  sane                                                  1.0.14-9                                            amd64        scanner graphical frontends
ii  sane-utils                                            1.0.23-3ubuntu3.1                                   amd64        API library for scanners -- utilities
ii  xsane                                                 0.998-5ubuntu1                                      amd64        featureful graphical frontend for SANE (Scanner Access Now Easy)
ii  xsane-common                                          0.998-5ubuntu1                                      all          featureful graphical frontend for SANE (Scanner Access Now Easy)

xxxx~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:    14.04
Codename:   trusty

xxxx~$ apt-cache policy libsane-dev libsane
libsane-dev:
Zainstalowana: (brak)
Kandydująca:   1.0.23-3ubuntu3
Tabela wersji:
1.0.23-3ubuntu3 0
500 http://pl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

libsane:
Zainstalowana: 1.0.23-3ubuntu3.1
Kandydująca:   1.0.23-3ubuntu3.1
Tabela wersji:
*** 1.0.23-3ubuntu3.1 0
100 /var/lib/dpkg/status
1.0.23-3ubuntu3 0
500 http://pl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

xxxx~$ uname -a 
Linux XXXXX 3.16.0-52-generic #71~14.04.1-Ubuntu SMP Fri Oct 23 17:24:53 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

谢谢

答案1

您禁用了trusty-updatePPA安装libsane

打开并在标签中Software & Updates设置一个粗体。trusty-updatesUpdates

在此处输入图片描述

现在打开终端并执行:

sudo apt-get update
sudo apt-get install libsane-dev

相关内容