Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Install Eclipse in ubuntu 10.4?

  1. #1
    Join Date
    May 2010
    Beans
    3

    Unhappy Install Eclipse in ubuntu 10.4?

    Hi all:

    I just reinstall my system and replace my old ubuntu 9.10 (where eclipse was installed) by 10.4. I try to install eclipse again in 10.4 by:

    sudo apt-get install eclipse

    But I get errors:


    The following packages have unmet dependencies:
    eclipse: Depends: eclipse-jdt but it is not going to be installed
    Depends: eclipse-pde but it is not going to be installed
    E: Broken packages


    So I try to install eclipse-jdt, but get another two errors:


    The following packages have unmet dependencies:
    eclipse-jdt: Depends: eclipse-platform (= 3.5.2-2ubuntu4) but it is not going to be installed
    Depends: eclipse-plugin-cvs (= 3.5.2-2ubuntu4) but it is not going to be installed
    E: Broken packages


    I try and realize that eclipse-plugin-cvs depends on eclipse-platform, thus I try to install eclispe-platform, but I get another error:


    The following packages have unmet dependencies:
    eclipse-platform: Depends: ant (>= 1.7.1)
    E: Broken packages


    I think it wants ant with version >= 1.7.1, but my ant is 1.8!

    I am stuck; please help? I also remember that in 9.10 installing eclipse is straightforward: I only needed to install eclipse, that's all. How come it gets so complicated in ubuntu 10.4?

    What should I do? Please help -- any help will be highly appreciated. I really need eclipse to do homework! (

    Thanks a lot in advance

  2. #2
    nmaster is offline Extra Foam Sugar Free Ubuntu
    Join Date
    Jun 2009
    Beans
    718

    Re: Install Eclipse in ubuntu 10.4?

    try fixing the broken packages with
    Code:
    sudo apt-get install -f
    then try again.

  3. #3
    Join Date
    May 2010
    Beans
    3

    Re: Install Eclipse in ubuntu 10.4?

    Thanks so much, but it still doesn't work ... I get the same errors as before. Please help? :S

  4. #4
    Join Date
    May 2010
    Beans
    3

    Re: Install Eclipse in ubuntu 10.4?

    I suddenly think of a question: I install ant1.8 but haven't built it yet. When I type in "ant" it says:

    Buildfile: build.xml does not exist!
    Build failed

    Could it be a problem? Is it why eclipse-platform requires ant (>=1.7.1)?

    (But what puzzles me is: why couldn't I just install eclipse anymore? thanks for your help!)

  5. #5
    nmaster is offline Extra Foam Sugar Free Ubuntu
    Join Date
    Jun 2009
    Beans
    718

    Re: Install Eclipse in ubuntu 10.4?

    i'm not really sure what the problem is, but perhaps you could try downloading the tar.gz from here: http://www.eclipse.org/downloads/

    then all you need to do is extract with 'tar xvzf THE_FILE.tar.gz' and look at the README file.

    sorry, i'm not really sure about ant and i've never actually used eclipse. what happens if you try
    Code:
    sudo apt-get install ant && sudo apt-get install eclipse
    Last edited by nmaster; May 5th, 2010 at 05:44 PM.

  6. #6
    Join Date
    May 2010
    Beans
    3

    Re: Install Eclipse in ubuntu 10.4?

    Hey im also having the same problem
    i dont kno the soln but one thing is for sure
    ant 1.8 is working properly the build file for the application to be built using ant is missing which it has to if u havent built nething using ant
    pls refer to the installation guide in your system (if installed) at /usr/share/doc/ant1.8-doc/manual/index.html


    cheers,
    azorac

  7. #7
    Join Date
    Mar 2009
    Location
    ~case 3: #
    Beans
    11
    Distro
    Ubuntu Studio 10.04 Lucid Lynx

    Re: Install Eclipse in ubuntu 10.4?

    i prefeer to install it manually,
    see here

    https://help.ubuntu.com/community/EclipseIDE

  8. #8
    Join Date
    Jul 2010
    Beans
    74
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Install Eclipse in ubuntu 10.4?

    hi,

    i'm also having trouble installing Eclipse on Ubuntu 10.0.0.4. first i tried to install it via Synaptic. i kept on receiving errors about unsatisfied dependencies.

    i found this thread and this statement:
    sudo apt-get install -f

    ...gave me a list of packages that were updated. it seems that my Java installation is good to go. however, this command:
    sudo apt-get install openjdk-6-jdk

    gives me:
    Package openjdk-6-jdk is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package openjdk-6-jdk has no installation candidate

    i have visited this page:
    https://help.ubuntu.com/community/EclipseIDE

    i have Ubuntu 10.04. The page tells me i need Eclipse 3.5.2. However, i don't see Eclipse 3.5.2 in Synaptic. I see 3.5.1 instead.

    I try to mark first 'elipse' page for installation, get this:

    eclipse:
    Depends: eclipse-jdt but it is not going to be installed
    Depends: eclipse-pde but it is not going to be installed

    I try elipse-pde:
    eclipse-pde:
    Depends: eclipse-jdt but it is not going to be installed
    Depends: eclipse-platform but it is not going to be installed

    i try eclipse-platform:
    eclipse-platform:
    Depends: eclipse-platform-data (=3.5.1+repack~1-0ubuntu1) but 3.5.2-2ubuntu4.2 is to be installed

    finally, i have found this thread:
    http://ubuntuforums.org/archive/index.php/t-422791.html

    at the bottom the solution was to access this URL:
    http://medibuntu.sos-sts.com/repository.php

    ...which no longer resolves.

    can someone help me get Eclipse going for Ubuntu 10.4?

    thanks.

  9. #9
    Join Date
    Oct 2008
    Location
    1.2.3.1
    Beans
    94
    Distro
    Kubuntu

    Re: Install Eclipse in ubuntu 10.4?

    Rule out apt as the culprit (overkill method).

    Verify that all repos are correct; the default repos should provide it though.
    Purge the previous install attempts.
    Clean the repo & package data:
    Code:
    $ sudo apt-get autoremove
    $ sudo apt-get autoclean
    $ sudo apt-get check
    $ sudo apt-get update
    
    then install:
    
    $ sudo apt-get --fix-broken --install-recomends install eclipse
    Do you get the same results under Synaptic Package Manager? Consider using that instead of apt-get, just lick the checkbox for eclipse, then visually verify the package versions if you wish (shouldn't be nescessary)

    In Synaptic, once you click 'eclipse' all nessesary packages should select automatically.. don't limit to Just eclipse-platform, for instance (it's just the framework with no real function for what you need to do)

    It's possible that eclipse's mirrors for dependencies were down, or not linked correctly- that would be a goof by the maintainer.. but if installing source, you can retrieve and build the dependancy tree from source using apt.. see "
    Code:
    $ info apt-get
    If all else fails, you could d/l all the source for all the dependancies & their dependancies, compiling to each's instruction, in accordance to eclipse's instructions.. (README's within the extracted source directory)... or convince your professor to let you use netbeans
    Last edited by ToFue; December 5th, 2010 at 03:24 AM.
    "The Path of Least Resistance predetermines choices, according to one's understanding.." --Tofue
    --
    What the $BlEEp do I know??

  10. #10
    Join Date
    Jul 2010
    Beans
    74
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Install Eclipse in ubuntu 10.4?

    hi ToFue,

    your commands worked like a charm. i have a lot of output and no error messages. so, i think i'm ready to use Eclipse.

    thanks!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •