Bug#348513: [SPAM?]: Bug#348513: tetex-doc: tetexdoctk fails with "Couldn't open system-wide default config file texdocrc"
Joshua Lee <email@example.com> wrote:
>> I speculate that there is no file /etc/texdoctk/texdocrc. Since this
>> file is a conffile, removing and reinstalling won't restore it; instead
>> you need to purge and reinstall.
> apt-get remove --purge tetex-doc
> Removing tetex-doc ...
> mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
> mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFDIST-TETEX...
> mktexlsr: Updating /var/cache/fonts/ls-R...
> mktexlsr: Updating /var/lib/texmf/ls-R...
> mktexlsr: Done.
> rm: cannot remove `/var/lib/texmf/helpindex.html': No such file or
> dpkg: error processing tetex-doc (--purge):
> subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
> E: Sub-process /usr/bin/dpkg returned an error code (1)
Sorry, that bug was just reported yesterday, it's fixed in 3.0-13 which
is in incoming right now. If you want to work around it, simply touch
that file (as root, "touch /var/lib/texmf/helpindex.html").
>> Do you have an idea why the file was removed?
> That file? No, I didn't remove it. I removed some other files due to a
> message I read on google when I was trying to figure out how to fix it.
> That could be what's preventing me from removing it now.
Hm, probably not, it might be that the helpindex.html file simply hasn't
been created; it's a package bug. But something or someone must have
deleted /etc/texdoctk/texdocrc, and texdoctk won't run without it.
Purging/reinstalling should bring it back; or download the tetex-doc deb
file and install it with "dpkg --force-confmiss <deb-file>".
As for the segfault, this is a different thing, I'll write a separate
mail about that.
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)