Late command is wonky too. I have to install it twice because the first one fails. This is what I have in my preseed/late_command script:
# sudo-ldap
SUDO_FORCE_REMOVE=yes
export SUDO_FORCE_REMOVE=yes
apt-get -y install sudo-ldap
# first attempt will fail on 10.04 so do it again
apt-get -y install sudo-ldap
Late command is wonky too. I have to install it twice because the first one fails. This is what I have in my preseed/ late_command script:
# sudo-ldap REMOVE= yes REMOVE= yes
SUDO_FORCE_
export SUDO_FORCE_
apt-get -y install sudo-ldap
# first attempt will fail on 10.04 so do it again
apt-get -y install sudo-ldap