Your message dated Tue, 07 Feb 2006 19:57:00 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#348139: java-package use of update-alternatives
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: java-package
Version: 0.27
Severity: grave
Justification: renders package unusable

Postins fails because update-alternative --install parameters 
are incorrect. I chnaged to update-alternatives \
        --install "$program"  "$program" \
        "$j2se_base/bin/$program" "$priority" 

-- System Information:
Debian Release: testing/unstable
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages java-package depends on:
ii  coreutils                     5.93-5     The GNU core utilities
ii  debhelper                     5.0.15     helper programs for debian/rules
ii  fakeroot                      1.5.6      Gives a fake root environment
ii  unzip                         5.52-6     De-archiver for .zip files

java-package recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
On Sun, 2006-01-15 at 15:33 +0100, Eric Valette wrote:
> Barry Hawkins wrote:
> > Eric Valette wrote:
> > [...]
> > 
> >>>Postins fails because update-alternative --install parameters 
> >>>are incorrect. I chnaged to update-alternatives \
> >>>   --install "$program"  "$program" \
> >>>   "$j2se_base/bin/$program" "$priority" 
> > 
> > [...]
> > Eric,
> >     Thanks for your use of Debian and java-package.  Which JRE or JDK
> > are you attempting to package?
> 
> 
> I tried the last recently published update of the sun jre1.5 : update
> 06. BTW Previously I had a lot of problem with the alternative stuff
> when adding new packages version. This time, I saw someone changed the
> postinst script.
> 
> Unfortunately it broke on my machine. I have no more the message
> failure. It was complaining to try to copy something from different
> devices. I just ran the /var/lib/dpkg/info/sun-jrexxx-postinst script by
> hand and found the wrong line. Then looking at the update-alternatives
> man page, I do not understand the way the argument were given. I changed
> them and the script worked. I then called apt-get -f install to finish
> install.
[...]
Eric,
    After investigating this issue, I am not sure why you had an
problems using java-package; the use of update-alternatives has been
correct in the Sun JRE/JDK scripts for some time.  The usage pattern is
shown below:
    update-alternatives \
        --install "/usr/bin/$program" "$program" \
        "$j2se_base/bin/$program" "$priority" \
        --slave "/usr/share/man/man1/$program.1.gz" "$program.1.gz" \
        "$j2se_base/man/man1/$program.1.gz"

    The man page for update-alternatives refers to its first parameter
as "genname"; this parameter in the example is shown as
"/usr/bin/editor"; for details on why please refer to the full text of
the manpage.  The usage pattern for update-alternatives in java-package
is in fact correct.  Should you run into problems using java-package in
the future, please do not hesitate to contact us.

Regards,
-- 
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to