The package fails to install, but marks itself as having been installed, and
then continues to cause errors.

The install output is:

r...@bill-ubuntu-main:/home/bill# apt-get install ttf-mathematica4.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
ttf-mathematica4.1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up ttf-mathematica4.1 (4) ...
--2009-04-29 12:47:06--
http://support.wolfram.com/mathematica/systems/windows/general/files/MathFonts_TrueType_41.exe
Resolving support.wolfram.com... 140.177.205.40
Connecting to support.wolfram.com|140.177.205.40|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://support.wolfram.com/ [following]
--2009-04-29 12:47:06--  http://support.wolfram.com/
Connecting to support.wolfram.com|140.177.205.40|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `./index.html'

    [  <=>                                  ] 26,408      84.6K/s   in
0.3s

2009-04-29 12:47:06 (84.6 KB/s) - `./index.html' saved [26408]

checking MathFonts_TrueType_41.exe
Downloaded file looks corrupted!
dpkg: error processing ttf-mathematica4.1 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 ttf-mathematica4.1
E: Sub-process /usr/bin/dpkg returned an error code (1)


The output when I try to remove it is:

r...@bill-ubuntu-main:/home/bill# apt-get remove ttf-mathematica4.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ttf-mathematica4.1
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 106kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 178892 files and directories currently installed.)
Removing ttf-mathematica4.1 ...
W: /usr/share/fonts/truetype/mathml/math4b__.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math1b__.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math2b__.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math3b__.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math3m__.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math4mb_.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math3___.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math1___.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math2mb_.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math2m__.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math4___.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math1mb_.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math2___.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math4m__.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math3mb_.ttf: not registered.
W: /usr/share/fonts/truetype/mathml/math1m__.ttf: not registered.
dpkg: error processing ttf-mathematica4.1 (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 ttf-mathematica4.1
E: Sub-process /usr/bin/dpkg returned an error code (1)


This package needs to be fixed so that it cleans up after itself properly
when the downloaded file fails.


Bill Heideman
wdheide...@gmail.com
-- 
Ubuntu-motu mailing list
Ubuntu-motu@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-motu

Reply via email to