Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have been trying to install Java on my dedicated server. I have partially installed multiple versions of Java and now cannot un-install them as they all have dependencies.

Whenever I try and un-install I get:

Errors were encountered whilst processing:
openjdk-6-jre-headless
openjdk-6-jre
E: Sub-process /usr/bin/dpkg returned an error code (1)

Re-install can't be done unless I contact my host and pay 15$.

share|improve this question
    
Please provide also the apt error itself, not only the summary that it failed. –  binfalse Sep 5 '12 at 6:57
    
How/where would i get/find this? –  user87587 Sep 5 '12 at 14:17
add comment

1 Answer

You can try uninstalling it following the steps given here: http://askubuntu.com/a/185250/83046.

And then you can install it again using the steps given here: How do I install Java?.

I'm not providing the answers because they are long and are better off at their own pages.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.