problem in installing packages with apt-get/dpkg
I am writing a script for auto installation of deb packages required by
me.I wanted to do all installation in noninteracting mode,but for some
packages like samba,libnss-ldap,courier-base its not working.i have
tried following things
1.setting debconf frontend = noninteractive and priority = critical
eg: apt-get -c /etc/apt/apt.conf -y install samba
or
apt-get -o Dpkg::Pre-Install-pkgs {"/usr/sbin/dpkg-preconfigure --apt
--frontend=noninteractive --priority=critical"} -y install samba
2. i used dpkg --unpack samba-xx_i386.deb it worked but after that when
ever i use apt-get -y install <any package> then it will prompt for
configuration of unpacked packages (i.e in my case samba)
can any buddy help me out?
--
Shrikant Gangoda <shrikant@deeproot.co.in>
DeepRoot Linux Pvt. Ltd.
Reply to: