我正在使用 Ubuntu 23.04
我在终端运行此命令:
sudo apt-get install git dkms
但我收到了这个错误:
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
* dkms: autoinstall for kernel 6.2.0-36-generic
...fail!
run-parts: /etc/kernel/postinst.d/dkms exited with return code 11
dpkg: error processing package linux-image-6.2.0-36-generic (--configure):
installed linux-image-6.2.0-36-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
linux-image-6.2.0-36-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)