On Thu, Sep 16, 1999 at 12:51:16PM +0200, Laurent Martelli wrote: > >>>>> "SB" == Stephane Bortzmeyer <[EMAIL PROTECTED]> writes: > > SB> On Thursday 16 September 1999, at 2 h 3, the keyboard of Laurent > SB> Martelli <[EMAIL PROTECTED]> wrote: > > >> very nice, but how will uninstallation be handled ? Will you be > >> able to uninstall all the packages of a metapackage in one step ? > > SB> Certainly not: > > SB> - a package can be a member of several meta-packages, > > We could state that the default is not to remove a package as long as > it belongs to a metapackage. > > SB> - a package could have been installed before (and independently > SB> of) a metapackage which includes it). > > That could be tracked during the installation of the metapackage. It > would know what packages were already installed before. Then when you > want to remove the metapackage, you could say "only remove packages > that were installed by the metapackage" or "remove all packages, > regardless of when they were installed". > > -- > Laurent Martelli > [EMAIL PROTECTED] >
What should be good is a new state saying that a package has been install by the dependencies check rather than by user direct selection. So, the package will stay as long as it resolved a dependency, but be remove when no more package who depends on it is install, on a dpkg --remove --pending. How sould we implement it? That's the big discussion: IMHO, this should be add to dpkg along with hold, installed, upgrade, purge, etc. Other think that dpkg is not the right tool for such a feature and this should be handle by apt. Just my 2 pennies. -- ------------------------------------------------------------------------ Fabien Ninoles Chevalier servant de la Dame Catherine des Rosiers aka Corbeau aka le Veneur Gris Debian GNU/Linux maintainer E-mail: [EMAIL PROTECTED] WebPage: http://www.tzone.org/~fabien RSA PGP KEY [E3723845]: 1C C1 4F A6 EE E5 4D 99 4F 80 2D 2D 1F 85 C1 70 ------------------------------------------------------------------------