cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

alex_s168
Journeyman III

Error when installing package on Ubuntu (amdgpu related)

Every time I try to install any package via apt or do `apt upgrade`, I get this error:

```

....
checking for nproc... (cached) yes
checking for module configuration... done
configure: creating ./config.status
config.status: creating config/config.h

Building module:
Cleaning build area...(bad exit status: 2)
make -j12 KERNELRELEASE=6.2.0-36-generic TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/6.2.0-36-generic/build M=/var/lib/dkms/amdgpu/6.2.4-1646729.22.04/build................(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.2.0-36-generic (x86_64)
Consult /var/lib/dkms/amdgpu/6.2.4-1646729.22.04/build/make.log for more information.
dkms autoinstall on 6.2.0-36-generic/x86_64 succeeded for virtualbox virtualbox
dkms autoinstall on 6.2.0-36-generic/x86_64 failed for amdgpu(10)
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-headers-6.2.0-36-generic
linux-image-6.2.0-36-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

```

 

The /var/crash/amdgpu-dkms.0.crash file

 

0 Likes
0 Replies