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

Bug#382861: Updating Sarge teTeX to etch/sid TeX live ... help



> > Norbert suggested to delete /etc/texmf/fmt.d/00tex.cnf and
> > run update-fmtutil:
> > update-fmtutil: cannot read /etc/texmf/fmt.d/00tex.cnf
> 
> I don't think this was a good advice (or maybe he meant 00tetex.cnf?
> 01tetex.cnf? 

I suppose he meant 00tetex.cnf, so any stupidity is my fault, not his.

Since I had no 00tetex.cnf and I wasn't sure which file Norbert meant,
I moved 00tex.cnf away, ran update-fmtutil, and then moved 00tex.cnf
back. Just to make sure that this doesn't solve the problem.

So no harm done by this check.

> First of all, you need a 00tex.cnf.

Thanks, very kind of you.

>  I attach one.  Second, the
> attachments you made in the other mail show that it is 99postinst.cnf
> that causes your continued problems.

Thanks, this solved the problem.

> All these entries for mfw and mf come from teTeX in woody.  In other
> words, during the upgrade from woody to sarge, you have chosen to keep
> the settings for these four formats at their old values.

Not knowingly. As a user I have no idea to which settings the
setup program is referring, and of course I want to keep my
formats. If you see a message like this, then you assume that
the installation is aware of the installed formats and
programs and will upgrade them, but you wouldn't expect
that the installation procedure takes an old configuration
file and tries to build the formats regardless of whether
the programs/formats are installed or not.

> So this part of the bug seems to be not a bug, but a particular local
> configuration.  You can safely delete 99postinst.cnf, after that texlive
> should configure fine.

In my opinion it is a bug of tetex to leave a configuration file
behind that refers to non-installed programs (the list of formats is
no user setting but internal bookkeeping),
and it is a bug of texlive (at least of its transition
capabilities) to pay attention to this file.

I'm not sure whether there is an easy way to avoid this trap
without breaking something else, but I'm sure that there
will be more people like me having an old 99postinst.cnf:
In my case, I never wanted to install tetex, neither on woody
nor on sarge. But because of dependencies, some tetex-packages
were installed nevertheless, and then afterwards deleted
and even purged by me, but this file remained. So perhaps
texlive installation should try to cope with this particular
situation, e.g. by renaming or deleting 99postinst.sh
(with some heuristic checks of the contents).

Thanks a lot for your help,
   
Gernot

Attachment: pgpcwIlTadqo3.pgp
Description: PGP signature


Reply to: