Bug#50360: etc/dpkg not removed
On Tue, Nov 16, 1999 at 01:46:03PM -0500, Ben Collins wrote:
> On Tue, Nov 16, 1999 at 02:12:15PM -0500, Andrew Pimlott wrote:
> > When upgrading from dpkg 1.4.1.1 to dpkg 1.4.1.19:
> >
> > dpkg: warning - unable to delete old file '/tec/dpkg': Directory not empty
>
> This is not a bug. That is a conffile, and it wont be deleted unless you
> purge the package. This is the behavior for all packages.
I thought that since the conffile is not in the new package, and I never
modified it, it should be deleted by the upgrade. But what you say
makes some sense. I apologize if this is intended behavior.
It would be very nice if dpkg would suppress the warning when the only
things in the directory are conffiles (and directories). I think this
would make many more upgrades warning-free, which I hope is a goal.
Thanks for your reply,
Andrew
Reply to: