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

Re: dist-upgrade wants to remove postfix, install exim



On Mon, Feb 06, 2006 at 09:35:11AM -0800, Andrew Sackville-West wrote:
> 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.

It makes sense that installing exim would remove other conflictint 
mail-transfer agents, but there seems to be a serious bug here that it 
decides to install exim at all when there is another perfectly 
servicable mail-transfer agent available to be upgraded, and, I presume, 
explicitly requested by the user.

Not sure where the bug *is*, though.  A faulty dependency, maybe?  A 
a faulty conflict resolution algorithm?

-- hendrik



Reply to: