Bug#542400: Unable to remove package, post removal script fails

dEbian Bugs RC

Package: fglrx-glx
Version: 1:9-7-2
Severity: serious

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
fglrx-glx
0 upgraded, 0 newly installed, 1 to remove and 26 not upgraded.
1 not fully installed or removed.
After this operation, 659kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 145456 files and directories currently installed.)
Removing fglrx-glx ...
Removing `diversion of /usr/lib/xorg/modules/extensions/libdri.so to /usr/lib/fglrx/diversions/libdri.so by fglrx-driver'
dpkg: error processing fglrx-glx (--remove):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
fglrx-glx
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fglrx-glx depends on:
ii fglrx-driver 1:9-7-2 non-free AMD/ATI r6xx - r7xx displ
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar

Versions of packages fglrx-glx recommends:
pn ia32-apt-get <none> (no description available)
pn ia32-fglrx-glx <none> (no description available)

fglrx-glx suggests no packages.
Hi,

may you please retest it with 9-8-1? The diversion handling has been
changed there..