microsoft / azdo-databricks

A set of Build and Release tasks for Building, Deploying and Testing Databricks notebooks
MIT License
25 stars 30 forks source link

install scala is broken - bintray no longer exists #53

Open scaladevspark opened 2 years ago

scaladevspark commented 2 years ago

scala sbt task throws an error:

Hit:1 http://azure.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://azure.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://azure.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 http://azure.archive.ubuntu.com/ubuntu focal-security InRelease Hit:5 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease Hit:6 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease Ign:7 https://dl.bintray.com/sbt/debian InRelease Err:8 https://dl.bintray.com/sbt/debian Release Could not handshake: The TLS connection was non-properly terminated. [IP: 3.122.203.194 443] Reading package lists... E: The repository 'https://dl.bintray.com/sbt/debian Release' does not have a Release file.

sudo DEBIAN_FRONTEND=noninteractive apt-get install sbt -y

Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package sbt

[error]Bash exited with code 100

Finishing: Running installscalatools

would be better to install via: echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add sudo apt-get update sudo apt-get install sbt