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

Bug#207874: libkpathsea3: cannot upgrade when /usr/doc symlink to /usr/share/doc



Package: libkpathsea3
Version: 2.0.2-4.2
Severity: normal

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
....



-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux scuzzie 2.4.21-rc7 #3 Tue Jun 10 14:54:56 EST 2003 i686
Locale: LANG=en_AU, LC_CTYPE=en_AU

Versions of packages libkpathsea3 depends on:
ii  libc6                         2.3.2-4    GNU C Library: Shared libraries an

-- no debconf information




Reply to: