Bug#348513: tetex-doc: tetexdoctk fails with "Couldn't open system-wide default config file texdocrc"
On Tue, Jan 17, 2006 at 03:10:42PM +0100, Frank Küster wrote:
> Joshua Lee <joshua613@gmail.com> wrote:
>
> > Package: tetex-doc
> > Version: 3.0-11
> > Severity: important
> >
> > texdoctk says "Couldn't open system-wide default config file texdocrc."
> > then has a segmentation fault.
>
> If a perl script fails to open a file, it shouldn't give a *segfault*.
> Can you please send us the exact output?
Couldn't open system-wide default config file texdocrc.
Segmentation fault
This of course only appears if I run it in an xterm. If I run it from
the menu, it silently fails.
> > I've tried removing then reinstalling,
> > but that doesn't seem to help.
>
> What's the output of
>
> ls -l /etc/texdoctk/
total 32
-rw-r--r-- 1 root root 30134 2005-01-18 00:51 texdoctk.dat
> 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
directory
dpkg: error processing tetex-doc (--purge):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
tetex-doc
E: Sub-process /usr/bin/dpkg returned an error code (1)
> 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.
Reply to: