On Mon, 06 Feb 2006 07:22:26 +0100 Robert Waldner <waldner@waldner.priv.at> wrote: > > On Sat, 04 Feb 2006 19:30:02 PST, Andrew Sackville-West writes: > >> On one of my Sarge boxes, when I try an aptitude dist-upgrade, it wants > >> to remove postfix and install exim instead. Now I don't have anything > >> against exim in particular, I just don't want it on my box ;) > > > try man apt_preferences. I think you can just pin exim4 to <0 and > > that'll prevent it from being installed, which should subsequently > > prevent postfix from being removed. > > Thanks, I pinned exim* to -1 and postfix* to 1001, but still aptitude > wants to install exim instead of postfix. > > >Also, maybe you have postfix as > > part of an old meta package and the meta package has been changed to > > include exim4 (the current default mailer for debian) and so that is > > the source of your problem. If you remove that meta-package (if it > > exists) then maybe that will prevent this problem. > > I installed postfix right after installation myself, so it didn't get > on as a dependency, BTW. apt-cache policy exim4* shows that it conflicts and replaces any mail-transfer-agent, so the dist-upgrade will do that and there's no way around it I know of. I'm no apt- guru by any stretch, but you could --- remove (not purge!) postfix, dist-upgrade, and the install postfix. Thats three steps versus: dist-upgrade, remove exim4, install postfix. 3 steps. as long as you don't purge anything, your configs will remain (you might back them up just in case) and you should be running fine afterwards. ymmv. A > > cheers, > &rw > -- > -- "Let's get married, eh?" > -- "Yeah, and _then_ we'll claim we're brother & sister." > > >
Attachment:
pgpMPkW1MKIJt.pgp
Description: PGP signature