In a related manner, can I suggest that when apt-get is invoked with "-y", that means that the user really really wants the installer to proceed assuming yes, and without asking questions, and has probably written an unattended shell-script, which is not allowed to require user-interaction to confirm. In other words, the "-y" explicitly includes acceptance of the EULA.
(Under no circumstances is "apt-get -y" allowed to hang, wating for interactive input).
In a related manner, can I suggest that when apt-get is invoked with "-y", that means that the user really really wants the installer to proceed assuming yes, and without asking questions, and has probably written an unattended shell-script, which is not allowed to require user-interaction to confirm. In other words, the "-y" explicitly includes acceptance of the EULA.
(Under no circumstances is "apt-get -y" allowed to hang, wating for interactive input).
Workaround:
echo "ttf-mscorefont s-installer msttcorefonts/ accepted- mscorefonts- eula boolean true" | debconf- set-selections -installer
apt-get -y ttf-mscorefonts
Also, the installer does not fetch tahoma. However, the following script fragment will, I add it here in case it's useful:
echo "Installing Tahoma font" fonts/truetype/ msttcorefonts/ tahoma. ttf -o ! -f /usr/share/ fonts/truetype/ msttcorefonts/ tahomabd. ttf ] && download. microsoft. com/download/ ie6sp1/ finrel/ 6_sp1/W98NT42KM eXP/EN- US/IELPKTH. CAB && fonts/truetype/ msttcorefonts/ && fonts/truetype/ msttcorefonts/ && fonts/truetype/ msttcorefonts/ tahoma* &&
cd /tmp
which cabextract >/dev/null || apt-get -y install cabextract
[ ! -f /usr/share/
wget http://
cabextract -F 'tahoma*ttf' IELPKTH.CAB &&
mkdir -p /usr/share/
mv -f tahoma*ttf /usr/share/
chmod 644 /usr/share/
fc-cache && rm -f IELPKTH.CAB && echo "Installed Tahoma"
cd -
[I wrote this script, I just tested it successfully on Trusty, and I release it into the public domain]