When installing the acidbase package on Ubuntu Linux there are numerous popups that require answers. Some of those variables are covered in this article however there is one that when searching debconf selections for it isn’t listed with acidbase so it can be harder to locate. Below I display the popup in question and describe how to setup a debconf variable to get around it.
It can be useful to set temporary environment variables from the command line in Linux. Even more useful is the output of a long command being set to a single environment variable. Below I show an example of setting an environment variable followed by setting an environment variable to the output of a command or string of commands.
I find myself on a regular basis looking for various debconf variables to set before installing packages on Ubuntu. This is typically to not have to type in the answers on the various configuration screens or because I want to script an install of some package. If the package has never been installed before on that specific server then the debconf variables will not display. You can always login to another server where the package is installed to see the variables but I am going to start posting information for common packages here so others can easily find them when searching.
If you have used the debconf-set-selections command that I mentioned in a previous article there will likely be more questions that come up over time such as how to view variables that have been set for specific packages or how to flush the debconf database. Below I show a couple example that explain how to view variables in the debconf database and also how to remove those variables from the database.
If you need to complete an unattended installation or scripted install of MySQL On Ubuntu Linux you can do so easily by setting the necessary variable with debconf-set-selections. Typically when you install MySQL on Ubuntu it will pop up a window and ask for you to enter a password even when you have specified -y with apt-get install. Below are the commands necessary to set the password variable which then allow you to automatically install MySQL on Ubuntu.