Hi Vishanth,
I had the same issue, Can you ssh using the OS private URL?
 Better to start-over the cartridge docker build in a fresh snapshot.

Thanks,

On Wed, Oct 1, 2014 at 1:28 PM, Sajith Kariyawasam <saj...@wso2.com> wrote:

> Hi Vishanth,
>
> Please try out what is mentioned in [1]
> https://github.com/phusion/baseimage-docker/issues/58
> export the variable before apt-get ?
>      export DEBIAN_FRONTEND=noninteractive
>
> Thanks,
> Sajith
>
> On Wed, Oct 1, 2014 at 12:53 PM, Vishanth Balasubramaniam <
> vishan...@wso2.com> wrote:
>
>> Hi,
>>
>> I am currently working on creating a cassandra cartridge for apache
>> stratos using docker.
>> Even though the cartridge gets successfully built, the following error
>> messages occurred.
>>
>>  ---> c2bbd571afe5
>> Step 4 : RUN apt-get install -y openssh-server
>>  ---> Running in 25f73db5e21c
>>
>> Unpacking openssh-server (from
>> .../openssh-server_1%3a5.9p1-5ubuntu1.4_amd64.deb) ...
>> debconf: unable to initialize frontend: Dialog
>> debconf: (TERM is not set, so the dialog frontend is not usable.)
>> debconf: falling back to frontend: Readline
>> debconf: unable to initialize frontend: Readline
>> debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl
>> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
>> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
>> /usr/local/lib/site_perl .) at
>> /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
>> debconf: falling back to frontend: Teletype
>>
>> Setting up ca-certificates (20130906ubuntu0.12.04.1) ...
>> debconf: unable to initialize frontend: Dialog
>> debconf: (TERM is not set, so the dialog frontend is not usable.)
>> debconf: falling back to frontend: Readline
>> debconf: unable to initialize frontend: Readline
>> debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl
>> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
>> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
>> /usr/local/lib/site_perl .) at
>> /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
>> debconf: falling back to frontend: Teletype
>> 164 added, 0 removed; done.
>> done.
>> Setting up krb5-locales (1.10+dfsg~beta1-2ubuntu0.5) ...
>> Setting up openssh-client (1:5.9p1-5ubuntu1.4) ...
>> debconf: unable to initialize frontend: Dialog
>> debconf: (TERM is not set, so the dialog frontend is not usable.)
>> debconf: falling back to frontend: Readline
>> debconf: unable to initialize frontend: Readline
>> debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl
>> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
>> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
>> /usr/local/lib/site_perl .) at
>> /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
>> debconf: falling back to frontend: Teletype
>> Setting up wget (1.13.4-2ubuntu1.1) ...
>> Setting up xauth (1:1.0.6-1) ...
>> Setting up openssh-server (1:5.9p1-5ubuntu1.4) ...
>> debconf: unable to initialize frontend: Dialog
>> debconf: (TERM is not set, so the dialog frontend is not usable.)
>> debconf: falling back to frontend: Readline
>> debconf: unable to initialize frontend: Readline
>> debconf: (Can't locate Term/ReadLine.pm in @INC (@INC contains: /etc/perl
>> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
>> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
>> /usr/local/lib/site_perl .) at
>> /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
>> debconf: falling back to frontend: Teletype
>>
>> invoke-rc.d: policy-rc.d denied execution of stop.
>>
>> Looking forward to know what causes this issue.
>>
>> Thank you,
>>
>> --
>> *Vishanth Balasubramaniam*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94771737718*
>> about me: *http://about.me/vishanth <http://about.me/vishanth>*
>>
>>
>
>
> --
> *Sajith Kariyawasam*
>
>
> *Committer and PMC member, Apache Stratos,WSO2 Inc., http://wso2.com
> <http://wso2.com>AMIE (SL)Mobile: +94772269575*
>



-- 
Thushara Kasun Ranawaka
Software Engineer
WSO2 Inc.; <http://www.wso2.com>
lean.enterprise.middleware
Mobile : *+94 (0) 773438949*
*thusha...@wso2.com <thusha...@wso2.com>*

Reply via email to