LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-01-2008, 05:12 PM   #1
dcbc
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Rep: Reputation: 0
installing sun-java6-jdk


hello
i am a linux newbie.
i am trying this command
$sudo apt-get install sun-java6-jdk
i get following error

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
sun-java6-bin sun-java6-jre
Suggested packages:
sun-java6-demo sun-java6-doc sun-java6-source sun-java6-plugin ia32-sun-java6-plugin
sun-java6-fonts ttf-sazanami-gothic ttf-sazanami-mincho
The following NEW packages will be installed:
sun-java6-bin sun-java6-jdk sun-java6-jre
0 upgraded, 3 newly installed, 0 to remove and 219 not upgraded.
Need to get 42.0MB of archives.
After unpacking 125MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
sun-java6-bin sun-java6-jre sun-java6-jdk
Install these packages without verification [y/N]? y
Get:1 http://archive.ubuntu.com feisty/multiverse sun-java6-bin 6-00-2ubuntu2 [26.2MB]
Get:2 http://archive.ubuntu.com feisty/multiverse sun-java6-jre 6-00-2ubuntu2 [6324kB]
Get:3 http://archive.ubuntu.com feisty/multiverse sun-java6-jdk 6-00-2ubuntu2 [9493kB]
Fetched 21.0MB in 6m55s (50.5kB/s)
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
Preconfiguring packages ...
Selecting previously deselected package sun-java6-bin.
(Reading database ... 273690 files and directories currently installed.)
Unpacking sun-java6-bin (from .../sun-java6-bin_6-00-2ubuntu2_i386.deb) ...
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
sun-dlj-v1-1 license has already been accepted
Selecting previously deselected package sun-java6-jre.
Unpacking sun-java6-jre (from .../sun-java6-jre_6-00-2ubuntu2_all.deb) ...
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
sun-dlj-v1-1 license has already been accepted
Selecting previously deselected package sun-java6-jdk.
Unpacking sun-java6-jdk (from .../sun-java6-jdk_6-00-2ubuntu2_i386.deb) ...
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
sun-dlj-v1-1 license has already been accepted
Setting up sun-java6-bin (6-00-2ubuntu2) ...

Setting up sun-java6-jre (6-00-2ubuntu2) ...

Setting up sun-java6-jdk (6-00-2ubuntu2) ...
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device



what should i do?
 
Old 04-01-2008, 07:30 PM   #2
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
It looks as though the files that you were downloading with apt-get are corrupted or have some other issue. The best way to solve your issue is to go to sun's website and download the java jdk package in .tar.gz format. This package should have either (I forget, sorry) an install script or a very handy text file telling you exactly how to handle putting java onto your machine. If you follow the script step by step you will then end up with java and will probably have fewer headaches than trying to reconfigure your apt-get repositories.
 
Old 04-02-2008, 08:17 AM   #3
dcbc
LQ Newbie
 
Registered: Mar 2008
Posts: 12

Original Poster
Rep: Reputation: 0
gankoji
thanks for the reply.i'll try this
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing SUN JDK 1.5.10 eerpini Linux - Software 5 07-25-2007 08:20 AM
Sun JDK 6 and Fedora 7 problems RoughEdge Fedora 4 06-30-2007 12:59 PM
Installing Sun JDK naiveguy Linux - General 2 04-17-2006 03:15 PM
installing Sun JDK in FC5 fakie_flip Linux - Software 1 04-14-2006 06:28 PM
knoppix (Debain) Installing SUN Jdk 1.4.0_01 freakhead Linux - Newbie 2 07-28-2004 05:15 PM


All times are GMT -5. The time now is 06:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration