j2re1.4 etc cannot be installed non-interactively, which breaks buildds

Bug #141212 reported by Daniel Silverstone
4
Affects Status Importance Assigned to Milestone
j2se1.4-i586 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

The j2re1.4 package and similar cannot be installed with the noninteractive DEBIAN_FRONTEND to the debconf system because of the need to agree to a licence. The package should either detect that it is being installed on a buildd and assume that acceptance has been made for the licence, or assume that if being run under the noninteractive frontend that this is tacit agreement to the licence. Otherwise buildds and the like cannot build any package which depends on the j2re for being built.

For example, I found this while wanting to install fop, which build-depends on a batik library which cannot be built because it build depends on the j2re.

Revision history for this message
Feistybird (bryanjen-tw) wrote :

I've the similar problems on my Ubuntu 8.10 Beta

===
sh j2re-1_4_2_04-linux-i586.bin

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
tail: cannot open `+417' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.

===

However, same file installs the java 1.4.2_04 properly on my Ubuntu 7.10 without any problems.

Also, the java 1.4.2_***16 *** can be successfully installed in my Ubuntu 8.04 beta, only the version 1.4.2.04 has such problem.

Java 1.4.2.04 is very important for the enterprise ERP/ERM applications, as the Oracle Form Server 10 & Form Developer MUST use this java version!

Any ideas?

Thanks!

Revision history for this message
Feistybird (bryanjen-tw) wrote :

===
sh j2re-1_4_2_04-linux-i586.bin

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
tail: cannot open `+417' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.

===

Found the solution from Gentoo's forum:

Simply add the older programming language definition "_POSIX2_VERSION=199209" in front of the 'sh file'

_POSIX2_VERSION=199209 sh sh j2re-1_4_2_04-linux-i586.bin

Revision history for this message
Feistybird (bryanjen-tw) wrote :

===
sh j2re-1_4_2_04-linux-i586.bin

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
tail: cannot open `+417' for reading: No such file or directory
Checksumming...
1
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.

===

Found the solution from Gentoo's forum:

Simply add the older programming language definition "_POSIX2_VERSION=199209" in front of the 'sh file'

_POSIX2_VERSION=199209 sh j2re-1_4_2_04-linux-i586.bin

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Feistybird,

Your comments are not relevant to this bug. This about installation on build servers.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

The solution is to preseed debconf answer. I have sent a mail to motu mailing list, but I sent it too late in hardy cycle. So probably this will be solved only in hardy+1.

Changed in j2se1.4-i586:
status: New → Confirmed
Revision history for this message
Neena Jaiswal (neenajaiswal) wrote :

I was facing the same problem. By using _POSIX2_VERSION, I could install jre successfully. Thanks.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

The package is no more in the archives and not used by any other packages as build dependency.

Changed in j2se1.4-i586 (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.