我可以修复我的系统吗?我应该提交错误 evdi 还是其他软件包的错误跟踪?
上次内核更新失败。我不得不删除该evdi
软件包。此后更新成功。我需要 evdi 才能使用displaylink-driver 软件包来使用扩展坞。尝试安装时,displaylink-driver
我收到以下终端输出,其中出现后处理错误,退出代码为 10。此处make.log
提到。
我没有太多办法让扩展坞工作。 一个针对 pop os 提交的错误似乎解决了这个问题,但是没有得到答复。这不是我第一次安装这个软件包,所以发行说明中指向uefi sec 解决方法的一条评论不应该困扰我。但是,我试过了,失败了,因为我无法安装 evdi 软件包。evdi错误跟踪器有一个安装后返回代码 10 的问题,但是,这个代码很旧,指的是较旧的内核。使用 kernkel 6.1.0-24-amd64 内核,它以前可以工作。
# apt install displaylink-driver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
linux-headers-6.1.0-21-common
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
evdi
Suggested packages:
update-notifier-common
The following NEW packages will be installed:
displaylink-driver evdi
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,905 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package evdi.
(Reading database ... 268277 files and directories currently installed.)
Preparing to unpack .../evdi_1.14.6-100_amd64.deb ...
Unpacking evdi (1.14.6-100) ...
Selecting previously unselected package displaylink-driver.
Preparing to unpack .../displaylink-driver_6.0.0-24_amd64.deb ...
Unpacking displaylink-driver (6.0.0-24) ...
Setting up evdi (1.14.6-100) ...
Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/evdi/1.14.6/source -> /usr/src/evdi-1.14.6
Building module:
Cleaning build area...
make -j16 KERNELRELEASE=6.1.0-25-amd64 all INCLUDEDIR=/lib/modules/6.1.0-25-amd64/build/include KVERSION=6.1.0-25-amd64 DKMS_BUILD=1...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-25-amd64 (x86_64)
Consult /var/lib/dkms/evdi/1.14.6/build/make.log for more information.
dpkg: error processing package evdi (--configure):
installed evdi package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of displaylink-driver:
displaylink-driver depends on evdi (>= 1.14.4); however:
Package evdi is not configured yet.
displaylink-driver depends on evdi (<< 1.15.0); however:
Package evdi is not configured yet.
dpkg: error processing package displaylink-driver (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
evdi
displaylink-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
关于 Stephen Kitts 的问题:
$ cat synaptics.list
deb [signed-by=/usr/share/keyrings/synaptics-repository-keyring.gpg] https://www.synaptics.com/sites/default/files/Ubuntu/ stable main
deb [signed-by=/usr/share/keyrings/synaptics-repository-keyring.gpg] https://www.synaptics.com/sites/default/files/Ubuntu/ stable non-free
该错误是由于与最近(嗯,2022 年)的内核更改不兼容而引起的:
evdi
您尝试构建的驱动程序需要较新的字段info
名称,但您拥有的内核较旧且仍使用该fbdev
名称,并且它们对哪个内核版本应该执行什么操作存在分歧。如果您熟悉内核,则可以修复此问题,但这可能是一个很大的假设;您需要调整此更改中可见的字段处理evdi
。由于您使用的是 Synaptics 自己的驱动程序,因此您应该就此问题与他们联系,可能的方式是在他们的问题跟踪器中打开一个问题。他们只为 Ubuntu 提供支持,因此他们可能不会对此采取任何措施。
为了将来的参考,由于您似乎正在运行 Debian,您可能希望使用Debian
evdi
软件包,而不是 Synaptics 为 Ubuntu 提供的软件包。