安装acpi-call-dkms时出现此错误

纳仁
$ sudo apt install acpi-call-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  acpi-call-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/13.6 kB of archives.
After this operation, 48.1 kB of additional disk space will be used.
Selecting previously unselected package acpi-call-dkms.
(Reading database ... 395855 files and directories currently installed.)
Preparing to unpack .../acpi-call-dkms_1.1.0-5_all.deb ...
Unpacking acpi-call-dkms (1.1.0-5) ...
Setting up acpi-call-dkms (1.1.0-5) ...
Loading new acpi-call-1.1.0 DKMS files...
Building for 5.6.0-trunk-amd64
Building initial module for 5.6.0-trunk-amd64
Error! Bad return status for module build on kernel: 5.6.0-trunk-amd64 (x86_64)
Consult /var/lib/dkms/acpi-call/1.1.0/build/make.log for more information.
dpkg: error processing package acpi-call-dkms (--configure):
 installed acpi-call-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 acpi-call-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

这些是/var/lib/dkms/acpi-call/1.1.0/build/make.log的内容

DKMS make.log for acpi-call-1.1.0 for kernel 5.6.0-trunk-amd64 (x86_64)
Thu 28 May 2020 06:26:56 PM IST
make: Entering directory '/usr/src/linux-headers-5.6.0-trunk-amd64'
  AR      /var/lib/dkms/acpi-call/1.1.0/build/built-in.a
  CC [M]  /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.o
/var/lib/dkms/acpi-call/1.1.0/build/acpi_call.c: In function ‘init_acpi_call’:
/var/lib/dkms/acpi-call/1.1.0/build/acpi_call.c:356:53: error: passing argument 4 of ‘proc_create’ from incompatible pointer type [-Werror=incompatible-pointer-types]
                                                     &proc_acpi_operations);
                                                     ^~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.c:6:
/usr/src/linux-headers-5.6.0-trunk-common/include/linux/proc_fs.h:64:24: note: expected ‘const struct proc_ops *’ but argument is of type ‘struct file_operations *’
 struct proc_dir_entry *proc_create(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct proc_ops *proc_ops);
                        ^~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-5.6.0-trunk-common/scripts/Makefile.build:273: /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.o] Error 1
make[1]: *** [/usr/src/linux-headers-5.6.0-trunk-common/Makefile:1696: /var/lib/dkms/acpi-call/1.1.0/build] Error 2
make: *** [/usr/src/linux-headers-5.6.0-trunk-common/Makefile:180: sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-5.6.0-trunk-amd64'

我使用Thinkpad X1 Extreme。我尝试安装此软件包/软件以使用TLP设置电池阈值。感谢您的帮助!

林纳

内核≥5.6至少需要包含必要补丁程序的软件包版本1.1.0-6(Debian不稳定或Ubuntu 20.10)。

https://linrunner.de/tlp/faq/battery.html#installation-of-package-acpi-call-dkms-failed

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

acpi-call-dkms 安装失败,使用最新的 5.8.0 主线内核

来自分类Dev

安装后无法启动,ACPI错误

来自分类Dev

在安装opendx时出现此错误

来自分类Dev

尝试安装时出现此错误

来自分类Dev

在MSI-Z370-A PRO上安装OS时出现BIOS ACPI错误消息

来自分类Dev

在Windows 10双重启动中安装Ubuntu 16.04时出现ACPI错误

来自分类Dev

尝试安装滑轨时出现此错误。如何更改路径?

来自分类Dev

为什么在安装rmarkdown时出现此错误

来自分类Dev

为什么在pycharm中安装pygame时出现此错误

来自分类Dev

重新安装Grub时出现此错误

来自分类Dev

为什么在安装rmarkdown时出现此错误

来自分类Dev

当我想安装 PyAutoIt 时出现此错误

来自分类Dev

安装 Mongo DB 并在启动时出现此错误

来自分类Dev

安装/运行任何Linux操作系统时,ACPI错误:AE_NOT_FOUND

来自分类Dev

安装专有的Nvidia驱动程序后,Unity不出现(GPU掉线/ ACPI失败)

来自分类Dev

安装专有的Nvidia驱动程序后,Unity不出现(GPU掉线/ ACPI失败)

来自分类Dev

尝试安装rails时出现此错误。错误:无法构建gem本机扩展。(Ubuntu 16.04)

来自分类Dev

尝试安装rails时出现此错误。错误:无法构建gem本机扩展。(Ubuntu 16.04)

来自分类Dev

将Grub安装到Windows 7并安装USB时出现此错误

来自分类Dev

XPS 9560无法安装Ubuntu。ACPI错误/空安装类型/“无法找到包含实时文件系统的介质”

来自分类Dev

在Ubuntu 20.04 LTS上安装Virtualbox时出现“错误(dkms处理):不支持内核软件包linux-headers-5.8.0-34-generic”

来自分类Dev

为什么在安装npm now软件包时出现此错误?

来自分类Dev

为什么在安装MySQL服务器时出现此错误?

来自分类Dev

是什么原因导致在rvm下安装rubinius时出现此错误?

来自分类Dev

安装Cordova时出现错误

来自分类Dev

安装Rstudio时出现错误

来自分类Dev

安装udunits时出现错误

来自分类Dev

安装pyinstaller时出现错误

来自分类Dev

安装Cordova时出现错误

Related 相关文章

  1. 1

    acpi-call-dkms 安装失败,使用最新的 5.8.0 主线内核

  2. 2

    安装后无法启动,ACPI错误

  3. 3

    在安装opendx时出现此错误

  4. 4

    尝试安装时出现此错误

  5. 5

    在MSI-Z370-A PRO上安装OS时出现BIOS ACPI错误消息

  6. 6

    在Windows 10双重启动中安装Ubuntu 16.04时出现ACPI错误

  7. 7

    尝试安装滑轨时出现此错误。如何更改路径?

  8. 8

    为什么在安装rmarkdown时出现此错误

  9. 9

    为什么在pycharm中安装pygame时出现此错误

  10. 10

    重新安装Grub时出现此错误

  11. 11

    为什么在安装rmarkdown时出现此错误

  12. 12

    当我想安装 PyAutoIt 时出现此错误

  13. 13

    安装 Mongo DB 并在启动时出现此错误

  14. 14

    安装/运行任何Linux操作系统时,ACPI错误:AE_NOT_FOUND

  15. 15

    安装专有的Nvidia驱动程序后,Unity不出现(GPU掉线/ ACPI失败)

  16. 16

    安装专有的Nvidia驱动程序后,Unity不出现(GPU掉线/ ACPI失败)

  17. 17

    尝试安装rails时出现此错误。错误:无法构建gem本机扩展。(Ubuntu 16.04)

  18. 18

    尝试安装rails时出现此错误。错误:无法构建gem本机扩展。(Ubuntu 16.04)

  19. 19

    将Grub安装到Windows 7并安装USB时出现此错误

  20. 20

    XPS 9560无法安装Ubuntu。ACPI错误/空安装类型/“无法找到包含实时文件系统的介质”

  21. 21

    在Ubuntu 20.04 LTS上安装Virtualbox时出现“错误(dkms处理):不支持内核软件包linux-headers-5.8.0-34-generic”

  22. 22

    为什么在安装npm now软件包时出现此错误?

  23. 23

    为什么在安装MySQL服务器时出现此错误?

  24. 24

    是什么原因导致在rvm下安装rubinius时出现此错误?

  25. 25

    安装Cordova时出现错误

  26. 26

    安装Rstudio时出现错误

  27. 27

    安装udunits时出现错误

  28. 28

    安装pyinstaller时出现错误

  29. 29

    安装Cordova时出现错误

热门标签

归档