[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#245599: tetex-bin: mpost always fails with "Fatal mem file error; I'm stymied"



On 23.05.04 Seth LaForge (sethml@ofb.net) wrote:

Hi,

> I tried installing tetex-extra, and mpost still doesn't work:
> 
> % mpost foo
> This is MetaPost, Version 0.641 (Web2C 7.4.5)
> (Fatal mem file error; I'm stymied)
> % dpkg -l 'tetex*'
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name           Version        Description
> +++-==============-==============-============================================
> ii  tetex-base     2.0.2-7        Basic library files of teTeX
> ii  tetex-bin      2.0.2-13       The teTeX binary files
> ii  tetex-extra    2.0.2-7        Additional library files of teTeX
> 
> So to me this seems to be an actual bug, not a packaging split issue.
> Please let me know if you need more details.
> 
I had only a short view into the changelog of tetex-base. We do
remove formats, which were built during postinst of tetex-extra. So
they should be regenerated during configure of a new tetex-extra.

tetex-base (1.0.2+20021025-4) unstable; urgency=low

  * Removed FMT files when tetex-extra would be removed. Note,
    obsolete omaga.fmt and lambda.fmt would be removed with preinst
    of tetex-bin.  [kohda] (Closes: #45930)
 
 -- Atsuhito KOHDA <kohda@debian.org>  Wed, 18 Dec 2002 07:50:57 +0900

I believe you had before an tetex-extra below that version on your
HD. That tetex-extra were upgraded and didn't remove the formats
during postrm. The new tetex-extra calls fmtutil --missing, but
doesn't do anything. So mpost tries to read the old mem-file. I
didn't have a look at #45930, but I guess it is that one you see
here.
Try to call /var/lib/dpkg/info/tetex-extra.postrm remove and then
/var/lib/dpkg/info/tetex-extra.postinst configure .

> If the issue is that tetex-extra needs to be installed (which I'm
> no longer convinced of), then the package description for tetex-bin
> should mention that the user will have to install tetex-extra to
> make mpost work; otherwise you're likely to get a lot more bug
> reports and frustrated users one sarge is released.
> 
Well, we could think about that. There are other programs, which
needs tetex-extra -- patch attached.

H. 
-- 
sigmentation fault
--- control.orig	Tue May 25 09:27:25 2004
+++ control	Tue May 25 09:33:26 2004
@@ -25,6 +25,9 @@
  and xdvi, conversion tools and some tools for maintaining your teTeX
  system. Also included are man pages and info files about these
  programs.
+ .
+ Lambda, Omega, MetaPost, MetaFun and AmSTeX won't work without
+ having tetex-extra installed.
 
 Package: libkpathsea3
 Section: libs

Reply to: