Skip to content

Commit

Permalink
fix (install_scylla): adjust the dependency repos for debian10
Browse files Browse the repository at this point in the history
There is 3rdparty repositorie for Debian 10, the installation doesn't
require it. The openjdk-8-jre dependency can be solved by adoptopenjdk
repositorie.

This patch removed invalid 3rdparty repositorie for Debian 10, and added
adoptopenjdk repositorie.

Signed-off-by: Amos Kong <[email protected]>
  • Loading branch information
amoskong authored and fruch committed Feb 19, 2020
1 parent daab391 commit 72d3e42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdcm/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -1931,10 +1931,10 @@ def install_scylla(self, scylla_repo):
apt-get update
apt-get install apt-transport-https -y
apt-get install gnupg1-curl dirmngr -y
apt-key adv --fetch-keys https://download.opensuse.org/repositories/home:/scylladb:/scylla-3rdparty-buster/Debian_10.0/Release.key
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 17723034C56D4B19
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5E08FBD8B5D6EC9C
echo 'deb http://download.opensuse.org/repositories/home:/scylladb:/scylla-3rdparty-buster/Debian_10.0/ /' > /etc/apt/sources.list.d/scylla-3rdparty.list
curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
apt-get install software-properties-common -y
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
""")
self.remoter.run('sudo bash -cxe "%s"' % install_debian_10_prereqs)

Expand Down

0 comments on commit 72d3e42

Please sign in to comment.