Skip "update-alternatives" if a JDK is already installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have a headless automated-build server. The server executes a script which depends on Apache Ant. The "ant" package depends on "openjdk-
This is an automated build server. I cannot be expected to manually restore "update-
Please avoid invoking "update-
In my case, the build machine has sudo access to "apt-get" but not to "update-
Alternatively, please provide a mechanism for installing "openjdk-
Final point: if you disagree, please do not close this issue immediately. Present your points and give me an opportunity to respond.
Thank you.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-
ProcVersionSign
Uname: Linux 3.8.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.4
Architecture: amd64
Date: Tue Sep 10 18:08:48 2013
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openjdk-6
UpgradeStatus: No upgrade log present (probably fresh install)
Nevermind, this is not a bug. It was caused by my misunderstanding of how update-alternatives works. If anyone else runs into this problem, please see http:// askubuntu. com/a/344334/ 23678 for a solution.
(You can close this bug, sorry for the false alarm)