Skip to content

Instantly share code, notes, and snippets.

@MykolaBova
Created November 12, 2020 00:24
Show Gist options
  • Save MykolaBova/b194b528ebac0768309dd5a17bca709a to your computer and use it in GitHub Desktop.
Save MykolaBova/b194b528ebac0768309dd5a17bca709a to your computer and use it in GitHub Desktop.
sudo apt remove amdgpu
myk@myk-Bravo-17-A4DDK:/usr/src$ sudo apt remove amdgpu
[sudo] password for myk:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
amdgpu
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 9 216 B disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 258216 files and directories currently installed.)
Removing amdgpu (20.40-1147286) ...
Setting up amdgpu-dkms (1:5.6.14.224-1147286) ...
Removing old amdgpu-5.6.14.224-1147286 DKMS files...
------------------------------
Deleting module version: 5.6.14.224-1147286
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-5.6.14.224-1147286 DKMS files...
Building for 5.8.0-29-generic
Building for architecture x86_64
Building initial module for 5.8.0-29-generic
Error! Bad return status for module build on kernel: 5.8.0-29-generic (x86_64)
Consult /var/lib/dkms/amdgpu/5.6.14.224-1147286/build/make.log for more information.
dpkg: error processing package amdgpu-dkms (--configure):
installed amdgpu-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
amdgpu-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment