yuhanz
April 18th, 2011, 07:44 PM
Hi all,
I am writing a .sh script to automate the installation process using debconf-set-selections. it passes most of the installation steps without asking questions. However, it still brings up a blue screen asking ok confirmation to restart some services for libpam0g.
Here are the debconf-set-selections parameters that I set (I got them by "debconf-get-selections |grep ^libpam0g" from the terminal).
export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical
sudo echo "libpam0g libpam0g/restart-services string exim4 cron" | debconf-set-selections
sudo echo "libpam0g libpam0g/xdm-needs-restart error" | debconf-set-selections
sudo echo "libpam0g libpam0g/restart-failed error" | debconf-set-selections
DEBIAN_FRONTEND=noninteractive sudo apt-get update -f -y --force-yes --quiet --yes
DEBIAN_FRONTEND=noninteractive sudo apt-get upgrade -f -y --force-yes --quiet --yes
Is there anything missing? :confused:
Thank you.
I am writing a .sh script to automate the installation process using debconf-set-selections. it passes most of the installation steps without asking questions. However, it still brings up a blue screen asking ok confirmation to restart some services for libpam0g.
Here are the debconf-set-selections parameters that I set (I got them by "debconf-get-selections |grep ^libpam0g" from the terminal).
export DEBIAN_FRONTEND=noninteractive
export DEBIAN_PRIORITY=critical
sudo echo "libpam0g libpam0g/restart-services string exim4 cron" | debconf-set-selections
sudo echo "libpam0g libpam0g/xdm-needs-restart error" | debconf-set-selections
sudo echo "libpam0g libpam0g/restart-failed error" | debconf-set-selections
DEBIAN_FRONTEND=noninteractive sudo apt-get update -f -y --force-yes --quiet --yes
DEBIAN_FRONTEND=noninteractive sudo apt-get upgrade -f -y --force-yes --quiet --yes
Is there anything missing? :confused:
Thank you.