Your message dated Sun, 11 Sep 2016 00:51:37 +0000
with message-id <[email protected]>
and subject line Bug#820857: fixed in java-package 0.62
has caused the Debian Bug report #820857,
regarding java-package: Generated JDK package should have higher priority than 
existing openjdk packages
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 [email protected]
immediately.)


-- 
820857: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820857
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: java-package
Version: 0.60
Severity: normal

Given the following situation. I have openjdk-8-jdk installed from the
archive. For work I need the Oracle JDK, so I download the *.tar.gz and
create a debian package from it with java-package. I install the created
package, so I have both the openjdk-8-jdk from the archive and the
Oracle JDK installed.

Now I run java -version on the command line.

Expected result: The java binary from the Oracle JDK is used by default.
Actual result: The openjdk java binary is still used.
(It is the same for all binaries, which are provided by both Java
implementations).

It turns out, the package generated by java-package has a much lower
priority(380) for update-alternatives then then openjdk(~1000) package.

Please change the java-package tool, so that the generated packages have
the highest priority of all Java implemenations and are used by default.

Rationale: If I create a Debian package with make-jpkg and install it,
it is a deliberate act, that I want that Java implemantation on my
machine. It should therefore be used by default. Not using this
implementation after installing it is unexpected and against user expectation.

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-18-generic (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages java-package depends on:
ii  build-essential  12.1ubuntu2
ii  debhelper        9.20160115ubuntu3
ii  dpkg-dev         1.18.4ubuntu1
ii  fakeroot         1.20.2-1ubuntu1
ii  libasound2       1.1.0-0ubuntu1
ii  libfontconfig1   2.11.94-0ubuntu1
ii  libgl1-mesa-glx  11.2.0-1ubuntu1
ii  libgtk2.0-0      2.24.30-1ubuntu1
ii  libx11-6         2:1.6.3-1ubuntu2
ii  libxslt1.1       1.1.28-2.1
ii  libxtst6         2:1.2.2-1
ii  libxxf86vm1      1:1.1.4-1
ii  unzip            6.0-20ubuntu1

java-package recommends no packages.

Versions of packages java-package suggests:
pn  openjdk-7-jre  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: java-package
Source-Version: 0.62

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

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <[email protected]> (supplier of updated java-package 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 10 Sep 2016 17:39:56 -0700
Source: java-package
Binary: java-package
Architecture: source all
Version: 0.62
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: tony mancill <[email protected]>
Description:
 java-package - Utility for creating Java Debian packages
Closes: 799974 819537 820857 833301
Changes:
 java-package (0.62) unstable; urgency=medium
 .
   * Team upload.
   * Bump Standards-Version to 3.9.8 (no changes)
   * Add --distribution option to override hard-coded value of unstable.
     Thank you to Martin Gerhard Loschwitz for the patch. (Closes: #819537)
   * Add --jce-policy <policy.zip> option to build with JCE policy file.
     Thank you to Alex Brown for the patch. (Closes: #833301)
   * Freshen the manpage example for JDK 8.
   * Implement --priority <priority> option. (Closes: #820857)
   * Bump Standards-Version of generated source package to 3.9.8.
   * Generated JDK/JRE packages now depend on java-common (Closes: #799974)
Checksums-Sha1:
 5130277ef5fc414af5338988e57c5152fc5962e6 1632 java-package_0.62.dsc
 d7902d94dc37a88bbfcb6e11436d26698bb7d2fe 20276 java-package_0.62.tar.xz
 424eb2de4edbc6e4a06cdf805c11e71eb115c16b 22734 java-package_0.62_all.deb
Checksums-Sha256:
 9ecf3a92538e7375c30cc7df9f4118bfb95d0364a3859942a6dcfa6224916bae 1632 
java-package_0.62.dsc
 221f73377d6d3093b04963b18843abe5410f41767b5b4ba432edca9528ddd766 20276 
java-package_0.62.tar.xz
 3b65319509e3989458933bc93c485d7a77ebcd6ed7ca33ea07e437d5e976261a 22734 
java-package_0.62_all.deb
Files:
 695befe1a9e56300cb1bb6634b885513 1632 contrib/misc optional 
java-package_0.62.dsc
 258817a535793ac594f5fdb0be153f76 20276 contrib/misc optional 
java-package_0.62.tar.xz
 91eafc4748f3898f910900127a0b1bed 22734 contrib/misc optional 
java-package_0.62_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJX1KjjAAoJECHSBYmXSz6Wt4UP/AynmDprgDmxAKsowOoHJX70
3nJ9OeMIw94xlTDomk1GSwE47x/EEIx5jCZ0e0rOkzY+FTJ9ONThWqjRp1Q8BvCP
GDFPlBoNPfc5tIz+d49j3XU52x3rh1hQrgaRI/ZYjkek0sXaKbOulgnEMZNF05sT
w7Xm6J5KGGlL5TVdVCG2R8tquARs2nCyFpibMbsHAysylp2lkH+aI5musBy8KmFa
wQjgwBHrlewNZV78ZS+0uMA4Ei8jZuwiqC0tyQRwfRRlpu/3bzCpFGhFcxzX8pDB
CujBrmf5AI6ZwAzxYegeXGqj2vWBFEXGksn2Gh1nUcFFpBGmCvSQ8qAocuOH6JBW
LPXQcyIC1N1Zg8FD1VfVDNKFFEca07+XlhudU+TK2rrjeMV3zCZ4md6vMfM5hU5X
rk2RMNhZ01mhUi7EXw6cOKHA9xlGweBb1gK94Vf6LFOQo0CCirOnxwHolDHQC77s
LHDlXUzfSjpdc+8S6YG+VYFDkTwBI73ukDbNYbENnPhwnbTlQ/hmxDjQL9REk5QI
AITVmgC+Yo3sIqPevENA+GO2Zy9zR3Ssn+5L0lnVccHOtItaIWUK2cznkyNLFryM
MwrheUBy0Dg+3H9uqPXg+hFXDJp5s9at6sx1xwISZjAouriA+2PUVoa6pRHuD+jN
rdPfAWbZeMJLMAnJJb5m
=Wsdq
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
[email protected] for discussions and questions.

Reply via email to