using equivs to replace debian packages
-----BEGIN PGP SIGNED MESSAGE-----
I use equivs to replace debian packages, for lots of reasons (need a newer
version of a package, or in case of mta, I like to have better control of how
the qmail package is installed).
The problem is that the already installed debian package is not removed when I
try to install my debian package, and the system complains about conflicts.
For instance, I create my qmail package using the mta control file in
/usr/share/doc/equivs/examples. When I try to install the new qmail package,
it won't uninstall exim and install my qmail package. If I uninstall exim
first, then lots of other stuff gets uninstalled (mailx etc). Right now, I
do a force install on my qmail package, and then uninstall exim, which works,
but isn't an optimal way to do it.
What entries am I missing in the deb control file?
I try adding "Replaces" keyword, but it didn't have any effect.
email: firstname.lastname@example.org Quis custodiet ipsos custodes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
-----END PGP SIGNATURE-----