【已解决】sudo phala install 失败

系统信息:
Ubuntu 20.04.2 LTS
Linux pha 5.8.0-050800-generi

pha@pha:~/solo-mining-scripts-para$ sudo phala install
----------更新系统源----------
Hit:1 Index of /ubuntu focal InRelease
Hit:2 Index of linux/ubuntu/ focal InRelease
Hit:3 Index of /node_14.x/ focal InRelease
Hit:4 http://cn.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 Index of /ubuntu focal-backports InRelease
Hit:6 Index of /ubuntu focal-security InRelease
Reading package lists… Done
----------安装依赖----------
jq is /usr/bin/jq
curl is /usr/bin/curl
wget is /usr/bin/wget
unzip is /usr/bin/unzip
zip is /usr/bin/zip
docker is /usr/bin/docker
docker-compose is /usr/local/bin/docker-compose
node is /usr/bin/node
yq is /usr/bin/yq
dkms is /usr/sbin/dkms
----------下载 DCAP 驱动----------
–2021-08-30 01:15:33-- https://download.01.org/intel-sgx/latest/dcap-latest/linux/distro/ubuntu20.04-server/sgx_linux_x64_driver_1.41.bin
Resolving download.01.org (download.01.org)… 104.71.174.98, 2600:140b:2:9b1::4b21, 2600:140b:2:988::4b21
Connecting to download.01.org (download.01.org)|104.71.174.98|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 41637 (41K) [application/octet-stream]
Saving to: ‘/tmp/sgx_linux_x64_driver_1.41.bin’

/tmp/sgx_linux_x64_driver_1.41.bin 100%[==========================================================================================================================================================>] 40.66K --.-KB/s in 0.08s

2021-08-30 01:15:33 (540 KB/s) - ‘/tmp/sgx_linux_x64_driver_1.41.bin’ saved [41637/41637]

----------添加运行权限----------
----------安装DCAP驱动----------
Unpacking Intel SGX Driver … done.
Verifying the integrity of the install package … done.
Installing Intel SGX Driver …
/tmp/sgx-driver-WcvYDO /home/pha/solo-mining-scripts-para
install -d /opt/intel/sgxdriver/package
install -d /opt/intel/sgxdriver/scripts
cp -r package/* /opt/intel/sgxdriver/package
install scripts/* /opt/intel/sgxdriver/scripts
/home/pha/solo-mining-scripts-para

Kernel preparation unnecessary for this kernel. Skipping…

Building module:
cleaning build area…
‘make’ KDIR=/lib/modules/5.8.0-050800-generic/build…(bad exit status: 2)
ERROR (dkms apport): binary package for sgx: 1.41 not found
Error! Bad return status for module build on kernel: 5.8.0-050800-generic (x86_64)
Consult /var/lib/dkms/sgx/1.41/build/make.log for more information.

Failed to build driver. Please check if the matching kernel headers are installed.
----------安装DCAP驱动失败,请检查驱动安装日志!----------

到底那个内核版本的可以正常安装,或者是bios要升级还是要怎样?