Package: gaim Version: 1:1.1.4-2 Severity: normal The statement: if [ ! -h /usr/share/doc/gaim ]; then rmdir /usr/share/doc/gaim ...
evauluates to TRUE when /usr/share/doc/gaim doesn't exist. Therefore 'rmdir' is called and fails, and dpkg gives errors and the install stops. I think you can do what you intended with: if [ -d /usr/share/doc/gaim ]; then rmdir /usr/share/doc/gaim fi if [ ! -e /usr/share/doc/gaim ]; then ln -s gaim-data /usr/share/doc/gaim fi -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages gaim depends on: ii gaim-data 1:1.1.4-2 multi-protocol instant messaging c ii libao2 0.8.5-1 Cross Platform Audio Output Librar ii libaspell15 0.60.2+20050121-1 The GNU Aspell spell-checker runti ii libatk1.0-0 1.8.0-4 The ATK accessibility toolkit ii libaudiofile0 0.2.6-5 Open-source version of SGI's audio ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libgcrypt11 1.2.0-4 LGPL Crypto library - runtime libr ii libglib2.0-0 2.6.2-1 The GLib library of C routines ii libgnutls11 1.0.16-9 GNU TLS library - runtime library ii libgtk2.0-0 2.6.2-3 The GTK+ graphical user interface ii libgtkspell0 2.0.8-1 a spell-checking addon for GTK's T ii libice6 4.3.0.dfsg.1-10 Inter-Client Exchange library ii libpango1.0-0 1.8.0-3 Layout and rendering of internatio ii libsm6 4.3.0.dfsg.1-10 X Window System Session Management ii libstartup-notificatio 0.8-1 library for program launch feedbac ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]