openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #07123
[Bug 905808] Re: java alternatives missing after upgrade to precise
I think I just ran into this on a freshly installed and updated 12.04 alpha 1 system. I did
apt-get install openjdk-7-jdk
and java alternatives were ok, but after
aptitude remove java-common icedtea-7-jre-jamvm openjdk-7-jdk openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
apt-get install openjdk-7-jdk
there were no java alternatives. Same thing with openjdk-6; they're ok on first install, but not on reinstall.
The workaround, as Martin noted, is to run
sudo /usr/share/debconf/frontend /var/lib/dpkg/info/openjdk-7-jre-headless:amd64.postinst configure
sudo /usr/share/debconf/frontend /var/lib/dpkg/info/openjdk-7-jdk:amd64.postinst configure
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/905808
Title:
java alternatives missing after upgrade to precise
Status in “openjdk-6” package in Ubuntu:
Confirmed
Bug description:
after upgrading to precise, the java alternatives symlinks seem to be
broken, and not fixed by update-java-alternatives, which complains:
mbp@joy% sudo update-java-alternatives -v -s java-1.6.0-openjdk-amd64
resetting java alternatives
update-alternatives: error: no alternatives for appletviewer.
update-alternatives: error: no alternatives for apt.
update-alternatives: error: no alternatives for extcheck.
update-alternatives: error: no alternatives for idlj.
update-alternatives: error: no alternatives for jarsigner.
update-alternatives: error: no alternatives for java.
update-alternatives: error: no alternatives for javac.
....
(or similarly with --auto)
the binary files do exist and the .jinfo file seems valid. It is true
there is no java alternative in /etc/alternatives.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: openjdk-6-jdk 6b24~pre2-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-4.10-generic 3.2.0-rc5
Uname: Linux 3.2.0-4-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Sun Dec 18 08:27:26 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: openjdk-6
UpgradeStatus: Upgraded to precise on 2011-12-15 (2 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/905808/+subscriptions
References