On Fri, Nov 07, 2014 at 08:25:47PM -0400, Braiam Peguero wrote:
> Package: base-files
> Version: 7.10
> Severity: normal
> 
> Dear Maintainer,
> 
> While upgrading from 7.6 to 7.10, dpkg informs me
> that it tries to remove /mnt:
> 
> Unpacking base-files (7.10) over (7.6) ...
> dpkg: warning: unable to delete old directory '/mnt': Directory not empty
> 
> Why would base-files try to do that? I presume is related
> to some changes over the logic which /mnt is (re)created when
> installing base-files. [...]

Hi.

In addition to what I said in the closing message, the "low level"
explanation for that is the following:

When you upgrade a package, dpkg tries to remove directories in the
old package which are no longer in the new package.

Since you already upgraded your system, you can check that

dpkg -L base-files

does not include /mnt anymore, while previously it did.

This is the reason /mnt has to be recreated after the upgrade in case
it was empty and dpkg removed it.

Hope this helps.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to