FAQ
I have downloaded the 2.9.2 debian package.
I am getting an error when I am trying to install the package (as per below)
This is my first time using scala so Im not sure if theres something else I
should be doing to install.
Any suggestions? Do I need to update my java version?


sudo dpkg -i scala-2.9.2.deb
[sudo] password for andrew:
Selecting previously deselected package scala.
(Reading database ... 79585 files and directories currently installed.)
Unpacking scala (from scala-2.9.2.deb) ...
dpkg: error processing scala-2.9.2.deb (--install):
trying to overwrite '/usr/share/java/jline.jar', which is also in package
libjline-java 0.9.94-5
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
scala-2.9.2.deb


java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.6 (squeeze)
Release: 6.0.6
Codename: squeeze

Search Discussions

  • Josh Suereth at Dec 11, 2012 at 12:06 pm
    That version of the deb file had a conflict with libjava-jline or whatever
    the package is named. 2.9.3 should have a fixed Debian.
    On Dec 11, 2012 6:23 AM, "dr_b" wrote:

    I have downloaded the 2.9.2 debian package.
    I am getting an error when I am trying to install the package (as per
    below)
    This is my first time using scala so Im not sure if theres something else
    I should be doing to install.
    Any suggestions? Do I need to update my java version?


    sudo dpkg -i scala-2.9.2.deb
    [sudo] password for andrew:
    Selecting previously deselected package scala.
    (Reading database ... 79585 files and directories currently installed.)
    Unpacking scala (from scala-2.9.2.deb) ...
    dpkg: error processing scala-2.9.2.deb (--install):
    trying to overwrite '/usr/share/java/jline.jar', which is also in package
    libjline-java 0.9.94-5
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Errors were encountered while processing:
    scala-2.9.2.deb


    java -version
    java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
    OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

    lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description: Debian GNU/Linux 6.0.6 (squeeze)
    Release: 6.0.6
    Codename: squeeze

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscala-user @
categoriesscala
postedDec 11, '12 at 11:23a
activeDec 11, '12 at 12:06p
posts2
users2
websitescala-lang.org
irc#scala

2 users in discussion

Josh Suereth: 1 post Dr_b: 1 post

People

Translate

site design / logo © 2017 Grokbase