Re: Ubuntu noninteractive aptitude mysql install

2009-10-13 Thread Chad Woolley
On Mon, Oct 12, 2009 at 7:09 PM, Daniel Burrows wrote: >  Maybe you could run pstree to find out what's generating that prompt? Thanks for the replies, Daniel. I'm positive it is the interactive mysql server password prompt causing the hang, every other apt package installs fine with this same a

Re: Ubuntu noninteractive aptitude mysql install

2009-10-12 Thread Daniel Burrows
On Mon, Oct 12, 2009 at 05:20:29PM -0700, Chad Woolley was heard to say: > On Sat, Oct 10, 2009 at 4:57 PM, Daniel Burrows wrote: > >  You're becoming root like this: > > > >    $ run "sudo su -c 'echo \"#{pw_file}\" > > > /var/cache/debconf/passwords.dat'" > > > >  It sounds like you're gettin

Re: Ubuntu noninteractive aptitude mysql install

2009-10-12 Thread Chad Woolley
On Sat, Oct 10, 2009 at 4:57 PM, Daniel Burrows wrote: > On Tue, Oct 06, 2009 at 09:42:57AM -0700, Chad Woolley > was heard to say: >> When scripting an aptitude install of mysql on ubuntu, how can I avoid >> blocking at aptitude's interactive root password prompt? > >  aptitude doesn't prompt f

Re: Ubuntu noninteractive aptitude mysql install

2009-10-10 Thread Daniel Burrows
On Tue, Oct 06, 2009 at 09:42:57AM -0700, Chad Woolley was heard to say: > When scripting an aptitude install of mysql on ubuntu, how can I avoid > blocking at aptitude's interactive root password prompt? aptitude doesn't prompt for a root password at the command line. > I tried the following

Ubuntu noninteractive aptitude mysql install

2009-10-06 Thread Chad Woolley
Hi, When scripting an aptitude install of mysql on ubuntu, how can I avoid blocking at aptitude's interactive root password prompt? I tried the following, but it doesn't work on when I run it on a clean EC2 image: http://github.com/thewoolleyman/rails/blob/master/ci/setup_rails_dependencies.rb#L