Bug 193650 - sun jdk fails to install with "select frontend other than noninteractive"
Summary: sun jdk fails to install with "select frontend other than noninteractive"
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kpackagekit
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Toivo Pedaste
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-22 16:54 UTC by nik
Modified: 2009-10-02 14:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nik 2009-05-22 16:54:43 UTC
Version:           unknown (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-11-generic

When attempting to apply kpackage changes to install the sun-java6-jdk package,
the installation process fails with this error message:

----------------------------------------------------------------------------------------------------------------------
/var/cache/apt/archives/sun-java6-jre_6-13-1_all.deb
Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
(Reading database ... 95507 files and directories currently installed.)
Unpacking sun-java6-jre (from .../sun-java6-jre_6-13-1_all.deb) ...

sun-dlj-v1-1 license could not be presented
try 'dpkg-reconfigure debconf' to select a frontend other than noninteractive
----------------------------------------------------------------------------------------------------------------------

The way I went around this is by using command line to install the package:
apt-get install sun-java6-jdk

This way the installer can show you the license dialog it requires, which is the reason it fails in the first place.
But this is just a workaround, as it is a misconfiguration issue. 

The installation should work out of the box, as in previous Kubuntu versions.

Users have to use "dpkg-reconfigure debconf" to change the preferred frontend to fix this, but why isn't KDE the default on Kubuntu anyway?

peace out
Comment 1 Jonathan Thomas 2009-05-22 20:22:18 UTC
Are you sure you didn't mean "KPackageKit"?
This is a known limitation of PackageKit in general (specifically the Debian packaging backend.)
Comment 2 nik 2009-05-23 20:13:43 UTC
Sorry, I meant KPackageKit indeed.

I think a very effective way to deal with it would be for the debconf to be configured to work with KDE (for Kubuntu only of course) out of the box.
Comment 3 Jonathan Thomas 2009-10-02 14:28:50 UTC
This is due to a limitation of the PackageKit project itself. (Not the KPackageKit GUI)