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

Re: RETRACTED msql 2.0.3-4



-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 8 Jun 1998, Martin Schulze wrote:

> [...]
> Does anybody object?
> 
> The problem is that the _preinst_ might use the programs useradd and
> groupadd.  These are not in the base system nor essential.  They're
> included in the passwd package.  They might use configuration files
> that might not be configured when using a normal Dependency.
> 
> Is there another way to solve this?

Maybe there is another way: preinst could do a check to see whether the
programs and/or configuration files it needs are available or not and exit
with an error if that is not the case.

However, this would have almost exactly the same effect than a
Pre-Dependency (dpkg receives an error and it does not install the
package).

Perhaps the difference is that if you add a Pre-Depends, apt and
pkg-order will benefit from it, since they follow the optimal order, but
if the Pre-Dependency is done "by hand" in the preinst, they will
not benefit.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1

iQCVAgUBNXvGpiqK7IlOjMLFAQE80gP/bfU3g3Cb0cGCdR2dYf4VJuUf5VPeu8AM
CWdW1GN4A5ONOlQGiN1IcAoDL+4uS4nK0/tGqtuMjSkjxcqHeokA+1iX62G2r9qQ
Fo2yB2+p63M0xJI5FYHhbaE8IELxgrmXTUiwtGnRB+Uh7Cveaquzx9lHMroRzTNw
Xf4hhrzzTDA=
=RVsC
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: