Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: install of oracle java 7 or 8 threatens to uninstall apt?

  1. #21
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: install of oracle java 7 or 8 threatens to uninstall apt?

    I have reported this as a bug, as I encountered it when I got home tonight. Please add yourself to the "Affects me" list, but don't add simple comments such as "This affects me too!" as that gets in the way of making sense of the bug report.

    https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1302923

    Last edited by QIII; April 5th, 2014 at 03:22 AM.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  2. #22
    Join Date
    Jun 2007
    Beans
    17,337

    Re: install of oracle java 7 or 8 threatens to uninstall apt?

    The ppa owner probably needs to adjust the control file, maybe related to Provides: .... default-jre, ( maybe also - default-jre-headless,
    I made a couple of small changes to control (removed above, added java-common ) & the ppa packages installed/ran fine (one is transitional, not really needed.
    So it probably will be squared away shortly.

    Ex. new 14.04 install -
    ........
    The following NEW packages will be installed:
    java-common
    0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
    Need to get 130 kB of archives.
    After this operation, 299 kB of additional disk space will be used.
    Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main java-common all 0.51 [130 kB]
    Fetched 130 kB in 0s (279 kB/s)
    Selecting previously unselected package java-common.
    (Reading database ... 361742 files and directories currently installed.)
    Preparing to unpack .../java-common_0.51_all.deb ...
    Unpacking java-common (0.51) ...
    Processing triggers for man-db (2.6.6-1) ...
    Processing triggers for doc-base (0.10.5) ...
    Processing 2 added doc-base files...
    Registering documents with scrollkeeper...
    Setting up java-common (0.51) ...
    Setting up oracle-java7-installer (7u51-0~webupd8~4) ...
    Downloading Oracle Java 7...
    --2014-04-04 23:46:14-- http://download.oracle.com/otn-pub/j...nux-x64.tar.gz
    Resolving download.oracle.com (download.oracle.com)... 23.0.160.198, 23.0.160.200
    Connecting to download.oracle.com (download.oracle.com)|23.0.160.198|:80... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: https://edelivery.oracle.com/otn-pub...nux-x64.tar.gz [following]
    --2014-04-04 23:46:14-- https://edelivery.oracle.com/otn-pub...nux-x64.tar.gz
    Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.193.198.140
    Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.193.198.140|:443... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: http://download.oracle.com/otn-pub/j...e6030fb635ad63 [following]
    --2014-04-04 23:46:14-- http://download.oracle.com/otn-pub/j...e6030fb635ad63
    Connecting to download.oracle.com (download.oracle.com)|23.0.160.198|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 138199690 (132M) [application/x-gzip]
    Saving to: ‘jdk-7u51-linux-x64.tar.gz’

    0K ........ ........ ........ ........ ........ ........ 2% 6.49M 20s
    3072K ........ ........ ........ ........ ........ ........ 4% 6.91M 19s
    6144K ........ ........ ........ ........ ........ ........ 6% 6.90M 18s
    9216K ........ ........ ........ ........ ........ ........ 9% 6.90M 18s
    12288K ........ ........ ........ ........ ........ ........ 11% 6.90M 17s
    15360K ........ ........ ........ ........ ........ ........ 13% 6.90M 17s
    18432K ........ ........ ........ ........ ........ ........ 15% 6.90M 16s
    21504K ........ ........ ........ ........ ........ ........ 18% 6.90M 16s
    24576K ........ ........ ........ ........ ........ ........ 20% 6.91M 15s
    27648K ........ ........ ........ ........ ........ ........ 22% 6.90M 15s
    30720K ........ ........ ........ ........ ........ ........ 25% 6.90M 14s
    33792K ........ ........ ........ ........ ........ ........ 27% 6.90M 14s
    36864K ........ ........ ........ ........ ........ ........ 29% 6.91M 14s
    39936K ........ ........ ........ ........ ........ ........ 31% 6.90M 13s
    43008K ........ ........ ........ ........ ........ ........ 34% 6.91M 13s
    46080K ........ ........ ........ ........ ........ ........ 36% 6.90M 12s
    49152K ........ ........ ........ ........ ........ ........ 38% 6.91M 12s
    52224K ........ ........ ........ ........ ........ ........ 40% 6.89M 11s
    55296K ........ ........ ........ ........ ........ ........ 43% 6.91M 11s
    58368K ........ ........ ........ ........ ........ ........ 45% 6.89M 10s
    61440K ........ ........ ........ ........ ........ ........ 47% 6.91M 10s
    64512K ........ ........ ........ ........ ........ ........ 50% 6.89M 10s
    67584K ........ ........ ........ ........ ........ ........ 52% 6.92M 9s
    70656K ........ ........ ........ ........ ........ ........ 54% 6.89M 9s
    73728K ........ ........ ........ ........ ........ ........ 56% 6.91M 8s
    76800K ........ ........ ........ ........ ........ ........ 59% 6.89M 8s
    79872K ........ ........ ........ ........ ........ ........ 61% 6.91M 7s
    82944K ........ ........ ........ ........ ........ ........ 63% 6.89M 7s
    86016K ........ ........ ........ ........ ........ ........ 66% 6.91M 7s
    89088K ........ ........ ........ ........ ........ ........ 68% 6.90M 6s
    92160K ........ ........ ........ ........ ........ ........ 70% 6.91M 6s
    95232K ........ ........ ........ ........ ........ ........ 72% 6.89M 5s
    98304K ........ ........ ........ ........ ........ ........ 75% 6.91M 5s
    101376K ........ ........ ........ ........ ........ ........ 77% 6.89M 4s
    104448K ........ ........ ........ ........ ........ ........ 79% 6.91M 4s
    107520K ........ ........ ........ ........ ........ ........ 81% 6.90M 3s
    110592K ........ ........ ........ ........ ........ ........ 84% 6.90M 3s
    113664K ........ ........ ........ ........ ........ ........ 86% 6.90M 3s
    116736K ........ ........ ........ ........ ........ ........ 88% 6.91M 2s
    119808K ........ ........ ........ ........ ........ ........ 91% 6.90M 2s
    122880K ........ ........ ........ ........ ........ ........ 93% 6.90M 1s
    125952K ........ ........ ........ ........ ........ ........ 95% 6.90M 1s
    129024K ........ ........ ........ ........ ........ ........ 97% 6.90M 0s
    132096K ........ ........ ........ ........ ........ .... 100% 6.91M=19s

    2014-04-04 23:46:33 (6.89 MB/s) - ‘jdk-7u51-linux-x64.tar.gz’ saved [138199690/138199690]

    Download done.
    Removing outdated cached downloads...
    update-alternatives: error: no alternatives for java
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/java to provide /usr/bin/java (java) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/java_vm to provide /usr/bin/java_vm (java_vm) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode
    update-alternatives: warning: not replacing /usr/share/man/man1/extcheck.1.gz with a link
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jar to provide /usr/bin/jar (jar) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javac to provide /usr/bin/javac (javac) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javafxpackager to provide /usr/bin/javafxpackager (javafxpackager) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javah to provide /usr/bin/javah (javah) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/javap to provide /usr/bin/javap (javap) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jmc to provide /usr/bin/jmc (jmc) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jps to provide /usr/bin/jps (jps) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/jvisualvm to provide /usr/bin/jvisualvm (jvisualvm) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode
    update-alternatives: using /usr/lib/jvm/java-7-oracle/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode
    Oracle JDK 7 installed
    update-alternatives: using /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode
    Oracle JRE 7 browser plugin installed
    Setting up oracle-java7-set-default (7u51-0~webupd8~4) ...
    Setting up oracle-jdk7-installer (7u51-0~webupd8~4) ...
    Though it's quite simple to manually install as in links..

  3. #23
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: install of oracle java 7 or 8 threatens to uninstall apt?

    Quote Originally Posted by zeke2135 View Post
    Why exactly do you conclude that I'm missing this point? As far as I can see, the point of testing pre-production software is to find out what doesn't work and figure out why, if you're capable, or report your experiences to others who might be, so it can be fixed. I'm pretty sure a lot of users install oracle java from the webupd8 ppa, and I can see that others are already also reporting a similar issue, so it would seem to be a good idea to solve the problem, not work around it by manually installing.
    In my book using PPA is workaround and manual install is direct approach. That difference is answer to Your first question pointed to me, I presume.
    Not to forget tomention crucial thing here: Ubuntu (read Canonical) made a decision of what Java to embrace and all this is a kind of workaround...
    Last edited by zika; April 5th, 2014 at 05:44 AM.

  4. #24
    Join Date
    May 2009
    Location
    Oregon, USA
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: install of oracle java 7 or 8 threatens to uninstall apt?

    Web UPD8 has posted they now have a work around installation: http://www.webupd8.org/2014/04/oracl...ting-with.html
    I will give it a try.

  5. #25
    Join Date
    Sep 2013
    Beans
    26

    Re: install of oracle java 7 or 8 threatens to uninstall apt?

    Quote Originally Posted by gifford View Post
    Web UPD8 has posted they now have a work around installation: http://www.webupd8.org/2014/04/oracl...ting-with.html
    I will give it a try.
    tried it and worked.

  6. #26
    Join Date
    May 2009
    Location
    Oregon, USA
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: install of oracle java 7 or 8 threatens to uninstall apt?

    Also worked for me.

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •