Comment 2 for bug 522383

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote : Re: package sun-java6-jre 6-15-1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 2

Thanks for your report

The relevant error is
---
Unpacking sun-java6-jre (from .../sun-java6-jre_6-15-1_all.deb) ...
debconf: unable to initialize frontend: Passthrough
debconf: (Cannot connect to /tmp/aptdaemon-m4phO3/debconf.socket: Connection refused at (eval 22) line 3)
debconf: falling back to frontend: Noninteractive

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

dpkg: error processing /var/cache/apt/archives/sun-java6-jre_6-15-1_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2

This is likely a dup.