Updating basictex did not trigger format rebuild

Norbert Preining preining at logic.at
Sat Oct 12 01:09:14 CEST 2019


Hi Karl,

@Dick: suggested solution at the end.

> P.S. Or, actually, ignore that. I think I'm totally wrong. The option is
> about format creation at install time, not updates.

No, you are not wrong. This options disables updates of formats also in
the running system:
tlmgr.pl l.938ff

    my $opt_fmt = $localtlpdb->option("create_formats");
    ...
    if ($opt_fmt && !$::regenerate_all_formats) {
      # first regenerate all formats --byengine
      ...
      # now rebuild all other formats
      ...
    }


> Also, another TL user reported the same problem of latex formats not
> being rebuilt. I guess we are somehow missing a dependency for
> rebuilding latex, despite all my efforts in that regard.

I just reduced the revision for latex package in my tlpdb and
run tlmgr update --all:
$ tlmgr update --all
tlmgr: package repositories
	main = /home/norbert/public_html/tlnet (verified)
	tltexjp = /home/norbert/public_html/tltexjp (verified)
	tlcritical = /home/norbert/public_html/tlcritical (verified)
	tlcontrib = /home/norbert/Domains/server/texlive.info/contrib/2019 (verified)
tlmgr: saving backups to /home/norbert/tl/2019/tlpkg/backups
[1/1, ??:??/??:??] update: latex [16812k] (5228 -> 52286 at main) ... done
running mktexlsr ...
done running mktexlsr.
running mtxrun --generate ...
done running mtxrun --generate.
regenerating fmtutil.cnf in /home/norbert/tl/2019/texmf-dist
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt pdflatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt pdflatex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt pdfxmltex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt pdfxmltex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt xelatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt xelatex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt uplatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt uplatex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt cslatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt cslatex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt lamed ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt lamed.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt platex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt platex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt dvilualatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt dvilualatex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt lualatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt lualatex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt mllatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt mllatex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt pdfjadetex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt pdfjadetex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt xmltex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt xmltex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt latex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt latex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt pdfcslatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt pdfcslatex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt jadetex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt jadetex.
tlmgr: package log updated: /home/norbert/tl/2019/texmf-var/web2c/tlmgr.log
$


I don't see a reason why formats are not rebuild, and I need to see the
actual invocation of the update with output.


So simplest solution for BasicTeX: Before moving the TL directory change
the tlpdb variable again (sed should be fine, or a call to the installed
tlmgr).
	sed -i -s 's/depend opt_create_formats:0/depend opt_create_formats:1/' path/to/texlive.tlpdb


Best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tex-live mailing list