Announcement

Collapse
No announcement yet.

[Solved] JDk/Jre install issues

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Solved] JDk/Jre install issues

    Kubuntu version 10.04
    KDE version: 4.4.5
    Grub version: 0.9

    If I go to KpackageKit and try to download sun-java6-jre, sun-java-jdk, and sun-java-plugin they start then it says you need to download these files:unixodbc, odbcinst, obdcinst1debain1, java-common, sun-java6-bin, and gsfonts-x11. I click continue. I give the authorization and it says waiting for package lock and it stays like that forever. So I try downloading it in Terminal. I type sudo apt-get update, and it updates. Then I type: sudo apt-get install (sun-java6-jre,jdk,plugin) whatever I want to install, and it says: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.


    #2
    Re: JDk/Jre install issues

    When I do what?

    Comment


      #3
      Re: JDk/Jre install issues

      when you do
      Code:
      sudo dpkg --configure -a
      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        Re: JDk/Jre install issues

        Thanks it helps a bit. Heres the install and tell me what I need to do to make it finish:


        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        You might want to run `apt-get -f install' to correct these:
        The following packages have unmet dependencies:
        sun-java6-jre: Depends: sun-java6-bin (>= 6.26-1maverick1) but it is not going to be installed or
        ia32-sun-java6-bin (>= 6.26-1maverick1) but it is not installable
        Recommends: gsfonts-x11 but it is not going to be installed
        sun-java6-plugin: Depends: sun-java6-bin (>= 6.26-1maverick1) but it is not going to be installed
        E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

        Comment


          #5
          Re: JDk/Jre install issues

          I did apt-get -f install and it said:


          E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
          E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?



          I'm the only account on this computer so I'm guessing im the root

          Comment


            #6
            Re: JDk/Jre install issues

            that should be
            Code:
            sudo apt-get -f install
            to run a command as root you must use sudo before the command

            allso do not have a GUI package manager open wile trying to use the command line and apt

            VINNY
            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #7
              Re: JDk/Jre install issues

              Thank you so much! Ive had linux for 4 days and I just couldn't get java to work!

              Comment


                #8
                Re: JDk/Jre install issues

                so your good now ?

                VINNY
                i7 4core HT 8MB L3 2.9GHz
                16GB RAM
                Nvidia GTX 860M 4GB RAM 1152 cuda cores

                Comment


                  #9
                  Re: JDk/Jre install issues

                  I made one more Topic on Help the New Guy if you want to help me on that.

                  Comment

                  Working...
                  X