![Synaptics 触摸板驱动程序未满足的依赖关系](https://linux22.com/image/870714/Synaptics%20%E8%A7%A6%E6%91%B8%E6%9D%BF%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E6%9C%AA%E6%BB%A1%E8%B6%B3%E7%9A%84%E4%BE%9D%E8%B5%96%E5%85%B3%E7%B3%BB.png)
我在联想 S21e-20 上安装了 Ubuntu 14.04.2。为了实现双指滚动或在打字时暂停触摸板等功能,我想安装它,xserver-xorg-input-synaptics
但由于保留了损坏的软件包(下面的命令输出),安装失败,有两个未满足的依赖项。默认情况下,所有这些软件包都应该已经安装(我的安装是全新的,这是我在安装 Wi-Fi 驱动程序后在此系统上做的第一件事)。
输出sudo apt-get install xserver-xorg-input-synaptics
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
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.
xserver-xorg-input-synaptics : Depends: xorg-input-abi-20
Depends: xserver-xorg-core (>= 2:1.14.99.902)
E: Unable to correct problems, you have held broken packages.
输出sudo apt-get install xorg-input-abi-20
:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'xserver-xorg-core' instead of 'xorg-input-abi-20'
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.
libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed
Depends: gstreamer1.0-clutter but it is not going to be installed
libclutter-1.0-0 : Depends: libcogl-pango15 (>= 1.15.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
尝试安装时xserver-xorg-core
因类似问题而中止,即相同的未满足的依赖关系。
我尝试了sudo apt-get clean
、、sudo apt-get update
和,但这些都未能解决问题。没有显示任何保留的包裹sudo dpkg --configure -a
。sudo apt-get -f install
尝试xserver-xorg-core
直接安装的unment依赖项,显示它们已经安装。
我该如何解决这个问题?
答案1
解决这些问题的一个好方法是使用aptitude
。
sudo apt-get install aptitude
sudo aptitude update
sudo aptitude install xserver-xorg-input-synaptics
现在 aptitude 将提出几种解决该问题的方法:
选择卸载最少数据包的解决方案。记下删除了哪些软件包。如果需要,请再次安装这些软件包。