I need to perform an installation of a package (mysql-server-5.1), but I do not want to interact for the definition of root password.

In bash the instruction is:

DEBIAN_FRONTEND = noninteractive /usr/bin/dpkg --configure mysql-server-5.1

I tried this in BitRock:

 <program> DEBIAN_FRONTEND = noninteractive dpkg </program>
 <programArguments> --configure mysql-server-5.1 </ProgramArguments> 

Without success!

Thank you in advance

asked 30 Jul '12, 04:51

mrinco's gravatar image

accept rate: 50%

You could use the below code:

   <programArguments>--configure mysql-server-5.1</ProgramArguments> 

Please note the <setEnvironmentVariable> action does not add the environment variable to the system, it simply defines it in the current process.


answered 30 Jul '12, 04:59

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

It's great, it works!

Thank you very much for the quick response.

(30 Jul '12, 05:19) mrinco
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 30 Jul '12, 04:51

Seen: 2,813 times

Last updated: 30 Jul '12, 08:15