Bug#207874: libkpathsea3: cannot upgrade when /usr/doc symlink to /usr/share/doc
On 30.08.03 Tim Connors (tconnors@astro.swin.edu.au) wrote:
Hi,
> The -e flag means that when rm -f returns 1 in libkpathsea3.postinst
> when it can't rm the directory (because /usr/doc/tetex-lib is a
> direcory, not a symlink, because I have symlinked /usr/share/doc back
> to the old /usr/doc (which I prefer)). This breaks no other packages,
> so I presume it is a libkpathsea3 bug.
>
> A simple workaround for me was just to remove the -e flag to sh.
>
> #!/bin/sh
>
> if [ "$1" = "configure" ]; then
> ldconfig
> fi
>
> rm -f /usr/doc/tetex-lib
> ....
>
That bug has the tag wontfix. Another simple approach would be to
remove the offending code now and then close that bug. The tetex-lib
-> libkpathsea transition should be over for a while now:
tetex-bin (1.0.7+20000807-6) unstable; urgency=low
* rename tetex-lib to libkpathsea3 (closes: #69421, #78741)
-- Christoph Martin <christoph.martin <at> uni-mainz.de> Sun, 10 Dec 2000 16:46:55 +0100
H.
--
sigmentation fault
Reply to: