Skip to content

2.7.0.final and 2.7.1.final installation fails #104

@kynthus

Description

@kynthus

I tried to install 2.7.0.final and 2.7.1.final but it failed.

# scalaenv install scala-2.7.0.final
Installing scala-2.7.0.final:
Downloading scala-2.7.0.final archives...
######################################################################## 100.0%
Extracting files...
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
scala-2.7.0.final installed.

# scalaenv install scala-2.7.1.final
Installing scala-2.7.1.final:
Downloading scala-2.7.1.final archives...
######################################################################## 100.0%
Extracting files...
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
scala-2.7.1.final installed.

These two are supposed to be obtained in .tgz format, but it seems that they are provided as .tar.gz on the official site.

# plugins/scala-install/share/scala-2.7.0.final
sites=(
    "http://www.scala-lang.org/files/archive"
    );
archive_file="scala-2.7.0.final.tgz" # change to `archive_file="scala-2.7.0-final.tar.gz"`??? (Between 2.7.0 and final is '-')
# plugins/scala-install/share/scala-2.7.1.final
sites=(
    "http://www.scala-lang.org/files/archive"
    );
archive_file="scala-2.7.1.final.tgz" # change to `archive_file="scala-2.7.1.final.tar.gz"`???

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions