sun java full download for ubuntu10.10

Asked by zachariakassim

where is the link to download all java file for ubuntu10.10

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
Eliah Kagan (degeneracypressure) said :
#1

These instructions tell you how to install Sun (now Oracle) Java in Ubuntu 10.10:
http://www.liberiangeek.net/2010/09/install-sun-java-runtime-environment-jre-ubuntu-10-10-maverick-meerkat/

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Run software centre and edit sources, put a tick in the partner servers and reload. You can now install a lot of stuff from the partner repo including adobe acobat reader, skype, googleearth etc etc

Revision history for this message
zachariakassim (zachariakassim) said :
#3

Thanks,
I will chek, i have slow internet conection, is there any site to download
all ubuntu 10.10 update in a single file and javase6develepment kit software
for ubuntu ( not execution file via net) like downloading software via dap
or download manager. it like full file.

----- Original Message -----
From: "Eliah Kagan" <email address hidden>
To: <email address hidden>
Sent: Thursday, January 27, 2011 3:46 PM
Subject: [Question #143038]: sun java full download for ubuntu10.10

Your question #143038 on sun-java6 in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/143038

    Project: Ubuntu => sun-java6 in ubuntu

--
You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Sai Manoj Kumar Yadlapati (ysaimanojkumar) said :
#4

Download JAVA using Ubuntu Software Center from the Applications Menu

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#5

Sai Manoj Kumar Y's, actionparsnip's, and my instructions are all equivalent, and they all have the result of automatically downloading and installing the JRE. You can also select the JDK and install that, the same way. The package for the JRE is called sun-java6-jre. The package for the JDK is called sun-java6-jdk.

I'm not sure exactly what you're asking, with respect to Ubuntu 10.10 updates in general, but that seems to be a separate question (i.e. it is not specifically about Sun Java), so you'll probably get better results if you ask it as a separate Question here on Launchpad.

Revision history for this message
zachariakassim (zachariakassim) said :
#6

i have slow internet conection it will take 10 hours to download via Ubuntu Software Center, so please tell where to download direct file from website it may have 70 mb size, so i can download from internet cafe and install in my pc later on. I have download (1) jdk-6u23-linux-i586.bin (82mb) (2) jre-6u23-linux-i586.bin (20mb) but how to install in ubuntu 10.10 ,

i need javase6 develepment kit software for ubuntu 10.10. i have download the windows xp version javase6 develepment kit software from oracle it works,

thanks

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#7

You can install those files on Ubuntu, but I don't recommend it. You can manually download the .deb packages to any computer, and then bring them to your PC. Then you will have the same thing you'd have if you had obtained it in the Software Center. One of the benefits of this is that other Ubuntu packages that rely on Java will know you have it (and thus not refuse to work), and will know where to find it.

Go to https://launchpad.net/ubuntu/+source/sun-java6 and expand "6.22-0ubuntu1~10.10" (by clicking on the triangle-arrow thing to its immediate left), under "The Maverick Meerkat (current stable release)".

If your architecture is i386 (i.e. you have a 32-bit processor, or you have a 64-bit processor but you have the 32-bit version of Ubuntu installed), then download all the files whose names start with sun-java6- and end with _i386.deb.

If your architecture is amd64 (i.e. you have a 64-bit processor and have the 64-bit version of Ubuntu installed), then download all the files whose names start with sun-java6- and end with _amd64.deb.

Those packages, taken together, provide the same functionality that is provided by the JRE and JDK on Windows.

If you have a 64-bit processor and run the 64-bit version of Ubuntu, but you have Java programs that assume the 32-bit version of the Java Runtime Environment (which generally speaks badly of their design), get the file that starts with ia32- as well.

You'll have to manually obtain and install the new versions, as they become available. While you don't always have to install new updates, a lot (if not most) updates to Java fix security vulnerabilities, so it is a very good idea to install updates as they are released. If you enable the Partner repository as per the instructions in earlier answers, then at least you'll be automatically notified when updates are released.

If you are sure you want to install from jdk-6u23-linux-i586.bin and jre-6u23-linux-i586.bin instead of using this method, then please post again, and I'll provide you with instructions for that. (But I really recommend you consider using this method instead.)

Revision history for this message
zachariakassim (zachariakassim) said :
#8

Hai eliah

i want to install from jdk-6u23-linux-i586.bin and jre-6u23-linux-586.bin can, i have tried from synaptic pakage manager but it is not high lighting the said file for installing what shall i do

i have follow the quide from the the said web side it work but it long time time to download the said file.

http://www.unixmen.com/linux-distributions/4-ubuntu/1266-how-to-install-latest-java-version-in-ubuntu-1010-maverick-meerkat-via-ppa" -->

In order to run Java programs, you must have a Java run time
environment (JRE) installed. To run Java web applets in your browser, you additionally need a plugin for your browser, which is not installed by default. In this post i will show you 2 ways to install Java, The first how to install Java6 from partner repository and the second how to have the latest stable version of java from PPA repository.

1- If you want to install Java run time in ubuntu 10.10 Maverick meerkat , you need to activate first the partner repository, to do that, go to System-->Administration-->Synaptic package manager then go to settings--> repositories and activate canonical Partners
in Software Center, type sun-java6-jre in the search box, then select and install Sun Java:
 sun-java6-jre

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#9

Have you tried following my instructions, manually downloading the .deb files from launchpad.net at the Internet cafe, and then installing them on your computer?

If you do that, then adding the Partner repository in the Software Center is *optional*.

The .bin files are are not Ubuntu packages. They are command-line executables that install Java in any GNU/Linux distribution, including Ubuntu. However, as I explained above, if you install from them, it will be more difficult for you to get some Java programs working, than if you install from the .deb packages as per my instructions. I highly recommend installing from the .deb packages. Nothing you have said so far indicates that you have *any* reason to use the .bin installers instead of the .deb packages.

If you understand this and still want to install from the .bin files, follow the official instructions on the Oracle website where you downloaded them. For your convenience, that's http://www.oracle.com/technetwork/java/javase/install-linux-self-extracting-142296.html for the 32-bit JRE, and http://www.oracle.com/technetwork/java/javase/install-linux-self-extracting-138783.html for the 32-bit JDK.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#10

@zachariakassim: When you have a separate question, it is best to ask it separately (i.e. to open a new question on Launchpad for it). However, when you are asking for additional assistance for solving the same problem, you should *not* start a new question. Instead, you should post again in the original question, by typing your post into the box in the web-based interface and clicking the button to request more assistance (not the "Just Add a Comment" button, as that won't change the status of your question back from Needs Information / Answered to Open). You can also reopen a question by replying to the email that notifies you of the post that you want to reply to. If you do this, you should remove the text of the other person's post from the body of your email, as including it is confusing and takes up a lot of space on the Question page.

https://answers.launchpad.net/~zachariakassim reveals that each time you've needed more assistance on this issue, you have opened a new question. Generally speaking, people don't know that your different questions are connected in any way, which is why you've received some repeated advice and some advice that doesn't take your previous-expressed needs into account. This question contains the most information, so let's stick with this one. If the rest of the discussion about this specific issue remains within this question, it is likely that your problem will get solved soon. If you keep opening new questions to provide additional information, your problem might never get solved.

The following is the text of the most recent question you have asked, which appears to be a direct follow-up to my most recent answer in this question. I am reproducing that text (with slightly altered formatting) from https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/143265. Please note that, as I mentioned above, it is not *generally* a good idea to repost the text of another person's post. In this case, I am doing it so that all the information relevant to this issue can be inside *this* question.

> Hai Eliah Kagan,
>
> I tried to install the jdk-6u23-linux-i586.bin & jre-6u23-linux-i586.bin using
> command in terminal it inflated and executed but still java it is not working,
>
> this is the command and guide i got from net
>
> open a terminal and cd (change directory) to/where/you/put/ jre-6u23-linux-i586.bin
> assume root "su" or sudo cp jre-6u23-linux-i586.bin /usr/lib/ then type
> sh /usr/lib/jre-6u23-linux-i586.bin accept terms and then you are installed.
> Then type rm /usr/lib/jre-6u23-linux-i586.bin to delete the bin file after
> it has been extracted.
> The bin file is a self extracting archive that runs a script that asks you to
> accept the terms of the program. The command "sh" tell the system to run it as
> a executable script. Type man chmod when done reading pres q.
> Look here for commands ( http://ss64.com/bash/ )
>
> So i am folowing what you said, please send me the link directly so that i
> will download from the internat cafe and will install in my pc, since the
> ubuntu website is so confusing so what is the exact file name to be download
> for installing java se6 development kit for ubuntu 10.10,
>
> thanks

Do you want me to help you with downloading the .deb packages for Ubuntu (which is the method I recommended above), or do you want me to help you with the problems you had when you attempted to install from the .bin files?

If you want me to help you with downloading the .deb packages for Ubuntu, then please first attempt to find the .deb files using my instructions above. You can try to find them now, so you know which files you need, but then wait to download them until you're in the Internet cafe. If you have attempted to follow my instructions above, then please explain as specifically as possible what you had trouble with. There are many files listed, but my instructions above provide a specific method that you can use to determine exactly which files you need.

It is not as simple as me telling you which files you need, as I don't know the architecture of your Ubuntu installation, or your specific development needs. These issues are discussed in my instructions above.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#11

(Please note that you must click the link that says "[...]" in my previous post, in order to see the text of the question you asked. Clicking that link doesn't cause you to leave this page, it just makes the link expand into the text.)

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#12

Do you still want assistance with this issue?

If so, you can indicate that you still want assistance by reposting your latest post from https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/142884 here on this page. (You may recall that this page is where I said that further discussion of this topic should continue, rather than any of the other three duplicate questions you opened.)

Since you've never posted here (at *this* question) again, I have no reason to believe that you still need help. However, I would be pleased to help you, if you indicate that you still want assistance.

Revision history for this message
zachariakassim (zachariakassim) said :
#13

Since my internet connection is slow, I went to internet cafe and download all these files, as mr eliah kagan said.

sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb
sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb
sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb
sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb
sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb
sun-java6-jre_6.22-0ubuntu1~10.10_all.deb
sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb
sun-java6-source_6.22-0ubuntu1~10.10_all.deb

But when I tried to install it is not installing

it give this error

tar: ./usr/share/doc/sun-java6-plugin: Cannot create symlink to `sun-java6-bin': Operation not permitted
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2

again when i tried to extract the file it give this error

tar: ./usr/share/doc/sun-java6-fonts: Cannot create symlink to `sun-java6-jre': Operation not
 permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaBrightDemiBold.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/fonts/LucidaBrightDemiBold.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaBrightDemiItalic.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/fonts/LucidaBrightDemiItalic.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaBrightItalic.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/fonts/LucidaBrightItalic.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaBrightRegular.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/fonts/LucidaBrightRegular.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaSansDemiBold.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/fonts/LucidaSansDemiBold.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaSansRegular.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/fonts/LucidaSansRegular.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaTypewriterBold.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/fonts/LucidaTypewriterBold.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaTypewriterRegular.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/fonts/LucidaTypewriterRegular.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaSansDemiOblique.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/oblique-fonts/LucidaSansDemiOblique.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaSansOblique.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/oblique-fonts/LucidaSansOblique.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaTypewriterBoldOblique.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/oblique-fonts/LucidaTypewriterBoldOblique.ttf': Operation not permitted
tar: ./usr/share/fonts/truetype/ttf-lucida/LucidaTypewriterOblique.ttf: Cannot create symlink to `../../../../lib/jvm/java-6-sun-1.6.0.22/jre/lib/oblique-fonts/LucidaTypewriterOblique.ttf': Operation not permitted
tar: Exiting with failure status due to previous errors
dpkg-deb: subprocess tar returned error exit status 2

so please inform how to install and extract the file, also it say no
autorun file found,

thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#14

Copy the deb files to /var/cache/apt/archives then run:

sudo apt-get install sun-java6-plugin

Should do it

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#15

If that works, then it will have installed the JRE and the Java browser plugin; do install the JDK you'll have to run the additional command:

sudo apt-get install sun-java6-jdk

If you have any problems, please post again, on this page, and we'll provide further assistance.

By the way, the error messages you posted -- those were from when you tried to install the .bin file that you downloaded from Oracle's website, and not from trying to install the .deb files, right?

Revision history for this message
zachariakassim (zachariakassim) said :
#16

hai eliah kagan and actionparsnip

i have tried to do as actionparsnip said, all the below file cannot copied to /var/cache/apt/archives ( i have tried to copy paste all the file into the said folder)

sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb
sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb
sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb
sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb
sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb
sun-java6-jre_6.22-0ubuntu1~10.10_all.deb
sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb
sun-java6-source_6.22-0ubuntu1~10.10_all.deb

it say permission denied even i am as administrator this is the error
but i can copied to the temp folder.

Error opening file '/media/814efef0-7122-48d7-b4d9-c02654cad628/var/cache/apt/sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb': Permission denied

There was an error copying the file into /media/814efef0-7122-48d7-b4d9-c02654cad628/var.

what shall i do to get permission to copy files to the folder

i have tried to share the folder option but no use.

if i have to download directly from my home it will take 2 days to install via ubuntu.

so please help

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#17

Your user account doesn't have access to that folder. Which is a good thing, because you don't want to be able to accidentally mess up your system. However, you are an administrator, which means you have the power to *become* the superuser (username "root") and perform administrative actions like this.

Press Alt+F2, type in "gksu nautilus" (without the quotes) and press enter. This gives you a file manager window running as root. Be careful--you can do just about anything in this file manager window, including things that seriously harm your Ubuntu system.

In this window, you can copy the files. You should close the window when you're done.

Revision history for this message
zachariakassim (zachariakassim) said :
#18

hai everybody

i have tried that as you say above now it give this report.

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-plugin
[sudo] password for zacharia:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sun-java6-plugin : Depends: sun-java6-bin (>= 6.22-0ubuntu1~10.10) but it is not going to be installed
E: Broken packages
zacharia@zacharia-System-Product-Name:~$

next what i should do.

my son is studiying in a enginering gollege in india, where they have only linux redhat and ubuntu installed in their pc,

i have xp in my pc, for his study i have installed ubuntu that is the reason.

one onother question

i have installed ubuntu 10.10 in my pen drive via cd, it work fine i can boot from the pendrive, then i took the pendrive to internet cafe and boot from ubuntu from the cafe and installed live update and sun java from there it work fine i can use java now,

but the pendrive can be damage anytime my ubuntu os are there in the pendrive. can i copy all the updated file from the pendrive to pc if so how so that i can have permenent ubuntu os in my pc

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#19

Did you copy *all* eight .deb files to /var/cache/apt/archives before running "sudo apt-get install sun-java6-plugin", as actionparsnip instructed?

> one onother question
>
> i have installed ubuntu 10.10 in my pen drive via cd, it work fine i
> can boot from the pendrive, then i took the pendrive to internet
> cafe and boot from ubuntu from the cafe and installed live update
> and sun java from there it work fine i can use java now,
>
> but the pendrive can be damage anytime my ubuntu os are there
> in the pendrive. can i copy all the updated file from the pendrive
> to pc if so how so that i can have permenent ubuntu os in my pc

There are two possible interpretations of this question. If you are asking if it is possible to take files from the USB flash drive and use them to install Oracle's Java to the Ubuntu system on the desktop PC's hard drive, then yes, assuming that you installed Ubuntu to the USB flash drive in the same way that it you would install it to a hard disk, you could do that...but the files you would copy would be the exact same eight .deb files you are already working with, and the procedure would be the same!

On the other hand, if you are asking if it is possible for you to transfer the Ubuntu *installation* from the USB flash drive to the PC, then the answer is also yes, also assuming that you installed Ubuntu to the flash drive in the same way as you would install it to a hard disk. In this case, you could wipe the hard disk, copy the partitions from the USB flash drive to the hard disk, and then resize the ext4 partition to fill up the available unpartitioned space on the hard disk. However, I do not recommend doing this, as it is time-consuming and considerably harder than installing Java using the method you're currently attempting.

Revision history for this message
zachariakassim (zachariakassim) said :
#20

hai

i had copied eight .deb files to /var/cache/apt/archives the this report appear

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-plugin
[sudo] password for zacharia:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  gsfonts-x11 odbcinst odbcinst1debian2 sun-java6-bin sun-java6-jre unixodbc
Suggested packages:
  sun-java6-fonts ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho
  ttf-sazanami-mincho ttf-arphic-uming libmyodbc odbc-postgresql tdsodbc
  unixodbc-bin
The following NEW packages will be installed:
  gsfonts-x11 odbcinst odbcinst1debian2 sun-java6-bin sun-java6-jre
  sun-java6-plugin unixodbc
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 30.0MB/36.4MB of archives.
After this operation, 104MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://archive.canonical.com/ubuntu/ maverick/partner sun-java6-bin i386 6.22-0ubuntu1~10.10
  Could not resolve 'archive.canonical.com'
Err http://archive.ubuntu.com/ubuntu/ maverick/main odbcinst i386 2.2.14p2-1ubuntu1
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ maverick/main odbcinst1debian2 i386 2.2.14p2-1ubuntu1
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ maverick/main unixodbc i386 2.2.14p2-1ubuntu1
  Could not resolve 'archive.ubuntu.com'
Err http://archive.ubuntu.com/ubuntu/ maverick/main gsfonts-x11 all 0.21
  Could not resolve 'archive.ubuntu.com'
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unixodbc/odbcinst_2.2.14p2-1ubuntu1_i386.deb Could not resolve 'archive.ubuntu.com'
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unixodbc/odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb Could not resolve 'archive.ubuntu.com'
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/u/unixodbc/unixodbc_2.2.14p2-1ubuntu1_i386.deb Could not resolve 'archive.ubuntu.com'
Failed to fetch http://archive.canonical.com/ubuntu/pool/partner/s/sun-java6/sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb Could not resolve 'archive.canonical.com'
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gsfonts-x11/gsfonts-x11_0.21_all.deb Could not resolve 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
zacharia@zacharia-System-Product-Name:~$

so what shall i do

also please give the link to download umbrello for ubuntu 10.10 offline and i will install offline.

thanks

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#21

We're making progress. There seem to be two problems, now.

FIRST: Are you *sure* you copied the file sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb to /var/cache/apt/archives? The package manager is not finding it. If you really did copy it there, then try running this command, and paste the text from the Terminal here:

sudo apt-get install sun-java6-bin

SECOND: The situation is that you have all of the Oracle Java packages, but Oracle Java depends on some other software that you don't have, and which you need packages for. There are two ways you can solve this (pick one):

(1) Connect to the Internet and run:

sudo apt-get install odbcinst odbcinst1debian2 unixodbc gsfonts-x11

This will download and install those packages. I understand that for Java, you didn't want to do this, because it would have taken an extremely long time with your slow connection. However, altogether, these four packages are only 320 kB big. That's less than a third of a megabyte! So connecting with your (slow) connection is definitely the way to go, unless you don't have an Internet connection at all. After running that command to download and install these four tiny packages, you can run "sudo apt-get install sun-java6-plugin" again to install Java.

(2) Go to the Internet cafe, download the files for those four packages, bring them home to your desktop computer, copy them to /var/cache/apt/archives, then run "sudo apt-get install sun-java6-plugin" again. Here are download links for the files:

https://launchpad.net/ubuntu/+archive/primary/+files/odbcinst_2.2.14p2-1ubuntu1_i386.deb
https://launchpad.net/ubuntu/+archive/primary/+files/odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb
https://launchpad.net/ubuntu/+archive/primary/+files/unixodbc_2.2.14p2-1ubuntu1_i386.deb
https://launchpad.net/ubuntu/+archive/primary/+files/gsfonts-x11_0.21_all.deb

Unless everything works perfectly, please paste all the text from the Terminal (as before).

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#22

Ordinarily, I would say that you should open a new question for the Umbrello issue. However, since the packages you have to get for Oracle Java to work would be obtained at the same time as you obtain the packages for Umbrello to work, and fundamentally the same issues are prone to arise in both cases, I think this is one of the exceptional instances where two separable issues should *not* be separated into different Launchpad questions.

There might be a *lot* of packages you have to install, for Umbrello, since it's a KDE program and if you installed Ubuntu (rather than Kubuntu), you don't have KDE. This isn't a problem, but I'm not sure which packages you do and do not have already, so attempting to give you a list of download links now could result in a problem similar to the one you're experiencing for Oracle Java...but far worse.

Therefore, please run the following command, and paste the text from the Terminal:

apt-get -s install umbrello

The absence of "sudo" at the beginning is intentional. This should reveal which packages will have to be installed, in order to install Umbrello.

Revision history for this message
zachariakassim (zachariakassim) said :
#23

----- Original Message -----
From: "Eliah Kagan" <email address hidden>
To: <email address hidden>
Sent: Sunday, February 06, 2011 10:22 PM
Subject: Re: [Question #143038]: sun java full download for ubuntu10.10

Your question #143038 on sun-java6 in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/143038

    Status: Open => Answered

Eliah Kagan proposed the following answer:
We're making progress. There seem to be two problems, now.

FIRST: Are you *sure* you copied the file sun-
java6-bin_6.22-0ubuntu1~10.10_i386.deb to /var/cache/apt/archives? The
package manager is not finding it. If you really did copy it there, then
try running this command, and paste the text from the Terminal here:

sudo apt-get install sun-java6-bin

SECOND: The situation is that you have all of the Oracle Java packages,
but Oracle Java depends on some other software that you don't have, and
which you need packages for. There are two ways you can solve this (pick
one):

(1) Connect to the Internet and run:

sudo apt-get install odbcinst odbcinst1debian2 unixodbc gsfonts-x11

This will download and install those packages. I understand that for
Java, you didn't want to do this, because it would have taken an
extremely long time with your slow connection. However, altogether,
these four packages are only 320 kB big. That's less than a third of a
megabyte! So connecting with your (slow) connection is definitely the
way to go, unless you don't have an Internet connection at all. After
running that command to download and install these four tiny packages,
you can run "sudo apt-get install sun-java6-plugin" again to install
Java.

(2) Go to the Internet cafe, download the files for those four packages,
bring them home to your desktop computer, copy them to
/var/cache/apt/archives, then run "sudo apt-get install sun-
java6-plugin" again. Here are download links for the files:

https://launchpad.net/ubuntu/+archive/primary/+files/odbcinst_2.2.14p2-1ubuntu1_i386.deb
https://launchpad.net/ubuntu/+archive/primary/+files/odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb
https://launchpad.net/ubuntu/+archive/primary/+files/unixodbc_2.2.14p2-1ubuntu1_i386.deb
https://launchpad.net/ubuntu/+archive/primary/+files/gsfonts-x11_0.21_all.deb

Unless everything works perfectly, please paste all the text from the
Terminal (as before).

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/143038/+confirm?answer_id=20

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/143038

You received this question notification because you are a direct
subscriber of the question.

Hai;

I followed as you said, also i have download all the four files from my pc
itself since it is a small file, please refer the screen shot

it give these below eror

(1) eror

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install
sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sun-java6-plugin
zacharia@zacharia-System-Product-Name:~$

(2) eror

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sun-java6-bin
zacharia@zacharia-System-Product-Name:~$

(3)

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package sun-java6-jdk
zacharia@zacharia-System-Product-Name:~$

is there any other command to be type other than this

i have found that some file cannot be open which show into mark, i am
sending the screen shot,

may be these file currupt or how to chek weather this file is work. all
these files are in the /var/cache/apt/archives

how to save all the file which was install online in ubuntu10.10 via my usb
os ubuntu10.10

can i copy all of them to the hard disk os ubuntu10.10

if so where

thanks

Revision history for this message
zachariakassim (zachariakassim) said :
#24

i have sent a screen shoot with the above letter did you recieve if not please give your direct email.

thanks

Revision history for this message
zachariakassim (zachariakassim) said :
#25

i have found that all the below file cannot be open why

dpkg-deb (subprocess): short read on buffer copy for failed to write to pipe in copy
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
dpkg-deb: subprocess tar returned error exit status 2

if i open the 6 file using ubuntu software centre it give this error

internal error couldnot be open

why

is there team viewer software for ubuntu so that you can check my pc directly

if so where to download

please give your instant chat id can we have live chating via ubuntu
which software to use.

thanks
thanks

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#26

In the future, please do not post with previous messages included--it makes it very difficult for people who are using the web interface (https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/143038), such as myself and most other contributors on Launchpad, to understand what is going on. If necessary, you can include brief, blockquoted excerpts from previous posts in your post, in order to make clear exactly what you're responding to in a particular part of your post.

For screenshots, please put them on the web and post a link here. You can use http://postimage.org/ or some similar site.

This problem will probably not become easier to fix by splitting the discussion about it into multiple channels, or by using methods that exclude every other potential contributor besides myself from helping. Therefore, let's keep using https://answers.launchpad.net/ubuntu/+source/sun-java6/+question/143038 as the forum for discussing this issue.

Please open a new Terminal window and run these 10 commands:

cat /etc/apt/sources.list
ls -l /etc/apt/sources.list.d
apt-cache policy odbcinst odbcinst1debian2 unixodbc gsfonts-x11
df -h
cd /var/cache/apt/archives
ls -lh
sudo file *
sudo md5sum *
sudo dpkg --configure -a
sudo apt-get -f install

Then copy all the text from the Terminal (Edit > Select All; Edit > Copy) and paste it here. This should help to reveal the cause of your recent errors.

Revision history for this message
zachariakassim (zachariakassim) said :
#27

I follow above instruction it give this report

zacharia@zacharia-System-Product-Name:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://in.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick universe
deb http://in.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://in.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb http://in.archive.ubuntu.com/ubuntu/ maverick-proposed restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
zacharia@zacharia-System-Product-Name:~$
zacharia@zacharia-System-Product-Name:~$ ls -l /etc/apt/sources.list.d
total 0
zacharia@zacharia-System-Product-Name:~$
zacharia@zacharia-System-Product-Name:~$ apt-cache policy odbcinst odbcinst1debian2 unixodbc gsfonts-x11
unixodbc:
  Installed: (none)
  Candidate: (none)
  Version table:
gsfonts-x11:
  Installed: (none)
  Candidate: (none)
  Version table:
N: Unable to locate package odbcinst
N: Unable to locate package odbcinst1debian2
zacharia@zacharia-System-Product-Name:~$
zacharia@zacharia-System-Product-Name:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb8 4.7G 2.1G 2.4G 48% /
none 432M 276K 432M 1% /dev
none 438M 112K 438M 1% /dev/shm
none 438M 80K 438M 1% /var/run
none 438M 0 438M 0% /var/lock
/dev/sdb9 9.2G 159M 8.6G 2% /home
/dev/sdb6 20G 112K 20G 1% /media/B809-330A
/dev/sda8 6.2G 5.8G 405M 94% /media/E65CC87C5CC8494F
zacharia@zacharia-System-Product-Name:~$
zacharia@zacharia-System-Product-Name:~$ cd /var/cache/apt/archives
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ ls -lh
total 47M
-rw-r--r-- 1 root root 11K 2011-02-07 10:18 gsfonts-x11_0.21_all.deb
-rw-r----- 1 root root 0 2010-10-07 21:28 lock
-rw-r--r-- 1 root root 53K 2011-02-07 10:16 odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb
-rw-r--r-- 1 root root 19K 2011-02-07 10:15 odbcinst_2.2.14p2-1ubuntu1_i386.deb
drwxr-xr-x 2 root root 4.0K 2010-10-07 21:46 partial
-rw------- 1 root root 15M 2006-01-01 05:23 sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:20 sun-java6-demo_6.22-0ubuntu1~10.10_i386
-rw------- 1 root root 12M 2006-01-01 05:24 sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb
drwxr-xr-x 5 root root 4.0K 2011-02-08 14:20 sun-java6-fonts_6.22-0ubuntu1~10.10_all
-rw------- 1 root root 1.9K 2011-02-08 08:10 sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb
-rw------- 1 root root 10 2011-01-30 06:25 sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb
-rw------- 1 root root 9.0M 2006-01-01 05:06 sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb
drwxr-xr-x 5 root root 4.0K 2011-02-08 14:20 sun-java6-jre_6.22-0ubuntu1~10.10_all
-rw------- 1 root root 6.2M 2011-02-08 08:23 sun-java6-jre_6.22-0ubuntu1~10.10_all.deb
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:18 sun-java6-plugin_6.22-0ubuntu1~10.10_i386
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:19 sun-java6-plugin_6.22-0ubuntu1~10.10_i386 (2)
-rw------- 1 root root 1.9K 2011-02-08 08:09 sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb
-rw------- 1 root root 5.2M 2006-01-01 05:21 sun-java6-source_6.22-0ubuntu1~10.10_all.deb
-rw-r--r-- 1 root root 228K 2011-02-07 10:17 unixodbc_2.2.14p2-1ubuntu1_i386.deb
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ sudo file *
[sudo] password for zacharia:
gsfonts-x11_0.21_all.deb: Debian binary package (format 2.0)
lock: empty
odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb: Debian binary package (format 2.0)
odbcinst_2.2.14p2-1ubuntu1_i386.deb: Debian binary package (format 2.0)
partial: directory
sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-demo_6.22-0ubuntu1~10.10_i386: directory
sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-fonts_6.22-0ubuntu1~10.10_all: directory
sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb: POSIX shell script text executable
sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-jre_6.22-0ubuntu1~10.10_all: directory
sun-java6-jre_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
sun-java6-plugin_6.22-0ubuntu1~10.10_i386: directory
sun-java6-plugin_6.22-0ubuntu1~10.10_i386 (2): directory
sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-source_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
unixodbc_2.2.14p2-1ubuntu1_i386.deb: Debian binary package (format 2.0)
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#28

You didn't run the last three commands:

sudo md5sum *
sudo dpkg --configure -a
sudo apt-get -f install

Please do that, and paste the resulting text. If you have already exited that Terminal window, then run this command first in the new Terminal window (and then those commands):

cd /var/cache/apt/archives

Revision history for this message
zachariakassim (zachariakassim) said :
#29

hai,

this is the report

zacharia@zacharia-System-Product-Name:~$ cd /var/cache/apt/archives
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://in.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick universe
deb http://in.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://in.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb http://in.archive.ubuntu.com/ubuntu/ maverick-proposed restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ ls -l /etc/apt/sources.list.d
total 0
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ apt-cache policy odbcinst odbcinst1debian2 unixodbc gsfonts-x11
unixodbc:
  Installed: (none)
  Candidate: (none)
  Version table:
gsfonts-x11:
  Installed: (none)
  Candidate: (none)
  Version table:
N: Unable to locate package odbcinst
N: Unable to locate package odbcinst1debian2
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb8 4.7G 2.1G 2.4G 48% /
none 432M 276K 432M 1% /dev
none 438M 164K 438M 1% /dev/shm
none 438M 80K 438M 1% /var/run
none 438M 0 438M 0% /var/lock
/dev/sdb9 9.2G 162M 8.6G 2% /home
/dev/sda8 6.2G 5.8G 405M 94% /media/E65CC87C5CC8494F
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ cd /var/cache/apt/archives
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ ls -lh
total 47M
-rw-r--r-- 1 root root 11K 2011-02-07 10:18 gsfonts-x11_0.21_all.deb
-rw-r----- 1 root root 0 2010-10-07 21:28 lock
-rw-r--r-- 1 root root 53K 2011-02-07 10:16 odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb
-rw-r--r-- 1 root root 19K 2011-02-07 10:15 odbcinst_2.2.14p2-1ubuntu1_i386.deb
drwxr-xr-x 2 root root 4.0K 2010-10-07 21:46 partial
-rw------- 1 root root 15M 2006-01-01 05:23 sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:20 sun-java6-demo_6.22-0ubuntu1~10.10_i386
-rw------- 1 root root 12M 2006-01-01 05:24 sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb
drwxr-xr-x 5 root root 4.0K 2011-02-08 14:20 sun-java6-fonts_6.22-0ubuntu1~10.10_all
-rw------- 1 root root 1.9K 2011-02-08 08:10 sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb
-rw------- 1 root root 10 2011-01-30 06:25 sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb
-rw------- 1 root root 9.0M 2006-01-01 05:06 sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb
drwxr-xr-x 5 root root 4.0K 2011-02-08 14:20 sun-java6-jre_6.22-0ubuntu1~10.10_all
-rw------- 1 root root 6.2M 2011-02-08 08:23 sun-java6-jre_6.22-0ubuntu1~10.10_all.deb
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:18 sun-java6-plugin_6.22-0ubuntu1~10.10_i386
drwxr-xr-x 4 root root 4.0K 2011-02-08 14:19 sun-java6-plugin_6.22-0ubuntu1~10.10_i386 (2)
-rw------- 1 root root 1.9K 2011-02-08 08:09 sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb
-rw------- 1 root root 5.2M 2006-01-01 05:21 sun-java6-source_6.22-0ubuntu1~10.10_all.deb
-rw-r--r-- 1 root root 228K 2011-02-07 10:17 unixodbc_2.2.14p2-1ubuntu1_i386.deb
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ sudo file *
gsfonts-x11_0.21_all.deb: Debian binary package (format 2.0)
lock: empty
odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb: Debian binary package (format 2.0)
odbcinst_2.2.14p2-1ubuntu1_i386.deb: Debian binary package (format 2.0)
partial: directory
sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-demo_6.22-0ubuntu1~10.10_i386: directory
sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-fonts_6.22-0ubuntu1~10.10_all: directory
sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb: POSIX shell script text executable
sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-jre_6.22-0ubuntu1~10.10_all: directory
sun-java6-jre_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
sun-java6-plugin_6.22-0ubuntu1~10.10_i386: directory
sun-java6-plugin_6.22-0ubuntu1~10.10_i386 (2): directory
sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-source_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
unixodbc_2.2.14p2-1ubuntu1_i386.deb: Debian binary package (format 2.0)
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ sudo md5sum *
cfdd70d87039169bfec3ec92b00d24a6 gsfonts-x11_0.21_all.deb
d41d8cd98f00b204e9800998ecf8427e lock
c0997d62598eaf4210e07a5642406ae0 odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb
c5d2bfec0a05bb98c2cbdd7363fa114d odbcinst_2.2.14p2-1ubuntu1_i386.deb
md5sum: partial: Is a directory
de19407c328336f9a01c696418cdcb4e sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb
md5sum: sun-java6-demo_6.22-0ubuntu1~10.10_i386: Is a directory
14ec5ce29fdcadabcce132c1e865a01e sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb
md5sum: sun-java6-fonts_6.22-0ubuntu1~10.10_all: Is a directory
9d5b2e8e90a598b4941a438ec8d834ff sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb
3e2b31c72181b87149ff995e7202c0e3 sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb
978564560117a819d8f919d5c97b148e sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb
md5sum: sun-java6-jre_6.22-0ubuntu1~10.10_all: Is a directory
b8dd429cf6aed0c18d877cbccda91cde sun-java6-jre_6.22-0ubuntu1~10.10_all.deb
md5sum: sun-java6-plugin_6.22-0ubuntu1~10.10_i386: Is a directory
md5sum: sun-java6-plugin_6.22-0ubuntu1~10.10_i386 (2): Is a directory
db1e79e7dd0f9cb968d67c6298f520a2 sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb
8d8dba370eb65d53f6bc11be683f99e9 sun-java6-source_6.22-0ubuntu1~10.10_all.deb
f1452e0b01360638f9cc99b6be8ef935 unixodbc_2.2.14p2-1ubuntu1_i386.deb
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ sudo dpkg --configure -a
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ sudo apt-get -f install
Reading package lists... 7%
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 101 not upgraded.
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#30

That information reveals that the downloads of the following four files did not complete successfully:

https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb
https://launchpad.net/ubuntu/+archive/partner/+files/sun-java6-source_6.22-0ubuntu1~10.10_all.deb

When you redownload those files, I recommend you check their final sizes. If they're smaller than the sizes specified for them at https://launchpad.net/ubuntu/+source/sun-java6 (you may recall that they're listed under "6.22-0ubuntu1~10.10", which itself appears under "The Maverick Meerkat"), then the files were not successfully downloaded. This is not a foolproof way to prevent getting corrupted files, but it will avoid the sort of problem you've experienced. If your opportunities to download these files are few and far between and so you want a virtually foolproof way of ensuring that your downloads are complete and not corrupted, please let me know, and I can explain how to do that.

After redownloading those files, bring them home to your computer, and replace the current files in /var/cache/apt/archives with them. (The other files, which I did not list, were not corrupted.) Remove the folders inside /var/cache/apt/archives whose names resemble the names of those files. (Do *not* remove the folder called "partial".)

It appears that there may also be a problem with your package manager recognizing that those files are the correct ones to use for installing the packages you're requesting to install (in your "apt-get install" commands). So run this command (which spans multiple lines, but you can paste the whole thing in and press enter):

sudo echo deb http://archive.canonical.com/ubuntu maverick partner > \
  /etc/apt/sources.list.d/maverick-partner.list; \
  sudo cp /etc/apt/sources.list.d/maverick-partner.list \
  /etc/apt/sources.list.d/maverick-partner.list.save

Then connect to the Internet, and run this command (which will not download a large amount of data; it will only update your package manager's information about what packages exist and how they depend on one another):

sudo apt-get update

Then disconnect from the Internet (in case this next command doesn't work as desired, and attempts to access the Internet to download large files, which we don't want). Now run the command:

sudo apt-get install sun-java6-plugin

If that works, then you finally have a full Java Runtime Environment installed, so now install the Java Development Kit as well:

sudo apt-get install sun-java6-jdk

As before, if you have any problems, please post again, including all the text from the Terminal.

Revision history for this message
zachariakassim (zachariakassim) said :
#31

i have copied the four file and paste to /var/cache/apt/archives and removed the old one,

i typed this

acharia@zacharia-System-Product-Name:~$ sudo echo deb http://archive.canonical.com/ubuntu maverick partner > \
> /etc/apt/sources.list.d/maverick-partner.list; \
> sudo cp /etc/apt/sources.list.d/maverick-partner.list \
> /etc/apt/sources.list.d/maverick-partner.list.save
bash: /etc/apt/sources.list.d/maverick-partner.list: Permission denied
cp: cannot stat `/etc/apt/sources.list.d/maverick-partner.list': No such file or directory
zacharia@zacharia-System-Product-Name:~$

then i type this
zacharia@zacharia-System-Product-Name:~$ sudo apt-get update
Get:1 http://extras.ubuntu.com maverick Release.gpg [72B]
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://in.archive.ubuntu.com maverick Release.gpg
Get:2 http://security.ubuntu.com maverick-security Release.gpg [198B]
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en_IN
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en_IN
Hit http://extras.ubuntu.com maverick Release
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en_IN
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en_IN
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en_IN
Get:3 http://security.ubuntu.com maverick-security Release [31.4kB]
Ign http://in.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Hit http://extras.ubuntu.com maverick/main Sources
Hit http://extras.ubuntu.com maverick/main i386 Packages
Ign http://in.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_IN
Get:4 http://security.ubuntu.com maverick-security/main Sources [26.7kB]
Ign http://in.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Get:5 http://security.ubuntu.com maverick-security/restricted Sources [14B]
Get:6 http://security.ubuntu.com maverick-security/universe Sources [10.6kB]
Get:7 http://security.ubuntu.com maverick-security/multiverse Sources [643B]
Get:8 http://security.ubuntu.com maverick-security/main i386 Packages [91.4kB]
Ign http://in.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_IN
Get:9 http://security.ubuntu.com maverick-security/restricted i386 Packages [14B]
Get:10 http://security.ubuntu.com maverick-security/universe i386 Packages [47.1kB]
Ign http://in.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Get:11 http://security.ubuntu.com maverick-security/multiverse i386 Packages [1,659B]
Ign http://in.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_IN
Get:12 http://in.archive.ubuntu.com maverick-updates Release.gpg [198B]
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en_IN
Hit http://in.archive.ubuntu.com maverick-backports Release.gpg
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-backports/main Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-backports/main Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-backports/multiverse Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-backports/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-backports/restricted Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-backports/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-backports/universe Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-backports/universe Translation-en_IN
Get:13 http://in.archive.ubuntu.com maverick-proposed Release.gpg [198B]
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-proposed/main Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-proposed/main Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-proposed/multiverse Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-proposed/multiverse Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-proposed/restricted Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-proposed/restricted Translation-en_IN
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-proposed/universe Translation-en
Ign http://in.archive.ubuntu.com/ubuntu/ maverick-proposed/universe Translation-en_IN
Hit http://in.archive.ubuntu.com maverick Release
Get:14 http://in.archive.ubuntu.com maverick-updates Release [31.4kB]
Hit http://in.archive.ubuntu.com maverick-backports Release
Get:15 http://in.archive.ubuntu.com maverick-proposed Release [31.4kB]
Hit http://in.archive.ubuntu.com maverick/main Sources
Hit http://in.archive.ubuntu.com maverick/restricted Sources
Hit http://in.archive.ubuntu.com maverick/universe Sources
Hit http://in.archive.ubuntu.com maverick/multiverse Sources
Hit http://in.archive.ubuntu.com maverick/main i386 Packages
Hit http://in.archive.ubuntu.com maverick/restricted i386 Packages
Get:16 http://in.archive.ubuntu.com maverick/universe i386 Packages [5,791kB]
Get:17 http://in.archive.ubuntu.com maverick/multiverse i386 Packages [183kB]
Get:18 http://in.archive.ubuntu.com maverick-updates/main Sources [84.6kB]
Get:19 http://in.archive.ubuntu.com maverick-updates/restricted Sources [778B]
Get:20 http://in.archive.ubuntu.com maverick-updates/universe Sources [30.6kB]
Get:21 http://in.archive.ubuntu.com maverick-updates/multiverse Sources [1,498B]
Get:22 http://in.archive.ubuntu.com maverick-updates/main i386 Packages [232kB]
Get:23 http://in.archive.ubuntu.com maverick-updates/restricted i386 Packages [1,797B]
Get:24 http://in.archive.ubuntu.com maverick-updates/universe i386 Packages [96.5kB]
Get:25 http://in.archive.ubuntu.com maverick-updates/multiverse i386 Packages [2,834B]
Get:26 http://in.archive.ubuntu.com maverick-backports/main i386 Packages [2,655B]
Get:27 http://in.archive.ubuntu.com maverick-backports/restricted i386 Packages [14B]
Get:28 http://in.archive.ubuntu.com maverick-backports/universe i386 Packages [6,684B]
Get:29 http://in.archive.ubuntu.com maverick-backports/multiverse i386 Packages [14B]
Get:30 http://in.archive.ubuntu.com maverick-proposed/restricted i386 Packages [14B]
Get:31 http://in.archive.ubuntu.com maverick-proposed/main i386 Packages [29.0kB]
Get:32 http://in.archive.ubuntu.com maverick-proposed/multiverse i386 Packages [1,124B]
Get:33 http://in.archive.ubuntu.com maverick-proposed/universe i386 Packages [17.7kB]
Fetched 3,349kB in 12min 6s (4,608B/s)
Reading package lists... Done
zacharia@zacharia-System-Product-Name:~$

then i type this
zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-plugin 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 'sun-java6-plugin' has no installation candidate
zacharia@zacharia-System-Product-Name:~$

then i type this
zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-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 'sun-java6-jdk' has no installation candidate
zacharia@zacharia-System-Product-Name:~$

what shall i do now

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#32

I apologize, there was an mistake in the instructions I gave you. The mistake was harmless, but it did prevent things from working, and has further prolonged the process of getting Java running on your system (by requiring you to run commands that did not work, instead of the right commands). I am sorry.

Run this big long command (paste it in all at once and press enter, like before):

echo deb http://archive.canonical.com/ubuntu maverick partner > \
  ~/maverick-partner.list; \
  sudo cp ~/maverick-partner.list \
  /etc/apt/sources.list.d/maverick-partner.list; \
  sudo cp ~/maverick-partner.list \
  /etc/apt/sources.list.d/maverick-partner.list.save; \
  rm ~/maverick-partner.list

That should enable the software source that provides the packages you're about to install, so that your "apt-get install" commands will recognize that the .deb files you manually obtained are the packages you're telling it to install. That's what I had intended for the first big long command I gave you to do. (That command actually did nothing.)

Then follow my previous instructions, starting with "Then connect to the Internet..."

Though it is impossible to know for sure, it appears that the only problem was my bad instructions (sorry!)...so hopefully this will just work. If not, please post again, including all the text from the Terminal as before.

Revision history for this message
zachariakassim (zachariakassim) said :
#33

i follow the same

now this appear

Configuring sun-java6-jre

shall i close the windows

i have conected to net

i am online now

Revision history for this message
zachariakassim (zachariakassim) said :
#34

when i try to close the terminal windows it say

There is still a process running in this terminal. Closing the terminal will kill it

what to do

Revision history for this message
zachariakassim (zachariakassim) said :
#35

i wait conected for 1 hour nothing happen then i restart the pc

i run this command

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-plugin
[sudo] password for zacharia:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

zacharia@zacharia-System-Product-Name:~$ sudo dpkg --configure -a
Setting up java-common (0.38) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 31 changed 2 added doc-base file(s)...
Registering documents with scrollkeeper...
zacharia@zacharia-System-Product-Name:~$

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-jdk
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-jdk : Depends: sun-java6-bin (>= 6.22-0ubuntu1~10.10) but it is not going to be installed
                 Recommends: visualvm but it is not going to be installed
 sun-java6-jre : Depends: sun-java6-bin (>= 6.22-0ubuntu1~10.10) but it is not going to be installed or
                          ia32-sun-java6-bin (>= 6.22-0ubuntu1~10.10) but it is not installable
                 Recommends: gsfonts-x11 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
zacharia@zacharia-System-Product-Name:~$ apt-get -f install
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?
zacharia@zacharia-System-Product-Name:~$ y
y: command not found
zacharia@zacharia-System-Product-Name:~$ n
n: command not found
zacharia@zacharia-System-Product-Name:~$

is asking i am in root

what shall i do

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#36

Prefixing a command with sudo makes it run as root. root is the name of the superuser--the user with nearly unlimited power whose identity you take on to perform administrative tasks.

Run:

sudo apt-get -f install

Then post the output.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#37

By the way, you might want to be disconnected from the Internet when you run that. The cause of the stalling before had nothing to do with your being connected to the Internet (downloading does not occur during "Configuring" operations). But this time, when you run "sudo apt-get -f install", it's possible that the package manager could make a silly choice that would involve downloading something big, which you don't want.

Revision history for this message
zachariakassim (zachariakassim) said :
#38

hai this is the report

zacharia@zacharia-System-Product-Name:~$ sudo apt-get -f install
[sudo] password for zacharia:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@zacharia-System-Product-Name:~$

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  sun-java6-plugin
0 upgraded, 1 newly installed, 0 to remove and 273 not upgraded.
Need to get 0B/1,864B of archives.
After this operation, 61.4kB of additional disk space will be used.
Selecting previously deselected package sun-java6-plugin.
(Reading database ... 123718 files and directories currently installed.)
Unpacking sun-java6-plugin (from .../sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb) ...
Setting up sun-java6-plugin (6.22-0ubuntu1~10.10) ...
zacharia@zacharia-System-Product-Name:~$

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-jdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@zacharia-System-Product-Name:~$

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-bin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@zacharia-System-Product-Name:~$

zacharia@zacharia-System-Product-Name:~$ sudo apt-get install sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-plugin is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@zacharia-System-Product-Name:~$

zacharia@zacharia-System-Product-Name:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main
restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://in.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick universe
deb http://in.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://in.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://in.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://security.ubuntu.com/ubuntu maverick-security main restricted
deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted
deb http://security.ubuntu.com/ubuntu maverick-security universe
deb-src http://security.ubuntu.com/ubuntu maverick-security universe
deb http://security.ubuntu.com/ubuntu maverick-security multiverse
deb http://in.archive.ubuntu.com/ubuntu/ maverick-proposed restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse
zacharia@zacharia-System-Product-Name:~$ ls -l /etc/apt/sources.list.d
total 8
-rw-r--r-- 1 root root 57 2011-02-11 13:00 maverick-partner.list
-rw-r--r-- 1 root root 57 2011-02-11 13:00 maverick-partner.list.save
zacharia@zacharia-System-Product-Name:~$ apt-cache policy odbcinst odbcinst1debian2 unixodbc gsfonts-x11
gsfonts-x11:
  Installed: (none)
  Candidate: 0.21
  Version table:
     0.21 0
        500 http://in.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
odbcinst1debian2:
  Installed: 2.2.14p2-1ubuntu1
  Candidate: 2.2.14p2-1ubuntu1
  Version table:
 *** 2.2.14p2-1ubuntu1 0
        500 http://in.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status
unixodbc:
  Installed: 2.2.14p2-1ubuntu1
  Candidate: 2.2.14p2-1ubuntu1
  Version table:
 *** 2.2.14p2-1ubuntu1 0
        500 http://in.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status
odbcinst:
  Installed: 2.2.14p2-1ubuntu1
  Candidate: 2.2.14p2-1ubuntu1
  Version table:
 *** 2.2.14p2-1ubuntu1 0
        500 http://in.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status
zacharia@zacharia-System-Product-Name:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb8 4.7G 2.5G 2.0G 57% /
none 432M 292K 432M 1% /dev
none 438M 176K 438M 1% /dev/shm
none 438M 92K 438M 1% /var/run
none 438M 4.0K 438M 1% /var/lock
/dev/sdb9 9.2G 182M 8.6G 3% /home
/dev/sda8 6.2G 5.8G 404M 94% /media/E65CC87C5CC8494F
zacharia@zacharia-System-Product-Name:~$ cd /var/cache/apt/archives
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ ls -lh
total 93M
-rw-r--r-- 1 root root 11K 2011-02-07 10:18 gsfonts-x11_0.21_all.deb
-rw-r--r-- 1 root root 65K 2010-07-05 13:35 java-common_0.38_all.deb
-rw-r--r-- 1 root root 213K 2011-01-22 05:35 libc-dev-bin_2.12.1-0ubuntu10.2_i386.deb
-rw-r----- 1 root root 0 2010-10-07 21:28 lock
-rw-r--r-- 1 root root 53K 2011-02-07 10:16 odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb
-rw-r--r-- 1 root root 19K 2011-02-07 10:15 odbcinst_2.2.14p2-1ubuntu1_i386.deb
drwxr-xr-x 2 root root 4.0K 2011-02-12 07:39 partial
-rw-r--r-- 1 root root 29M 2011-02-10 21:16 sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb
-rw------- 1 root root 12M 2006-01-01 05:24 sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb
-rw------- 1 root root 1.9K 2011-02-08 08:10 sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb
-rw-r--r-- 1 root root 9.8M 2011-02-10 21:29 sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb
-rw-r--r-- 1 root root 19M 2011-02-10 22:11 sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb
-rw------- 1 root root 6.2M 2011-02-08 08:23 sun-java6-jre_6.22-0ubuntu1~10.10_all.deb
-rw------- 1 root root 1.9K 2011-02-08 08:09 sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb
-rw-r--r-- 1 root root 18M 2011-02-10 21:45 sun-java6-source_6.22-0ubuntu1~10.10_all.deb
-rw-r--r-- 1 root root 228K 2011-02-07 10:17 unixodbc_2.2.14p2-1ubuntu1_i386.deb
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ sudo file *
gsfonts-x11_0.21_all.deb: Debian binary package (format 2.0)
java-common_0.38_all.deb: Debian binary package (format 2.0)
libc-dev-bin_2.12.1-0ubuntu10.2_i386.deb: Debian binary package (format 2.0)
lock: empty
odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb: Debian binary package (format 2.0)
odbcinst_2.2.14p2-1ubuntu1_i386.deb: Debian binary package (format 2.0)
partial: directory
sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-jre_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb: Debian binary package (format 2.0)
sun-java6-source_6.22-0ubuntu1~10.10_all.deb: Debian binary package (format 2.0)
unixodbc_2.2.14p2-1ubuntu1_i386.deb: Debian binary package (format 2.0)
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ sudo md5sum *
cfdd70d87039169bfec3ec92b00d24a6 gsfonts-x11_0.21_all.deb
a1a0aa36e915f398c59cd948572bf48c java-common_0.38_all.deb
7b288a5722179e3ad06d69d29598f633 libc-dev-bin_2.12.1-0ubuntu10.2_i386.deb
d41d8cd98f00b204e9800998ecf8427e lock
c0997d62598eaf4210e07a5642406ae0 odbcinst1debian2_2.2.14p2-1ubuntu1_i386.deb
c5d2bfec0a05bb98c2cbdd7363fa114d odbcinst_2.2.14p2-1ubuntu1_i386.deb
md5sum: partial: Is a directory
7590f470947e50e9b9530590de179dab sun-java6-bin_6.22-0ubuntu1~10.10_i386.deb
14ec5ce29fdcadabcce132c1e865a01e sun-java6-demo_6.22-0ubuntu1~10.10_i386.deb
9d5b2e8e90a598b4941a438ec8d834ff sun-java6-fonts_6.22-0ubuntu1~10.10_all.deb
38079439c78eda3a94e60e4a8f598384 sun-java6-javadb_6.22-0ubuntu1~10.10_all.deb
7c927c62de91fbb653122c9a6901f6c5 sun-java6-jdk_6.22-0ubuntu1~10.10_i386.deb
b8dd429cf6aed0c18d877cbccda91cde sun-java6-jre_6.22-0ubuntu1~10.10_all.deb
db1e79e7dd0f9cb968d67c6298f520a2 sun-java6-plugin_6.22-0ubuntu1~10.10_i386.deb
31d3c9db2ff97d20054c37f8896cce90 sun-java6-source_6.22-0ubuntu1~10.10_all.deb
f1452e0b01360638f9cc99b6be8ef935 unixodbc_2.2.14p2-1ubuntu1_i386.deb
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ sudo dpkg --configure -a
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 273 not upgraded.
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$
zacharia@zacharia-System-Product-Name:/var/cache/apt/archives$

it show this java icon in

desktop/system/preference/ sun java6 plugin control panel and sun java6 policy tool

i found that old .deb file which i copied was corrupt, after this 2nd copy only work

is it alright know, my son say it work.

thank for all help

now where is the link for download

1. umbrello

2. accumalated ubuntu.10.10 update

3. uml

please give the link so that i can copy from internet cafe and copy the same to hard disk

thanks

Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#39

I'm glad Java is finally working. You'll have to manually update it as new releases come out (same as what you just finished doing, but with the newer package versions as they are released, and hopefully without the various problems you experienced along the way). Many if not most Java releases fix security bugs; installing those updates is important. If you don't know how to keep apprised of security updates in Java, please post again and I'll give you some information about that.

Java might work better with gsfonts-x11 installed. That's one of the packages you downloaded, and ordinarily it's installed when you install Java, but that did not happen in this case, since "apt-get install -f" will not typically install packages automatically when they are only "recommended" (rather than being declared as strict dependencies). So I suggest installing it (you shouldn't need an Internet connection for this, as you've already got the .deb file):

sudo apt-get install gsfonts-x11

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#40

For me to tell you what files you need for umbrello, uml-utilities, and to install all available updates for currently installed packages, you would need to run this command and post the output:

apt-get -s upgrade; apt-get -s install umbrello uml-utilities

(That assumes that when you say you want uml, you mean uml-utilities. UML is a language, and not an application; there are many different applications available for modeling in UML, and many of those are available on Ubuntu.)

However, this would involve you downloading a large number of .deb files manually (at least 273 of them, and that's without factoring in umbrello or uml-utilities). For installing just a few packages, as you did to get Java working, the techniques we've been using so far make sense. But for the much greater task of installing all available upgrades and installing Umbrello (which will pull in numerous packages from KDE), especially if you intend to keep your system up to date or install software regularly over the course of using your Ubuntu system, it would be a good idea to start using one of the applications that is available to automate the grunt work of researching what packages are needed, downloading them off-site, and then installing them on your local machine. I recommend Keryx (http://keryxproject.org/). But apt-offline (https://help.ubuntu.com/community/InstallingSoftware#Use%20apt-offline, see also http://www.debian-administration.org/article/Offline_Package_Management_for_APT) is an excellent choice if you prefer to use the command-line rather than a GUI as provided by Keryx. apt-offline has also been around a lot longer, so it's potentially more stable than Keryx. Of course, you can always try one, and then switch to the other later.

If you need help with either of these options, I'd be pleased to provide it. If you want to continue the manual process you've been using so far, I would be pleased to help you with that as well (though is *highly* recommend against this, since Keryx and apt-offline are both far better solutions for updating an entire system, as you want to do). If you want to continue doing this manually, then rather than providing you with links, I'll explain in detail how I find them. That way, whichever of these three alternatives you choose, you'll be able to use it self-sufficiently.

Whatever you choose, this question has gotten rather long, and your original problem appears completely solved. If it gets much longer, it will be harder for other people to use for reference. So: If you have further Java problems please continue using this question. Otherwise, please mark it as Solved, and open a new question regarding installing updates and umbrello and uml-utilities using Keryx/apt-offline (or the painstaking manual technique we've been using). After marking this question as Solved, please add a comment here with a link to the new question, to ensure that I'll see it.

Revision history for this message
zachariakassim (zachariakassim) said :
#41

Thanks Eliah Kagan, that solved my question.