[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#563070: marked as done (java-common: "update-java-alternatives --list <jname>" fails, w. patch.)



Your message dated Mon, 19 Apr 2010 07:17:12 +0000
with message-id <E1O3lEG-0004LR-Tw@ries.debian.org>
and subject line Bug#563070: fixed in java-common 0.36
has caused the Debian Bug report #563070,
regarding java-common: "update-java-alternatives --list <jname>" fails, w.  patch.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
563070: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563070
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message --- Package: java-common
Version: 0.30
Severity: normal
Tags: patch


# update-java-alternatives -v --jre --list java-gcj
listing java alternatives:
awk: cmd. line:1: fatal: cannot open file `/usr/lib/jvm/java-gcj.jinfo' for reading (No such file or directory)
java-gcj /usr/lib/jvm/java-gcj
egrep: /usr/lib/jvm/java-gcj.jinfo: No such file or directory

# ls -1AFS /usr/lib/jvm/
java-1.5.0-gcj-4.3-1.5.0.0/
java-6-sun-1.6.0.12/
.java-6-sun.jinfo
.java-gcj.jinfo
java-gcj@
java-6-sun@

Patch is a trivial fix + cleaner pattern-delete syntax for "alias".

Regards,
Thierry

--- update-java-alternatives.orig	2008-04-26 18:16:46.000000000 -0400
+++ update-java-alternatives	2009-12-30 08:37:09.000000000 -0500
@@ -117,9 +117,9 @@
 do_list()
 {
     vecho "listing java alternatives:"
-    for i in $top/${jname:-*}.jinfo; do
-	alias=$(basename ${i%*.jinfo})
-	alias=${alias#.*}
+    for i in ${jinfo:-$top/*.jinfo}; do
+	alias=$(basename ${i%.jinfo})
+	alias=${alias#.}
 	prio=$(awk -F= '/priority=/ {print $2}' $i)
 	echo $alias $prio $top/$alias
 	[ -n "$verbose" ] && egrep "$which" $i

--- End Message ---
--- Begin Message ---
Source: java-common
Source-Version: 0.36

We believe that the bug you reported is fixed in the latest version of
java-common, which is due to be installed in the Debian FTP archive:

default-jdk-builddep_1.6-36_i386.deb
  to main/j/java-common/default-jdk-builddep_1.6-36_i386.deb
default-jdk-doc_0.36_all.deb
  to main/j/java-common/default-jdk-doc_0.36_all.deb
default-jdk_1.6-36_i386.deb
  to main/j/java-common/default-jdk_1.6-36_i386.deb
default-jre-headless_1.6-36_i386.deb
  to main/j/java-common/default-jre-headless_1.6-36_i386.deb
default-jre_1.6-36_i386.deb
  to main/j/java-common/default-jre_1.6-36_i386.deb
java-common_0.36.dsc
  to main/j/java-common/java-common_0.36.dsc
java-common_0.36.tar.gz
  to main/j/java-common/java-common_0.36.tar.gz
java-common_0.36_all.deb
  to main/j/java-common/java-common_0.36_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 563070@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (supplier of updated java-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 19 Apr 2010 09:05:16 +0200
Source: java-common
Binary: java-common default-jre default-jre-headless default-jdk default-jdk-doc default-jdk-builddep
Architecture: source all i386
Version: 0.36
Distribution: unstable
Urgency: low
Maintainer: Debian Java Mailing List <debian-java@lists.debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description: 
 default-jdk - Standard Java or Java compatible Development Kit
 default-jdk-builddep - Standard Java or Java compatible build dependencies
 default-jdk-doc - Standard Java or Java compatible Development Kit (documentation)
 default-jre - Standard Java or Java compatible Runtime
 default-jre-headless - Standard Java or Java compatible Runtime (headless)
 java-common - Base of all Java packages
Closes: 227594 395372 563070 576632 577482
Changes: 
 java-common (0.36) unstable; urgency=low
 .
   * Correct a ${jdk} that should have been a ${jre} in the decription
     of default-jre. Thanks to Yoshino Yoshihito for spotting it.
     (Closes: #576632)
   * Removed Stefan Gybas from Uploaders (no upload since 2003); thanks
     for your work.
   * Applied patch from Thierry Basque that fixes the --list
     argument for update-java-alternatives. (Closes: #563070)
   * Updated the off-line copy of the Debian Java FAQ.
   * Added sh4 to the list of architectures that support openjdk-6.
     (Closes: #577482)
   * Removed useless commands from debian/rules and removed B-D on
     dpsyco-devel.
   * Policy Changes:
     - Removed section "Java Compilers".
     - Retired the virtual packages java-virtual-machine, java-compiler
       and java2-compiler
     - Relax program installation locations (Closes: #395372)
     - Specified installation location for private program jars.
     - Removed mention of binfmt_misc in favor of jarwrapper.
       (Closes: #227594)
Checksums-Sha1: 
 00134ec4c0927812b1d1208382dece40c00c79e5 1198 java-common_0.36.dsc
 fe7d014b967a6b63a2fa7c7c0c07b8822ba9c462 50566 java-common_0.36.tar.gz
 ef4b9e6c82dac4d718e7cc5cd683262e62624b96 62972 java-common_0.36_all.deb
 e24fbb25a84dbe6fa0239a613d8bfc217299a06d 6768 default-jdk-doc_0.36_all.deb
 e5e6f55d3f4cc0da84cadcd38836e17bab4a3a6a 1030 default-jre_1.6-36_i386.deb
 a67afe45dd2203406a7c75873fc2804b6d8a61b1 7008 default-jre-headless_1.6-36_i386.deb
 c25e4bf88ef15ff55221e5faa37d3c730f25159a 1022 default-jdk_1.6-36_i386.deb
 bc3d8d75333d396b43b0feb86d1ff34744c20c4b 986 default-jdk-builddep_1.6-36_i386.deb
Checksums-Sha256: 
 fa0a3f9470de9279cc0a5651406450ed7d0035810150c9239b096e67652399c5 1198 java-common_0.36.dsc
 eaa2e77b95562250f7abbd0d557891857c9915803b0f64c2f20930e76ba778ff 50566 java-common_0.36.tar.gz
 ec6db53ce727f332d3999581815fe1092bbbeca2365615673cfb123b6fa930a8 62972 java-common_0.36_all.deb
 1e698d2050eb10a28d9f9b52e8be8d97e66aae7468e73b8181eb9559da7fa99c 6768 default-jdk-doc_0.36_all.deb
 b209ba890239082c6ae61315678a73033c7427fa39c89d5c589f71183366a9ad 1030 default-jre_1.6-36_i386.deb
 15f3b83b0296e830d0c49c2c688bd31118de682ff1336022ea34bb3dcb8709fc 7008 default-jre-headless_1.6-36_i386.deb
 aef8b53ac6390acac9573c454fd626e9a930ec75b4e22940ea317e464900f5ff 1022 default-jdk_1.6-36_i386.deb
 8229f6a80019408c473e6fb51886b0a878f6d6ffcd66b6849587a5c5e59ea1c3 986 default-jdk-builddep_1.6-36_i386.deb
Files: 
 a8488c9bd25d0b2734a2b4a3eb45f73e 1198 java optional java-common_0.36.dsc
 b9d15d3750ac84efb2c78d5b474ba0e3 50566 java optional java-common_0.36.tar.gz
 ca74ac33d769f2c1c485e226748f06a1 62972 java optional java-common_0.36_all.deb
 3c0f68b13339ab7da8cc7208542a30d3 6768 doc optional default-jdk-doc_0.36_all.deb
 84db190aafc9cd30066716dbe1e6868a 1030 java optional default-jre_1.6-36_i386.deb
 f7b58db47be77739f18d2591813d64f9 7008 java optional default-jre-headless_1.6-36_i386.deb
 f4a51fd9afd407c229a6319b2b5494d4 1022 java optional default-jdk_1.6-36_i386.deb
 9fbe0c78d7a7097dc99e5d68d6590f1e 986 java optional default-jdk-builddep_1.6-36_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvMAXkACgkQVCqoiq1YlqwONwCg5A4Fo3+sNfz/JBJ4fLRYAEhd
npcAni2Y+fOhIhohst4v4alACQn+XLLP
=Ioah
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: