openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #02908
[Bug 219631] Re: Java upgrade from gutsy to hardy is broken: openjdk-6-jre-headless (6b09-0ubuntu2) configuration fails
Marking this "Fix released" instead:
it fails if there's not enough RAM, e.g. on a 256MB OpenVZ machine (which has no swap space).
It's fixed like this in 6b17~pre3-1 (and probably before):
if ! $basedir/bin/java -client -Xshare:dump -XX:PermSize=128m > $log; then
cat >&2 $log
rm -f $log
# this may fail on some machines/configurations, just ignore it.
echo >&2 "ignoring dump failure"
#exit 1
fi
So, if you're experiencing this, just comment out the "exit 1" in
/var/lib/dpkg/info/openjdk-6-jre-headless.postinst (or another postinst,
if necessary).
** Changed in: openjdk-6 (Ubuntu)
Importance: Undecided => Medium
** Changed in: openjdk-6 (Ubuntu)
Status: Invalid => Fix Released
--
Java upgrade from gutsy to hardy is broken: openjdk-6-jre-headless (6b09-0ubuntu2) configuration fails
https://bugs.launchpad.net/bugs/219631
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “openjdk-6” package in Ubuntu: Fix Released
Bug description:
Setting up openjdk-6-jre-headless causes double free or corruption, what interrupts openjdk upgrading process. Detailed log is attached.
18:25 ~@pazur% lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
18:25 ~@pazur% LANG=C apt-cache policy openjdk-6-jre-headless
openjdk-6-jre-headless:
Installed: 6b09-0ubuntu2
Candidate: 6b09-0ubuntu2
Version table:
*** 6b09-0ubuntu2 0
500 http://pl.archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status