diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 1e4dd5739..abad1a487 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -244,6 +244,15 @@ class InstallCyberPanel: if self.distro == ubuntu: + if get_Ubuntu_release() == 18.10: + command = 'apt-get install software-properties-common -y' + install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) + + command = "apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'" + install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) + + command = "add-apt-repository 'deb [arch=amd64,arm64,ppc64el] https://mirror.yongbok.net/mariadb/repo/10.5/ubuntu bionic main'" + install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) command = "apt-get -y install mariadb-server" elif self.distro == centos: