On Sat, Nov 17, 2001 at 01:38:08PM +0100, Vincent Bourgonjen wrote: > Hi > > As requested ... :) > > ----------8<---------- > Setting up xlibs (4.1.0-9) ... > Analyzing /usr/X11R6/lib/X11/app-defaults: > drwxr-xr-x 14 root root 1024 Nov 16 17:06 /usr > drwxr-xr-x 7 root root 1024 Mar 21 1999 /usr/X11R6 > drwxr-xr-x 8 root root 4096 Nov 16 17:06 /usr/X11R6/lib > drwxr-xr-x 32 root root 2048 Nov 16 19:16 /usr/X11R6/lib/X11 > drwxr-xr-x 2 root root 1024 Nov 16 19:16 /usr/X11R6/lib/X11/app-defaults > ERROR: /usr/X11R6/lib/X11/app-defaults is not a symbolic link. The package > preinst script should have failed. > Please report the package name, version, and the text of the above error > message(s) to <debian-x@lists.debian.org>. > dpkg: error processing xlibs (--configure): > subprocess post-installation script returned error exit status 1 > ----------8<---------- So, anyone know why the following code in the preinst wouldn't do its job?: if [ "$1" = "install" -o "$1" = "upgrade" ]; then # app-defaults and xkb directories moved in 4.0 for DIR in app-defaults xkb; do if [ -e /usr/X11R6/lib/X11/$DIR -a ! -L /usr/X11R6/lib/X11/$DIR ]; then message "Note: Removing obsolete /usr/X11R6/lib/X11/$DIR directory." mv /usr/X11R6/lib/X11/$DIR /usr/X11R6/lib/X11/$DIR.moved-by-preinst fi done fi Sure looks like it "exists" and "is not a symbolic link" to me... -- G. Branden Robinson | To stay young requires unceasing Debian GNU/Linux | cultivation of the ability to branden@debian.org | unlearn old falsehoods. http://people.debian.org/~branden/ | -- Robert Heinlein
Attachment:
pgprrRhGlqAYc.pgp
Description: PGP signature