Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I've recently installed Oracle JDK on my Ubuntu. Now when I download any package, apt-get first tries to download oracle-java8-installer. How can I stop it from doing that?

Edit: Here's the output of apt-cache policy oracle-java8-installer:

  Installed: 8b108-0~webupd8~0
  Candidate: 8b108-0~webupd8~0
  Version table:
 *** 8b108-0~webupd8~0 0
        500 saucy/main i386 Packages
        100 /var/lib/dpkg/status
share|improve this question
Technically, questions about 13.10 are off-topic as it's not been released yet. Also, this is very likely a duplicate question. But it would help to know how you installed the Oracle JDK exactly, given that it's not included in Ubuntu directly. – dobey Oct 4 '13 at 17:36
This is unlikely to have anything to do with 13.10; I merely used the tag to say what version I was on. – Arian Oct 4 '13 at 19:26
@dobey I downloaded the tar package from Oracle, untarred it, moved the folder to /usr/lib/jvm, and set it as default using update-alternatives. – Arian Oct 4 '13 at 19:35
Please include the output of apt-cache policy oracle-java-installer in your question. – dobey Oct 4 '13 at 19:38
@dobey Did as you said. The correct package name is oracle-java8-installer by the way. – Arian Oct 5 '13 at 15:28

Your Answer


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

Browse other questions tagged or ask your own question.