Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

install scala is broken - bintray no longer exists #53

@scaladevspark

Description

@scaladevspark

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions