[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/local in some packages



On Tue, 29 Sep 1998, Herbert Xu wrote:

> After purging emacs today, the damn thing deleted my /usr/local symlink since
> it was the last package to have /usr/local in it.  Obviously this is not very
> clever.

Would have this happened if base-files contained /usr/local as an empty
directory?

Since dpkg follows symlinks, you would be able to remove /usr/local,
create a symlinks, and you would be still able to upgrade base-files
without problems.

Also, in the case /usr/local is a read-only partition, would dpkg give
an error when "overwriting" (overlapping, really) an empty directory by
the one provided in the package?

If not, I think this could be a solution to this problem.

-- 
 "da5756474c9bb42366c62ebc9b970ab7" (a truly random sig)


Reply to: