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

Bug#613013: luatex: fails to upgrade in absence of fmtutil.cnf



On Sat, Feb 12, 2011 at 10:36:37PM +0900, Norbert Preining wrote:

> On Sa, 12 Feb 2011, Lionel Elie Mamane wrote:
>> Setting up luatex (0.60.2-1) ...
>> Building format(s) --byengine luatex.
>> 	This may take some time... 
>> fmtutil-sys failed. Output has been stored in
>> /tmp/fmtutil.GqN8HXC0
>> Please include this file if you report a bug.

>> That file contains:

>> /usr/bin/fmtutil: line 362: /usr/share/texmf/texconfig/tcfmgr: No such file or directory
>> fmtutil: config file `fmtutil.cnf' not found.

> tcfmgr is in texlive-base, the postinst of luatex checkes that texlive-base
> is installed and configured:
> and only if it is installed and configured the fmtutil-sys call is
> run.

Well, then tcfmgr was there, but not functional. Possibly this is a
lack of robustness combined with Bug#612924. Another theory is that
maybe luatex was caught at the wrong point in the migration between
the lenny texlive-base-bin and the squeeze texlive-base, which seems
to contain the former contents of texlive-base. In that case, luatex
would have to check not only that texlive-base (any version) is
installed, but something along the lines of:

 - texlive-base-bin & texlive-base lenny version installed &
   configured (or any version between lenny and whichever that did the
   switchover)
OR
 - textlive-base squeeze version installed & configured (or any
   version between squeeze and the older version that did the switchover)

Here is an abstract from dpkg.log:
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:15 status installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:16 remove texlive-base-bin 2007.dfsg.2-4+lenny3 2007.dfsg.2-4+lenny3
2011-02-12 09:22:16 status half-configured texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:16 status half-installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:16 status triggers-pending man-db 2.5.2-4
2011-02-12 09:22:16 status half-installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:16 status triggers-pending menu 2.1.44
2011-02-12 09:22:16 status half-installed texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:18 status triggers-awaited menu 2.1.44
2011-02-12 09:22:18 status config-files texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:18 purge texlive-base-bin 2007.dfsg.2-4+lenny3 2007.dfsg.2-4+lenny3
2011-02-12 09:22:18 status config-files texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:18 status config-files texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:18 status config-files texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:18 status config-files texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:18 status config-files texlive-base-bin 2007.dfsg.2-4+lenny3
2011-02-12 09:22:18 status not-installed texlive-base-bin <none>
2011-02-12 09:22:18 trigproc man-db 2.5.2-4 2.5.2-4
2011-02-12 09:22:18 status half-configured man-db 2.5.2-4
2011-02-12 09:22:19 status installed man-db 2.5.2-4
2011-02-12 09:22:19 trigproc menu 2.1.44 2.1.44
2011-02-12 09:22:19 status half-configured menu 2.1.44
2011-02-12 09:22:19 status installed menu 2.1.44
---------------> At this point texlive-base-bin is removed
2011-02-12 09:22:21 startup archives unpack
2011-02-12 09:22:21 upgrade texlive-base 2007.dfsg.2-1~lenny2 2009-11
2011-02-12 09:22:21 status half-configured texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:22:21 status unpacked texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:22:21 status half-installed texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:22:22 status triggers-pending menu 2.1.44
2011-02-12 09:22:22 status triggers-awaited menu 2.1.44
2011-02-12 09:22:22 status unpacked texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:22:23 status installed texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:22:23 install texlive-binaries <none> 2009-8
2011-02-12 09:22:23 status half-installed texlive-binaries 2009-8
2011-02-12 09:22:23 status triggers-pending man-db 2.5.2-4
2011-02-12 09:22:24 status half-installed texlive-binaries 2009-8
2011-02-12 09:22:24 status unpacked texlive-binaries 2009-8
2011-02-12 09:22:24 status unpacked texlive-binaries 2009-8
2011-02-12 09:22:24 upgrade tipa 2:1.3-12 2:1.3-14
2011-02-12 09:22:24 status half-configured tipa 2:1.3-12
2011-02-12 09:22:24 status unpacked tipa 2:1.3-12
2011-02-12 09:22:24 status half-installed tipa 2:1.3-12
2011-02-12 09:22:25 status half-installed tipa 2:1.3-12
2011-02-12 09:22:25 status unpacked tipa 2:1.3-14
2011-02-12 09:22:25 status unpacked tipa 2:1.3-14
----------------> it starts installing luatex,
----------------> but the installed & configured version of
----------------> texlive-base is the lenny one, WITHOUT texlive-base-bin
2011-02-12 09:22:25 install luatex <none> 0.60.2-1
2011-02-12 09:22:25 status half-installed luatex 0.60.2-1
2011-02-12 09:22:26 status triggers-pending doc-base 0.8.20
2011-02-12 09:22:26 status half-installed luatex 0.60.2-1
2011-02-12 09:22:26 status half-installed luatex 0.60.2-1
2011-02-12 09:22:26 status unpacked luatex 0.60.2-1
2011-02-12 09:22:26 status unpacked luatex 0.60.2-1
(...)
2011-02-12 09:24:19 configure luatex 0.60.2-1 0.60.2-1
2011-02-12 09:24:19 status unpacked luatex 0.60.2-1
2011-02-12 09:24:19 status half-configured luatex 0.60.2-1
(...)
2011-02-12 09:36:09 startup archives unpack
2011-02-12 09:36:09 upgrade texlive-base 2007.dfsg.2-1~lenny2 2009-11
2011-02-12 09:36:09 status half-configured texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:36:09 status unpacked texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:36:10 status half-installed texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:36:10 status triggers-pending menu 2.1.44
2011-02-12 09:36:10 status triggers-awaited menu 2.1.44
2011-02-12 09:36:10 status unpacked texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:36:11 trigproc menu 2.1.44 2.1.44
2011-02-12 09:36:11 status half-configured menu 2.1.44
2011-02-12 09:36:12 status installed menu 2.1.44
2011-02-12 09:36:13 startup packages configure
2011-02-12 09:36:13 configure luatex 0.60.2-1 0.60.2-1
2011-02-12 09:36:13 status half-configured luatex 0.60.2-1
2011-02-12 09:36:13 status installed luatex 0.60.2-1
2011-02-12 09:45:54 startup archives unpack
2011-02-12 09:45:54 upgrade texlive-base 2007.dfsg.2-1~lenny2 2009-11
2011-02-12 09:45:54 status half-installed texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:45:54 status triggers-pending menu 2.1.44
2011-02-12 09:45:54 status half-installed texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:45:55 status triggers-pending man-db 2.5.2-4
2011-02-12 09:45:55 status half-installed texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:45:56 status triggers-pending install-info 4.13a.dfsg.1-6
2011-02-12 09:45:56 status half-installed texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:45:56 status half-installed texlive-base 2007.dfsg.2-1~lenny2
2011-02-12 09:45:57 status unpacked texlive-base 2009-11
2011-02-12 09:45:57 status unpacked texlive-base 2009-11



Reply to: