Skip to content

sbt-launcher 0.13.x fails to download #6640

@baffles

Description

@baffles

steps

Using sbt-launcher 1.5.5, sbt --sbt-version 0.13.18 sbtVersion will fail.

Exact repro:

  1. Get on Ubuntu Focal (e.g., docker run --rm -it ubuntu:focal)
  2. Install SBT from official repo, e.g.:
apt-get update
apt-get install -y curl gnupg openjdk-8-jdk
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/apt/sources.list.d/sbt.list
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee /etc/apt/sources.list.d/sbt_old.list
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add
apt-get update
apt-get install -y sbt
  1. Observe the failure:
mkdir /tmp/test
cd /tmp/test
sbt sbtVersion # downloads sbt-launcher 1.5.5 and prints 1.5.5
sbt --sbt-version 0.13.18 sbtVersion # fails

problem

downloading sbt launcher 0.13.18
shasum: standard input: no properly formatted SHA checksum lines found
failed to download launcher jar: https://repo1.maven.org/maven2/org/scala-sbt/sbt-launch/0.13.18/sbt-launch-0.13.18.jar (shasum mismatch)

expectation

sbt 0.13.18 runs and prints 0.13.18 to the console

notes

This worked previously. Not sure if this is due to the whole bintray fiasco or something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions