Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
now and download. The file should be owned by root.root and be copied
[Press RETURN to try again, 'no' + RETURN to abort]
Well, for one, when I go to the http, I can't find the archive; secondly, I'm sure I already have it installed as:
sun-java6-bin Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
sun-hava6-jre Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)
When I Googled jdk-6u10-docs.zip jdk-6u10-docs-ja.zip, I ended up at Launchpad Ubuntu, Bug # 321863 (Name of JDK documentation zip has changed) [just to mention as much information as I have].
I originally encountered this problem when trying to follow the directions at “How to easily upgrade your Firefox to 3.5 (and future version) in Ubuntu,” at MakeTechEasier.com. The first thing they said do was install Ubuntuzilla. It was while trying to install Ubuntuzilla that I first encountered the terminal's direction to download jdk-6u10-docs.zip jdk-6u10-docs-ja.zip. As is becoming my custom, I somehow got Ubuntuzilla to download by accident.
I want to thank everyone for your help, advice, and forbearance that you patiently gave to me while I was struggling with my old tower (that I don't have anymore). But it wasn't in vain for ubuntu is never a waste. Thank you.
Last edited by Randymanme; 08-19-2009 at 07:47 PM.
Reason: visual improvements
If you figure you already have it, or, and more likely, if you figure that you'll likely not be craving java6-documentation as bedtime reading any time soon, then open synaptic, and deselect it (the package sun-java6-doc). Then, reload, and you'll not be seeing these messages in the future.
I've been at this for c. 17 hours and I still don't have ff3.5. I'm about ready to throw in the towel. The Miro demonstration video does play on full screen, though; and nicely, too.
I'm thinking of trying to download jdk-6-doc-ja.zip from somewhere, if I can find it (in plain and simple-for-a-moron-me wording); and try it out. If it don't work --still--; see if I can upgrade to 9.04. If there's nothing wrong with this cpu, it could be quite nice compared with last time.
I feel you don't need it installed. It's just documents, and, as you stated, you've got the jre and jdk packages installed and working. You don't need the documentation. So, just uncheck the package "sun-java6-doc" in synaptic, then press the reload button in synaptic. Done. Then forget sun-java6-doc. And once you do this, like magic, the problem that you first cited (see quote below) will disappear.
Originally Posted by Randymanme, in first post,
Every time I add or install something with Add/remove Applications or Synaptic Package Manager, the process is halted by the following: ...blah blah issues with installing sun-java6-doc
If you feel you need firefox 3.5, then why screw around with strange third-party software? Ubuntzilla? MakeTechEasier.com? Yikes. I'm starting to think you WANT to break your system.
I Googled the offending achieve, followed a hit, and ended up at Ubuntu Forums where there had been a lively debate over whether or not[/I] jdk-6-doc-ja.zip[/I] even existed. [see attachment (if I can figure out how to add one)].
* Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Installation & Upgrades jdk-6-doc.zip jdk-6-doc-ja.zip
OperaSinger, on June 26, 2007, said: And every time I try to download, I get the EXACT same error message. I have just been saying "no," and most applications have been running fine. But I don't want to take the chance of any future problems.
Humm . . . well I guess that shows how dense I am: I thought “Press 'Return' to try again. 'No + Return' to abort,” meant . . .try again or abort . . . the instant process, not the error message!
Thank you folks for continuing to help me in spite of my obtuseness. Maybe I'll be a real geek some day.
No, wait. I have it downloaded into my home folder as a zip document; but I'm not sure about what to do with it now. Any directions you can give me would be highly received.
Any directions you can give me would be highly received.
My suggestions were in the previous post, which perhaps wasn't seen due to the similar times of our posts. Basically, I feel you should uninstall sun-java6-doc, because you don't need it, and then upgrade ubuntu to intrepid, then to jaunty. Then, you'll be able to install firefox 3.5 easily. See previous post for more detail.
Last edited by mark_alfred; 08-20-2009 at 06:03 AM.
No, wait. I have it downloaded into my home folder as a zip document; but I'm not sure about what to do with it now.
You should just delete it and uninstall sun-java6-doc. However, if you're determined, try the following:
Your first post said that the attempted install of sun-java6-doc stated "The file should be owned by root.root and be copied to /tmp." So, open a root terminal, and do the following (the first command, "cd /home/user" means change directory to your user's /home directory. I've just written "user" because I'm not sure what your user's home directory is actually called. Also, I'm not sure what the exact name of the zip file is, but I'll refer to it as "jdk-6u10-docs.zip"; so, rename if necessary):
Hello. Woke up this afternoon and just didn't feel up to picking up where I left off, so I threw in the towel and clicked the update button in update manager for 8.10.
Now I do recall wondering what would be the point of uninstalling sun-java6-doc if I'm going to upgrade? Well, now I know. Just as the install wizard got to "About 3 hours 8 minutes remaining," what pops up but -- you guessed it: that same old sun-java6-doc error. And now it's froze there. The wizard says that aborting it now may live the system broken -- do I want to do that? Of, course "no." But what to do now?
I'm not sure that having uninstalled it would have helped because I saw where the terminal window had listed something to the effect of "preparing previously deselected dk-6-doc-ja.zip . . ." and I thought that that hadn't been installed before the upgrade began (?).
To get a better understanding of the issue, I replicated what you did on my computer. I attempted to install sun-java6-doc, and then closed the terminal in mid-process.
I discovered that, indeed, my former advice was insufficient. It seems that this locks the package manager, meaning that both installing AND uninstalling is impossible until it's unlocked.
But I did fix it. So, do the following: open a terminal, and enter the command below (you may need to reboot your computer first):
sudo dpkg --configure -a
This should bring you back to the point in the installation where you see the following:
Setting up sun-java6-doc (6-12-1) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
(choose the non-update version if this is the first installation).
now and download. The file should be owned by root.root and be copied
[Press RETURN to try again, 'no' + RETURN to abort]
Here (and this is important), type "no" (without quotes), and then press the Enter key (aka the Return button). See below for what happens:
[Press RETURN to try again, 'no' + RETURN to abort] no
Abort installation of JDK documentation
dpkg: error processing sun-java6-doc (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Now, you can uninstall. Go back to the terminal, and enter the following ("sudo apt-get purge sun-java6-doc" --> note, sudo is not set up on my system, so that is why my administrator commands are not preceded by sudo in the transcript from my system below):
debian:/home/mark# apt-get purge sun-java6-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 168kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 130938 files and directories currently installed.)
Removing sun-java6-doc ...
Processing triggers for doc-base ...
Processing 1 removed doc-base file(s)...
Registering documents with scrollkeeper...
Then, everything will be back to normal.
In future, when there's something you're not sure of, and it gives you the option to abort the action via just saying "no", well, do that (or, as Nancy Reagan said, "Just say no.")
Last edited by mark_alfred; 08-21-2009 at 03:11 AM.
Reason: may need to reboot first
I rebooted the sucker; then the system was broken. I went to freegeek yesterday evening and got a live CD for 8.04. It just quite won't work. After going to "Help," I noticed that it said that 384 Mbs of RAM is required to use the live CD.
What do I do? is there some way I can download a system off the internet straight to a CD or DVD using this live CD, that only needs 256 of RAM? And if so, precisely how do I do it? I don't have any blank DVDs, but I'm under the impression that a DVD will do CDs also (but not vice versa)? I do have a DVD with something on it. Can I use that and record on top of what's on it?
Someone at Freegeek said that the Ubuntu online site that does downloads has something wrong with it to where we can't do an install straight from internet to computer, but have to copy an image to a CD and then install from the CD. Could it be that the actual os fits on 256 of RAM, but that what ever else it is that makes a live CD live is the other 128 of RAM? Can I get just the os on CD to install without the live extra? Seems like I read somewhere that 256 RAM is enough for Ubuntu (I don't remember which one,though).
I rebooted the sucker; then the system was broken.
Is this after trying the suggestions I gave, or is it simply that when you booted, it was broken?
When you boot, do you see a screen such as this (click on thumbnail image below to see):
If so, try taking the second option (recovery mode). Once here, the machine itself may give some suggestions for fixing it. If not, and assuming you've not yet tried the command "sudo dpkg --configure -a", I'd suggest trying that command here (the preceding "sudo" may not be necessary, it may simply be "dpkg --configure -a", but try it with sudo first)
No, I rebooted before taking your advice. In your reply of 8-21-09, I think it showed humility and character to publicly admit that your "former avdice was insufficient." Not that nobody knew that, but that it was good say. I can't recall reading that phrase in any other post or on any other forum.
I ended up going to another computer (with 8.04) and downloading on CD Puppy linux, Open Suse, Intrepid 8.10 alternative, Jaunty, and Jaunty alternative (wanted to do some sightseeing).
Puppy Linux wouldn't connect to the internet. While it wasn't a live CD, per se, I could save my preference to the CD and use without installing to my computer. While I was impressed that it only requires 100 mbs of RAM, without an internet connection, it was time to go.
Open Suse required more RAM than I have, so I did not get to see it even open up.
Intriped 8.10, not a live CD, went straight to install. After a good long while, I booted up and it seemed as though I couldn't remember that pass word. After wracking my brain over and over again, I had no option (I thought) but to install it again and make it a point to write the username and pass word down. After another install, more of the same. I went to Launchpad and tried everything suggested, but it just would not open.
Finally, I installed Jaunty 9.04 alternative and it's working just fine. Screen resolution is crisp and clear, and Ff3.5 is brisk with alacrity. I'm happy to be home.
It still doesn't play videos off the internet. Maybe I can down load them and save them and then they'll play. Or maybe VLC will work this time. I'll see. At any rate, I'm just glad to have an operating system that works.