为 Kubuntu 安装触摸板

为 Kubuntu 安装触摸板

因此,在全新安装 Kubuntu 18.04 后,我的笔记本触摸板点击不起作用。我知道我需要安装 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: xserver-xorg-core (>= 2:1.18.99.901)
E: Unable to correct problems, you have held broken packages.

然后,我尝试按照所述安装 xserver-xorg-core,但它要删除很多软件包。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  xfonts-100dpi | xfonts-75dpi
The following packages will be REMOVED:
  sddm xorg xserver-xorg-core-hwe-18.04 xserver-xorg-hwe-18.04 xserver-xorg-input-all-hwe-18.04 xserver-xorg-input-libinput-hwe-18.04 xserver-xorg-input-wacom-hwe-18.04
  xserver-xorg-video-all-hwe-18.04 xserver-xorg-video-amdgpu-hwe-18.04 xserver-xorg-video-ati-hwe-18.04 xserver-xorg-video-fbdev-hwe-18.04
  xserver-xorg-video-intel-hwe-18.04 xserver-xorg-video-nouveau-hwe-18.04 xserver-xorg-video-qxl-hwe-18.04 xserver-xorg-video-radeon-hwe-18.04
  xserver-xorg-video-vesa-hwe-18.04 xserver-xorg-video-vmware-hwe-18.04
The following NEW packages will be installed:
  xserver-xorg-core
0 upgraded, 1 newly installed, 17 to remove and 0 not upgraded.
Need to get 1.351 kB of archives.
After this operation, 7.393 kB disk space will be freed.

在之前的安装中,我删除了所有这些软件包,然后就无法进入桌面环境。只有终端,如果我安装了 sddm,键盘就无法工作。我需要使用 usb 启动并 chroot 到我的笔记本并安装 xserver-xorg-input。

有没有合适的方法来安装该软件包,以便触摸板正常工作?谢谢。

答案1

我通过安装 xserver-xorg-input-synaptics-hwe-18.04 而不是仅安装 xserver-xorg-input-synaptics 来解决了这个问题。

查看包装说明(https://packages.ubuntu.com/search?keywords=xserver-xorg-input-synaptics),xserver-xorg-input-synaptics是一个指向 xserver-xorg-input-synaptics-hwe-18.04 的虚拟包。我不知道到底发生了什么,也不知道为什么安装 xserver-xorg-input-synaptics 需要从我的电脑中删除很多东西,但 xserver-xorg-input-synaptics-hwe-18.04 可以正常工作。

相关内容