Bug#292179: java-package: dpkg fails to install created package

Rogério Brito Rogério Brito , 292179@bugs.debian.org
Tue Jan 25 08:54:20 2005


Package: java-package
Version: 0.19
Severity: normal

I just grabbed the new java-package 0.19 from incoming.debian.org and tried
to use it, excited by the descriptions of the changelogs.

Unfortunately, the generated package does not install here due:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
dumont:~# dpkg -i /usr/local/media/progs/linux/java/sun-j2sdk1.5_1.5.0+update00_i386.deb 
Selecting previously deselected package sun-j2sdk1.5.
(Reading database ... 67081 files and directories currently installed.)
Unpacking sun-j2sdk1.5 (from .../sun-j2sdk1.5_1.5.0+update00_i386.deb) ...
Setting up sun-j2sdk1.5 (1.5.0+update00) ...
/var/lib/dpkg/info/sun-j2sdk1.5.postinst: 14: Syntax error: "(" unexpected (expecting "fi")
dpkg: error processing sun-j2sdk1.5 (--install):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 sun-j2sdk1.5
dumont:~# 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I don't know if this bug should have severity serious or not, but it sure
ain't pleasing. :-(

I'll dig more information in the postinst script and, if relevant, I'll
forward that to this bug.



Thank you very much for your work, Rogério.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-rc2-3
Locale: LANG=C, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages java-package depends on:
ii  debhelper                     4.2.30     helper programs for debian/rules
ii  fakeroot                      1.2.2      Gives a fake root environment

-- no debconf information

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Rogério Brito - rbrito@ime.usp.br - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=