[Bug 1222654] Re: package ttf-mscorefonts-installer fails to install/upgrade, left in a half configured state

RichardNeill ubuntu at richardneill.org
Wed Aug 6 15:47:06 UTC 2014


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
Foundations Bugs, which is subscribed to msttcorefonts in Ubuntu.
https://bugs.launchpad.net/bugs/1222654

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

Status in “msttcorefonts” package in Ubuntu:
  Confirmed

Bug description:
  There are many bugs which are very similar, although the exact details
  of version and error message might change, in the end they all boil
  down to ttf-mscorefonts-installer being in a broken state from which
  it's hard to recover.

  ttf-mscorefonts-installer needs to be made more reliable so that a
  failure to accept the license doesn't cause a very-hard-to-recover-
  from situation.

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



More information about the foundations-bugs mailing list