Mail Archives: djgpp/2000/06/20/15:54:28
> Date: Tue, 20 Jun 2000 20:53:43 +0200
> From: Laurynas Biveinis <lauras AT softhome DOT net>
>
> > It is not clear to me that this will not backfire. One problem is
> > that *.mft files name directories as well as files. You cannot safely
> > remove directories (because other packages might share them), but if
> > you leave them alone, you might end up with empty directories
> > cluttering the installation.
>
> Would removing only empty directories work better?
Probably, but to be sure, you would have to remember all the
directories you saw, then come back to them later when all the files
are already removed, and only then remove the empty directories, in a
bottom-up fashion. That's because a directory that is not empty when
you see its name may become empty later, when files in it are removed.
> > A similar situation is when installing one package requires removal of
> > a file from another package. An example is the lib/specs file
> > inconjunction with GCC installation.
>
> This kind of problem should, ideally, be solved in some
> other way, like deciding which one package should own the file.
> Of course, it may be not trivial.
It's not always possible to make this decision. And, of course, when
old decisions are changed, like in the case of lib/specs, you don't
have a choice but to put DSM to some real work. After all, that's
what the DSM was invented for, right?
- Raw text -