Please use the debian packages, in the future may be added to the ubuntu repos: https://tracker.debian.org/pkg/lenovolegionlinux
A PPA repository for my packages:
Debian/Ubuntu:
sudo apt-get install curl gpg
sudo curl -s https://MrDuartePT.github.io/LLL-pkg-repo/ubuntu/KEY.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/lll-ppa.gpg > /dev/null
sudo curl -SsL -o /etc/apt/sources.list.d/lll-ppa.list https://MrDuartePT.github.io/LLL-pkg-repo/ubuntu/lll-ppa.list
sudo apt update
sudo apt install lenovolegionlinux-dkms python3-darkdetect python3-legion-linux
Fedora was moved to copr Remove Fedora repo before using copr:
sudo dnf remove dkms-lenovolegionlinux python-darkdetect python-lenovolegionlinux
sudo dnf config-manager --set-disabled LLL-pkg-repo
rm /etc/yum.repos.d/LLL.repo
Fedora copr link: https://copr.fedorainfracloud.org/coprs/mrduarte/LenovoLegionLinux/