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

using equivs to replace debian packages



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

- -- 
John_________________________________________________________________
email: john-debian@fjellstad.org        Quis custodiet ipsos custodes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iEYEARECAAYFAj+Pr8oACgkQkz0vhQtHHRhaPQCg0ZkOjzgyPfLP5b8VWftm8Ioc
DuMAmwYwaI7H/nMSEBVpDnPJzXibYe5l
=Oiea
-----END PGP SIGNATURE-----



Reply to: