[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem in installing packages with apt-get/dpkg



Hi,

automatic apt-get installs work fine, using the following script:

DEBIAN_FRONTEND=noninteractive
export DEBIAN_FRONTEND
(
    # some examples for debconf answers
    # note: use single tabs between the fields!
    echo "samba samba/generate_smbpasswd boolean true"
    echo "samba samba/run_mode select inetd"
    echo "samba-common samba-common/dhcp boolean true"
) | debconf-set-selections
apt-get install --assume-yes --quiet samba ...

Look into the manual pages of debconf-get-selections
and debconf-get-selections.

Cheers, WB



Reply to: