Package: emacs22
Version: 22.3+1-1.1
Severity: normal

I recently removed emacs21.  I just discovered it did half the job in
postrm (removed /usr/local/share/emacs/21.4) but left a dangling
symlink behind :(

         /usr/local/share/emacs/site-lisp -> 21.4/site-lisp

Neither emacs22-common.postinst nor emacs23-common.postinst detect that,
and happily consider creating that directory already done:

        if mkdir ${parentdir}/${newdir} 2>/dev/null
        then
                chown root:staff ${parentdir}/${newdir}
                chmod 2775 ${parentdir}/${newdir}
        fi

Now, that's obviously not useful.  Should probably 'readlink -e' to
detect and inform about errors.

I manually removed the dangling symlink, re-run the postinst and no
longer see the nagging warning.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages emacs22 depends on:
ii  emacs22-bin-common     22.3+1-1.1        The GNU Emacs editor's shared, arc
ii  install-info           4.13a.dfsg.1-5    Manage installed documentation in
ii  libasound2             1.0.21a-1         shared library for ALSA applicatio
ii  libc6                  2.9-27            GNU C Library: Shared libraries
ii  libgif4                4.1.6-8           library for GIF images (library)
ii  libice6                2:1.0.5-1         X11 Inter-Client Exchange library
ii  libjpeg62              6b-15             The Independent JPEG Group's JPEG
ii  libncurses5            5.7+20090803-2    shared libraries for terminal hand
ii  libpng12-0             1.2.40-1          PNG library - runtime
ii  libsm6                 2:1.1.1-1         X11 Session Management library
ii  libtiff4               3.9.1-1           Tag Image File Format (TIFF) libra
ii  libx11-6               2:1.2.2-1         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxmu6                2:1.0.4-2         X11 miscellaneous utility library
ii  libxpm4                1:3.5.7-2         X11 pixmap library
ii  libxt6                 1:1.0.6-1         X11 toolkit intrinsics library
ii  xaw3dg                 1.5+E-17          Xaw3d widget set
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

emacs22 recommends no packages.

Versions of packages emacs22 suggests:
ii  emacs22-common-non-dfsg       22.3+1-1   GNU Emacs shared, architecture ind

-- no debconf information


Cheers,

-- 
Cristian



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to