reassign dash thanks It does purge here, with both dpkg and aptitude.
What shell are you using when seeing this? (The bug report indicates bash). Testing with dash, I notice that dash silently leaves the symlink in place [2]. Bash handles it ok. [3] and the postrm script itself is posixly correct as far as I can tell. [4]. Did you change /etc/udev/rules.d/z60_kvm.rules yourself? Is it still a symbolic link? > # dpkg --purge kvm > (Reading database ... 159148 files and directories currently installed.) > Removing kvm ... > Purging configuration files for kvm ... > # aptitude purge kvm > Reading package lists... Done > Building dependency tree... Done > Reading extended state information > Initializing package states... Done > Reading task descriptions... Done > Building tag database... Done > The following packages will be REMOVED: > kvm{p} > 0 packages upgraded, 0 newly installed, 1 to remove [...] > Need to get 0B of archives. After unpacking 1999kB will be freed. > Do you want to continue? [Y/n/?] > Writing extended state information... Done > (Reading database ... 159148 files and directories currently installed.) > Removing kvm ... > Purging configuration files for kvm ... [1] The postrm script in kvm_11-1 #!/bin/sh set -e # Automatically added by dh_installudev if [ "$1" = purge ]; then [ -L /etc/udev/rules.d/z60_kvm.rules ] && \ rm /etc/udev/rules.d/z60_kvm.rules fi # End automatically added section [2] > # dash > $ id > uid=0(root) gid=0(root) groups=0(root) > $ . ./postrm purge > $ echo $? > 0 > $ ls -l /etc/udev/rules.d/z60_kvm.rules > lrwxrwxrwx 1 root root 12 Jan 20 11:19 /etc/udev/rules.d/z60_kvm.rules > -> ../kvm.rules > $ cat postrm > #!/bin/sh > set -e > # Automatically added by dh_installudev > if [ "$1" = purge ]; then > [ -L /etc/udev/rules.d/z60_kvm.rules ] && \ > rm /etc/udev/rules.d/z60_kvm.rules > fi > # End automatically added section > $ exit [3] > # echo $SHELL > /bin/bash > # . ./postrm purge > # ls -l /etc/udev/rules.d/z60_kvm.rules > ls: /etc/udev/rules.d/z60_kvm.rules: No such file or directory [4] http://www.opengroup.org/onlinepubs/009695399/utilities/test.html -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]