Ubuntu noninteractive aptitude mysql install



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#L26

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

Thanks,
-- Chad


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: OT: Javascript regex Q
    ... quicker in your case. ... I came across this trying to rewrite my ad blocking list in a more elegant way, but couldn't see any obvious way to make it with one regex without blocking more than necessary. ... Eduardo M KALINOWSKI ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: nameserver issues involving *.debian.org
    ... to you like my ISP is blocking certain DNS queries? ... I can easily work around the issue by ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: LUKS/ dm-crypt/ ext4 appears to be single threaded
    ... usage to cyphers that can be hardware accelerated. ... But, the problem is processes with a long-lived writes blocking everything else, not encryption/ decryption speed. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Lenny, aptitude and md5som problems
    ... I get the same eroor with doc-linux-text. ... These errors are blocking ... any other upgrades, am I the only one seeing this? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)