Thomas Koenig writes ("Bug#4202: dpkg chainsaw massacre"): ... > When I tried to test-install the package, there were a few warnings, > but dpkg happily overwrote /usr/lib with that particular text file. > I'll eagerly await what fsck has to say about this.
My apologies. I have fixed this in dpkg 1.3.9, which I'll release shortly. It will now only replace a directory hierarchy with a file if the directory hierarchy is from a previous instance of the same package, and isn't anywhere else. You can force it to go ahead anyway with --force-overwrite-dir, but you don't want to :-) (and it's not enabled by default, unlike ordinary --force-overwrite). Ian.