Bug#261090: misleading behavior of dpkg
Version: 1.9.21 (i386)
Seems that dpkg cannot tell the difference between a non-existant and a
brat_bori:/home/leszek$ dselect --expert
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 10.1MB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 51775 files and directories currently installed.)
Removing xfce ...
dpkg - warning: while removing xfce, directory `/etc/X11/xfce' not empty
so not removed.
Purging configuration files for xfce ...
Do you want to erase any previously downloaded .deb files? [Y/n]
Press enter to continue.
brat_bori:/home/leszek$ cd /etc/X11/xfce
bash: cd: /etc/X11/xfce: No such file or directory
dpkg warns about not being able to remove '/etc/X11/xfce' because it is
not empty, while the directory does not exist at all. IMHO, it would be
much better if dpkg would report such failures *only* when the dir is