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

Bug#206063: base-files - please remove unused /usr/{dict,info}

On Tue, 19 Aug 2003, Josip Rodin wrote:

> On Mon, Aug 18, 2003 at 04:57:54PM +0200, Santiago Vila wrote:
> > > Package: base-files
> > >
> > > please remove unused /usr/info and /usr/dict.
> Presumably directories?
> > But first dpkg should stop symlinking /usr/info to /usr/share/info,
> How does that conclusion follow?

Assuming that we don't want /usr/info to exist, if it's simply removed
from base-files then two different things may happen in an upgrade
from woody to sarge:

a) dpkg is upgraded first, the dir file is moved to /usr/share/dir
and a symlink is created, then base-files is upgraded, which removes
the symlink.

The desired effect would be achieved.

b) base-files is upgraded first, but since /usr/info is not empty, it's not
removed, then dpkg moves the dir file and creates a symlink.

The desired effect of not having /usr/info is not achieved.

I don't think it would be wise to let the result to depend on the
upgrade order. Instead, dpkg should stop creating the symlink for this
to work in a predictable way.

Reply to: