ACPI-call crashes on apt upgrade in Ubuntu 22.04
Hi guys
I need your help :) ...
I have a Thinkpad X1 with an Ubuntu 22.04.
When trying to run
apt upgrade with a 5.15 Kernel I face this error:
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
#
# News about significant security updates, features and services will
# appear here to raise awareness and perhaps tease /r/Linux ;)
# Use 'pro config set apt_news=false' to hide this and future APT news.
#
The following packages have been kept back:
python3-
xserver-xorg-core
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up acpi-call-dkms (1.2.2-1) ...
Removing old acpi-call-1.2.2 DKMS files...
Deleting module acpi-call-1.2.2 completely from the DKMS tree.
Loading new acpi-call-1.2.2 DKMS files...
Building for 5.15.0-56-generic
Building initial module for 5.15.0-56-generic
Error! Bad return status for module build on kernel: 5.15.0-56-generic (x86_64)
Consult /var/lib/
dpkg: error processing package acpi-call-dkms (--configure):
installed acpi-call-dkms package post-installation script subprocess returned error exit stat
us 10
Errors were encountered while processing:
acpi-call-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
➜ linux-headers-
$ cat /var/lib/
DKMS make.log for acpi-call-1.2.2 for kernel 5.15.0-56-generic (x86_64)
Do 08 Dez 2022 20:23:42 CET
make: Entering directory '/usr/src/
ERROR: Kernel configuration is invalid.
Run 'make oldconfig && make prepare' on kernel src to fix it.
make: *** [Makefile:750: include/
make: Leaving directory '/usr/src/
Is there something I can do to fix it? I tried
$ sudo apt install --reinstall linux-headers-
but it didn't really help.
Thanks for your help.
best
basho
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- B K
- Solved:
- Last query:
- Last reply: