Bug#219543: Error installing xdm.
I'm getting the same install error on "testing":
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up xdm (4.2.1-12.1) ...
basename: too few arguments
Try `basename --help' for more information.
dpkg: error processing xdm (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
[David Keegan email@example.com 353 1 2988743]
[56 Roebuck Downs Dublin 14 IRELAND]