Hi all, i have the next problem:

after installing this script: https://gist.github.com/kytulendu/33...-opencl-amd-sh

the script works great, its all good. BUT:
after installing it whenever i update or install anything on the terminal i get the following:
for example upgrading reaver:

└─# apt-get upgrade reaver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
reaver is already the newest version (1.6.6-0kali1).
Calculating upgrade... Done
The following packages have been kept back:
clinfo-amdgpu-pro
0 upgraded, 0 newly installed, 0 to remove and 1 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 amdgpu-pro-dkms (16.40-348864) ...
Removing old amdgpu-pro-16.40-348864 DKMS files...


and this:

Removing old amdgpu-pro-16.40-348864 DKMS files...

Deleting module version: 16.40-348864
completely from the DKMS tree.


Done.
Loading new amdgpu-pro-16.40-348864 DKMS files...
Building for 5.10.0-kali9-amd64
Building for architecture amd64
Building initial module for 5.10.0-kali9-amd64
Error! Bad return status for module build on kernel: 5.10.0-kali9-amd64 (amd64)
Consult /var/lib/dkms/amdgpu-pro/16.40-348864/build/make.log for more information.
dpkg: error processing package amdgpu-pro-dkms (--configure):
installed amdgpu-pro-dkms package post-installation script subprocess returned error exit status 10
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for kali-menu (2021.3.3) ...
Errors were encountered while processing:
amdgpu-pro-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)