Ubuntu :: Unable To Add Packages (sun-java6-jre Or Sun-java6-jdk)
Mar 26, 2011
When I try to add a new new package (such as sun-java6-jre or sun-java6-jdk) using 'Synaptic Package Manager', I can see no activity going on and upon canceling it, I get the following response.
I installed java and my computer went off in the middle of the process and some packages didn't install correctly. I decided to reinstall them but it doesn't let me. I have tried to remove them using the synaptic manager, I also tried to remove them manually. I've tried: apt-get -f install also. I tried to re-install it using:
I need to install sun-java6-jdk for my red hat server rather than than the free alternative GNU compiler for java (GCJ); but i can't install it...on Debian i can, but on red hat is impossible...
Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information
[code]....
I then went to the Ubuntu Software Center under Applications. I found sun java6 but there was no "install" button,as there is for the other software available.
I am using Lucid Lynx. sun-java6-jre in the repository is 1.6.0_22, i am trying to run an application that needs sun-java6-jre 1.6.0_2. Is there anyway i can get this version via synaptic?
Ive looked and ive seen many tuts on how to do this but ive never seen a specific answer to my problem.
Specs: -Kubuntu 11.04
Problem: every time i use KPackageKit to try to install something it always tries to install sun-java6-bin which is already installed. ive added repositories, ive used restricted-extras, ive done the update and installs in terminal. java works fine for me in the browser and for terminal commands. i have set sun-java6 as the default java and updated it again. the error code is: Code:
subprocess installed post-installation script returned error exit status 2. i dont know what to do. all my installations fail. and i cant do anything. i hope ive provided ample information.
I need to install sun-java6-plugin on Debian 6. I already have a Web browser installed in /usr/local/, but it seems sun-java6-plugin requires me to install 1 browser from their list in order to install it. The thing is, I don't want to install any of those browsers, and disk space is kind of limited. How can I install jun-java6-plugin without installing a browser which it depends on?
Initially when I upgraded to Lucid I uninstalled openJDK and switched back to sun-java5 packages due to some application support limitations. Now I have to upgrade to sun-java6- packages. I removed the sun-java5 packages and installed the sun-java6 packages. Including the sun-java6-plugin.
I can see the plugin in aboutlugins in Firefox 3.6.10 however nothing (like webex or applets) related to java works. As a workaround I have used the Icedtea plugin which comes with open JDK and that seems to work. However I want to get the sun-java6-plugin working.
I am creating a slient setup script on an ubuntu machine that also installs additional packages. one problem i am having is that the sun java package needs a manual confirmation of the license agreement. is there a chance that i can automate the installation so, that the process does not wait until i manually confirm the dialog?
Just tried to install java JER, this was the outcome; user@user:~$ sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fontsReading package lists... Done Building dependency tree Reading state information... Done Package sun-java6-jre 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
Package sun-java6-fonts 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 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-jre' has no installation candidate E: Package 'sun-java6-plugin' has no installation candidate E: Package 'sun-java6-fonts' has no installation candidate
how do I uninstall Java? Tried with Synaptic and apt-get remove, but uninstalling sun-java6 automatically adds default-jre (openjdk) and uninstalling openJdk automatically installs sun-java ... but I don't want ANY Java on my machine - am I missing something? Already thought I maybe have a package that requires SOME kind of Java, but how do I find out?
I did the UPGRADE from Karmic Koala to Lucid, and everything was going well. But now I've been having problems with the UBUNTU UPDATE tool for the last 2 weeks. Every time I try to do an update check on the packages, I get the following message:Failed to fetch http:[url]....Release Unable to find expected entry deb-src/binary-i386/Packages in Meta-index file (malformed Release file?)
Some index files failed to download, they have been ignored, or old ones used instead.I've tried changing the servers to MAIN and others, and still no way to solve it. I've also checked for other posts, but haven't found a solution yet. Here's my SOURCES LIST (gksudo gedit /etc/apt/sources.list)# See http:[url].... for how to upgrade to # newer versions of the distribution.
I try to install Ubuntu upgrade I get errors Failed to fetch http://us.archive.Ubuntu.com/Ubuntu/...ntu3.7_all.deb. could not resolve [url]....And many more similar to this one I'm using my android to type so I can't copy all of them.My log in screen is black with a cursor it started when my update failed to install properly.I use an Intel procceser, 512mb ram, intergrated Intel video card, 1.6ghz And uh 80gb harddrive.
I ran sudo apt-get update and sudo apt-get dist-upgrade . It says that 3 packages are not upgraded. Thet are linux-generic, linux-image-generic and linux-headers generic. I have never had this problem when using sudo apt-get dist-upgrade since it is supposed to resolve all conflicts and other issues with upgrades. Can anyone tell me how I can upgrade those three packages?
I was trying to install git the other day and I system shutdown because of a power cut. Later, when i tried installing git, I get the following error message. In fact, I am not able to install any .deb packages. I get the same error when I try installing them
Code: dineshsriram@dineshsriram-desktop:~$ sudo apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done
I have a Rogers mobile Internet stick. When I plug it into a Windows laptop, it installs software that manages Internet. Would I be able to get Internet if I plugged it into my server running Ubuntu 10.04 LTS? What do I need to do to download Apache Web server onto my Ubuntu? I searched for Apache in Software Center but no results I'm not connected to the Internet so no packages updates so far.
I put Ubuntu on my computer about a week ago, and have not been able to download many new programs or updates. For expmple, I'll go over to Update Manager and try to install something, but it will stop usually halfway through or near the end and show me an error message. usually, the message looks like this:FAILED TO DOWNLOAD FILE PACKAGESCheck your Internet connection
Details: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...u10.2_i386.deb Hash Sum mismatch Failed to fetch http://us.archive.ubuntu.com/ubuntu/...u10.2_i386.deb Hash Sum mismatch
I can't seem to figure out what's going on here. Whenever I use synaptic to attempt to add/remove anything I receive the following error: (Reading database... 65%dpkg: unrecoverable fatal error, aborting: files list file for package 'dnsmasq-base' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2) A package failed to install.
Here are the messages appears on terminal. I can reach those URLs by browser and manually download them. But when I try to install them on terminal or via package managers, simply my attempt fails.. What would be the problem here?