Skip to content

Commit

Permalink
installer: fix mysql server installation for Debian 10
Browse files Browse the repository at this point in the history
"mysql-server" package is not found in central Debian repos.
We don't actually enable mysql.com repo, and we don't even want
that, per #423 .

"default-mysql-server" package on Debian 10 installs
mariadb-server-10.3.
  • Loading branch information
andrey-utkin committed Mar 15, 2024
1 parent 8506f15 commit ba7c7c1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions installer/v3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,26 +113,23 @@ buster_install()
apt-get -y install gnupg sudo wget
apt-get -y install python3-pip
pip3 install --user --upgrade pip
wget -q https://repo.mysql.com/RPM-GPG-KEY-mysql-2023 -O- | apt-key add -
wget -q https://dl.bluecherrydvr.com/key/bluecherry.asc -O- | apt-key add -
: "${SRCLIST_URL:=https://dl.bluecherrydvr.com/sources.list.d/bluecherry-"$VERSION_CODENAME"-unstable.list}"
wget --output-document=/etc/apt/sources.list.d/bluecherry-"$VERSION_CODENAME".list "$SRCLIST_URL"
apt-get -y update
apt-get -y install mysql-server bluecherry
apt-get -y install default-mysql-server bluecherry
}

# Debian 11
bullseye_install()
{
apt-get -y update
apt-get -y install gnupg sudo sudo python3-distutils wget
wget -q https://repo.mysql.com/RPM-GPG-KEY-mysql-2023 -O- | apt-key add -
wget -q https://dl.bluecherrydvr.com/key/bluecherry.asc -O- | apt-key add -
: "${SRCLIST_URL:=https://dl.bluecherrydvr.com/sources.list.d/bluecherry-"$VERSION_CODENAME"-unstable.list}"
wget --output-document=/etc/apt/sources.list.d/bluecherry-"$VERSION_CODENAME".list "$SRCLIST_URL"
apt-get -y update
apt-get -y install mariadb-server bluecherry
# apt-get install mariadb-server
}

check_distro()
Expand Down

0 comments on commit ba7c7c1

Please sign in to comment.