[Tfug] Ubuntu noninteractive aptitude mysql install

Chad Woolley thewoolleyman at gmail.com
Thu Oct 1 00:16:14 MST 2009


Haven't followed this list in a while, but maybe you guys can help me.

When scripting an aptitude install of mysql on ubuntu, how can I avoid
blocking at aptitude's interactive root password prompt?

I tried this, 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#L26

Maddeningly, it works fine when I immediately do the same thing again.

Thanks,
-- Chad




More information about the tfug mailing list