I get such an error while installing Ubuntu 20.4 CyberPanel. please help
have you run apt-get update and upgrade and then reboot
before run the installation script ?
Maybe some system process is stuck. Try to update your system using
sudo apt update and then
sudo apt upgrade. Then restart the server to kill those stuck processes.
After rebooting try to install again and see.