Find the answer to your Linux question:
Results 1 to 5 of 5
I downloded java SDK for linux and i got this error .. I have no clue on wats happening. Code: Do you agree to the above license terms? [yes or ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    11

    Unhappy Java SDK install error ...

    I downloded java SDK for linux and i got this error ..
    I have no clue on wats happening.

    Code:
    Do you agree to the above license terms? [yes or no]
    yes
    Unpacking...
    Checksumming...
    Extracting...
    UnZipSFX 5.50 of 17 February 2002, by Info-ZIP 
      inflating: jdk-6u16-linux-i586.rpm  
      inflating: sun-javadb-common-10.4.2-1.1.i386.rpm  
      inflating: sun-javadb-core-10.4.2-1.1.i386.rpm  
      inflating: sun-javadb-client-10.4.2-1.1.i386.rpm  
      inflating: sun-javadb-demo-10.4.2-1.1.i386.rpm  
      inflating: sun-javadb-docs-10.4.2-1.1.i386.rpm  
      inflating: sun-javadb-javadoc-10.4.2-1.1.i386.rpm  
    error: can't create transaction lock on /var/lib/rpm/__db.000
    Installing JavaDB
    error: can't create transaction lock on /var/lib/rpm/__db.000
     
    Done.
    [rahul]$ rpm -ivh j*
    jdk-6u16-linux-i586-rpm.bin: not an rpm package (or package manifest):

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    that isn't an rpm, you need to run it with ./ and make sure you set execute bit with chmod +x first

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    11
    i would be glad if you could provide me with some link.
    Since its my third installation which went wrong.

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    it looks like you need to run this as root, since it apparently attempts to install the rpm's after extracting them

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    11
    I ran it as root and i got the same results.
    Is there ne distro which comes with pre built things like this and LAMP and also those breath taking graphics.
    That will solve my issue

Posting Permissions

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