Package: swisswatch
Version: 0.6-8
Severity: normal
Severity is probably "minor". (But it is "serious" if policy
says that purging a package must remove stuff like this).
Upgrading swisswatch from 0.6-7.1.1 to 0.6-8 does not deal properly with
the /usr/doc symlink. Consequently, when 0.6-8 is purged, there is a
broken symlink /usr/doc/swisswatch -> ../share/doc/swisswatch
Arguably this was a bug in the old-prerm, which should have said
if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
instead of simply
if [ "$1" = "remove" ]; then
So upgrading doesn't remove the link, but the upgraded package doesn't
know about the link any more. When swisswatch is now removed, the
broken link remains.
Suggested fix: add a suitable line to the preinst, something like
# clean up cruft from versions << 0.6-8
if [ -L /usr/doc/swisswatch ]; then
rm /usr/doc/swisswatch
fi
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages swisswatch depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]