The package fails to install, but marks itself as having been installed, and then continues to cause errors.<br><br>The install output is:<br><br>root@bill-ubuntu-main:/home/bill# apt-get install ttf-mathematica4.1<br>Reading package lists... Done<br>
Building dependency tree       <br>Reading state information... Done<br>ttf-mathematica4.1 is already the newest version.<br>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>1 not fully installed or removed.<br>
After this operation, 0B of additional disk space will be used.<br>Setting up ttf-mathematica4.1 (4) ...<br>--2009-04-29 12:47:06--  <a href="http://support.wolfram.com/mathematica/systems/windows/general/files/MathFonts_TrueType_41.exe">http://support.wolfram.com/mathematica/systems/windows/general/files/MathFonts_TrueType_41.exe</a><br>
Resolving support.wolfram.com... 140.177.205.40<br>Connecting to <a href="http://support.wolfram.com">support.wolfram.com</a>|140.177.205.40|:80... connected.<br>HTTP request sent, awaiting response... 301 Moved Permanently<br>
Location: <a href="http://support.wolfram.com/">http://support.wolfram.com/</a> [following]<br>--2009-04-29 12:47:06--  <a href="http://support.wolfram.com/">http://support.wolfram.com/</a><br>Connecting to <a href="http://support.wolfram.com">support.wolfram.com</a>|140.177.205.40|:80... connected.<br>
HTTP request sent, awaiting response... 200 OK<br>Length: unspecified [text/html]<br>Saving to: `./index.html&#39;<br><br>    [  &lt;=&gt;                                  ] 26,408      84.6K/s   in 0.3s    <br><br>2009-04-29 12:47:06 (84.6 KB/s) - `./index.html&#39; saved [26408]<br>
<br>checking MathFonts_TrueType_41.exe<br>Downloaded file looks corrupted!<br>dpkg: error processing ttf-mathematica4.1 (--configure):<br> subprocess post-installation script returned error exit status 1<br>Errors were encountered while processing:<br>
 ttf-mathematica4.1<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br><br><br>The output when I try to remove it is:<br><br>root@bill-ubuntu-main:/home/bill# apt-get remove ttf-mathematica4.1<br>Reading package lists... Done<br>
Building dependency tree       <br>Reading state information... Done<br>The following packages will be REMOVED:<br>  ttf-mathematica4.1<br>0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.<br>1 not fully installed or removed.<br>
After this operation, 106kB disk space will be freed.<br>Do you want to continue [Y/n]? y<br>(Reading database ... 178892 files and directories currently installed.)<br>Removing ttf-mathematica4.1 ...<br>W: /usr/share/fonts/truetype/mathml/math4b__.ttf: not registered.<br>
W: /usr/share/fonts/truetype/mathml/math1b__.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math2b__.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math3b__.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math3m__.ttf: not registered.<br>
W: /usr/share/fonts/truetype/mathml/math4mb_.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math3___.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math1___.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math2mb_.ttf: not registered.<br>
W: /usr/share/fonts/truetype/mathml/math2m__.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math4___.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math1mb_.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math2___.ttf: not registered.<br>
W: /usr/share/fonts/truetype/mathml/math4m__.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math3mb_.ttf: not registered.<br>W: /usr/share/fonts/truetype/mathml/math1m__.ttf: not registered.<br>dpkg: error processing ttf-mathematica4.1 (--remove):<br>
 subprocess pre-removal script returned error exit status 1<br>Errors were encountered while processing:<br> ttf-mathematica4.1<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br><br><br>This package needs to be fixed so that it cleans up after itself properly when the downloaded file fails.<br>
<br><br>Bill Heideman<br><a href="mailto:wdheideman@gmail.com">wdheideman@gmail.com</a><br>