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-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean 
true" | debconf-set-selections
apt-get -y  ttf-mscorefonts-installer


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"
cd /tmp
which cabextract >/dev/null || apt-get -y install cabextract
[ ! -f /usr/share/fonts/truetype/msttcorefonts/tahoma.ttf -o ! -f 
/usr/share/fonts/truetype/msttcorefonts/tahomabd.ttf ] &&
wget 
http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/IELPKTH.CAB
 &&
cabextract -F 'tahoma*ttf' IELPKTH.CAB &&  
mkdir -p /usr/share/fonts/truetype/msttcorefonts/ &&  
mv -f tahoma*ttf /usr/share/fonts/truetype/msttcorefonts/  && 
 chmod 644 /usr/share/fonts/truetype/msttcorefonts/tahoma*  &&
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]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1222654

Title:
  package ttf-mscorefonts-installer fails to install/upgrade, left in a
  half configured state

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/1222654/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to