Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15
I think something's wrong on my end. The console simply says "e: Illegal operation" when I give it the sudo apt command, and my synaptics manager is giving me this: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Just Joined!
    Join Date
    Jun 2010
    Posts
    20

    I think something's wrong on my end. The console simply says "e: Illegal operation" when I give it the sudo apt command, and my synaptics manager is giving me this:

    EDIT: only now noticed the illegibility, sorry. I loaded up the screenshots to tinypic but couldn't post them.
    Attached Images Attached Images

  2. #12
    Just Joined!
    Join Date
    Jun 2006
    Posts
    8
    Huh, let's take it back to the beginning. Open a terminal. Type: java -version

    What do you get?
    ayward4now@iam:~$ java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
    wayward4now@iam:~$

    That it what I get here. Note the trademarked Java (TM) which is the real deal.

    Next in that terminal window the ubuntu command to install would be
    sudo apt-get install sun-java6-jdk
    Just copy and paste that. Towards the end of the install, you should see a pop up license agreement. Do not just hit enter! You have to scroll down to see the click-to in the agreement. I THINK you just hit tab to select it. and then hit enter to agree. Then it will complete the installation. I hope this helps! Ric

  3. #13
    Just Joined!
    Join Date
    Jun 2010
    Posts
    20
    ducky@ubuntu:~$ java -version
    java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1. (6b18-1.8-0ubuntu1)
    OpenJDK Server VM (build 14.0-b16, mixed mode)
    ducky@ubuntu:~$ sudo apt-get install sun-java6-jdk
    [sudo] password for ducky:
    E: Kon vergrendeling /var/lib/dpkg/lock niet verkrijgen - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    ducky@ubuntu:~$


    That's what I get, at the version, and then the install.

  4. #14
    Just Joined!
    Join Date
    Jun 2006
    Posts
    8
    This is your lucky day! I just re-installed last night, a fresh install of Ubuntu Lucid. I used Synaptic, as I mentioned to install the Sun JDK, which it did without complaint. Then I read your post and tried this on my own self:
    wayward4now@iam:/etc$ java -version
    java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1. (6b18-1.8-0ubuntu1)
    OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)

    Holy smokes!! This is what CC has gone through, too. OK, I opened Synaptic again and put "iced" in the search bar and it showed an Iced-Tea pluggin and open JDK installed. So, I clicked to remove all of the pre-installed packages.

    Then, after closing Synaptic, I tried again ...straightaway:

    wayward4now@iam:/etc$ java -version
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
    wayward4now@iam:/etc$

    YEA!! No more Iced-Tea and Sun's JDK is recognized by the system. Hope this helps, Ric

  5. #15
    Just Joined!
    Join Date
    Jun 2010
    Posts
    20
    ducky@ubuntu:~$ java -version
    The program 'java' can be found in the following packages:
    * gcj-4.4-jre-headless
    * openjdk-6-jre-headless
    * cacao
    * gij-4.3
    * jamvm
    Try: sudo apt-get install <selected package>
    ducky@ubuntu:~$

    Alright, followed those instructions. Now can I just install the java thing from synaptics.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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