Kumar Appaiah <[EMAIL PROTECTED]> writes: > On Thu, Dec 06, 2007 at 10:12:31PM -0800, Russ Allbery wrote:
> The relevant part of the log is this: > 3m9.8s ERROR: Package purging left files on system: > /etc/openafs owned by: openafs-client, openafs-fileserver Yeah, I did see that, but it didn't make any sense, since that's a directory owned by the package (dpkg -c shows it in the Debian package, and dpkg -L will show it as owned by the package). Looks like piuparts wasn't at all at fault here -- I was too quick to blame it! I apologize for that. I was assuming that it wasn't showing the full contents of the directory, but apparently something stranger is happening. > [(sid)[EMAIL PROTECTED] ~] sudo dpkg --purge openafs-client > (Reading database ... 25464 files and directories currently installed.) > Removing openafs-client ... > Purging configuration files for openafs-client ... > dpkg - warning: while removing openafs-client, directory `/etc/openafs' not > empty so not removed. This is expected, since /etc/openafs/server still exists at this point since it's in the openafs-fileserver package. > [(sid)[EMAIL PROTECTED] ~] sudo dpkg --purge openafs-fileserver > (Reading database ... 25461 files and directories currently installed.) > Removing openafs-fileserver ... > Purging configuration files for openafs-fileserver ... > dpkg - warning: while removing openafs-fileserver, directory > `/var/lib/openafs' not empty so not removed. > dpkg - warning: while removing openafs-fileserver, directory > `/var/log/openafs' not empty so not removed. > [(sid)[EMAIL PROTECTED] ~] ls /etc/openafs > <blank> However, here, dpkg didn't remove /etc/openafs, even though it's empty and part of the openafs-fileserver package. Nor did it warn that it wasn't removing it because it wasn't empty. It looks to me like you've uncovered a bug in dpkg. I don't see any way that this should be fixed in the openafs-fileserver package; it's dpkg's responsibility to remove directories that are part of a package that's being purged, surely? But maybe I'm still misunderstanding something? -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]