Re: Trying to reinstall exim4 [Solved]
Carl Johnson writes: > I was trying out postfix but I was unable to get it working the way I > wanted, so I tried to purge postfix and reinstall exim4. I used > aptitude to select postfix to purge and to install exim4, exim4-base, > exim4-config, and exim4-daemon-light. It seems to accept the > selections, but when it actually tries to install it, it gives the error > message: > > E: Could not perform immediate configuration on 'exim4'. Please see > man 5 apt.conf under APT::Immediate-Configure for details. (2) > > I dropped the statement 'APT::Immediate-Configure "off";' into a file > in /etc/apt/apt.conf.d, but it still won't install exim4. Does anybody > have any idea what I am doing wrong, and what I can do to install exim? > I am running this on a squeeze system. After trying the other suggestion I decided that it was time to try some desperate measures. I forced the removal of postfix without adding exim (dpkg --force-depends -r postfix) and then added exim4 (aptitude install exim4). The removal of postfix temporily broke the dependencies, but exim4 was then able to install. I had already checked that exim was completely gone, so I don't know what was causing the problem. This was really a test system in VirtualBox so I wasn't too worried about breaking it. Thanks for the suggestions. -- Carl Johnsonca...@peak.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871v07302j.fsf@oak.localnet
Re: Trying to reinstall exim4
Freeman writes: > On Sun, May 08, 2011 at 05:55:27PM -0700, Carl Johnson wrote: >> I was trying out postfix but I was unable to get it working the way I >> wanted, so I tried to purge postfix and reinstall exim4. I used >> aptitude to select postfix to purge and to install exim4, exim4-base, >> exim4-config, and exim4-daemon-light. It seems to accept the >> selections, but when it actually tries to install it, it gives the error >> message: >> >> E: Could not perform immediate configuration on 'exim4'. Please see >> man 5 apt.conf under APT::Immediate-Configure for details. (2) >> >> I dropped the statement 'APT::Immediate-Configure "off";' into a file >> in /etc/apt/apt.conf.d, but it still won't install exim4. Does anybody >> have any idea what I am doing wrong, and what I can do to install exim? >> I am running this on a squeeze system. >> >> Thanks for any ideas. > > What happens when you run > > # dpkg-reconfigure exim4-config > > ? It just reports that exim4-config is not installed. Thanks for the suggestion. -- Carl Johnsonca...@peak.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/8762pj30nd.fsf@oak.localnet
Re: Trying to reinstall exim4
Camaleón writes: > On Sun, 08 May 2011 20:45:00 -0700, Carl Johnson wrote: > >> Ron Johnson writes: >> >>> What *exact* command did you run? >> >> I used the curses interface to aptitude, so I just told it to install >> exim4 and remove postfix. I just tried a command line equivalent as >> follows: >> >> # aptitude install postfix- exim4+ exim4-base+ exim4-config+ >> exim4-daemon-light+ > > (...) > > Errr, just a *very wild guess*, but have you tried by directly install > Exim4 and let the package manager handles the situation by itself? I say > this because the system requires at least one mail agent (or akin MDA) to > be present so maybe the error is being generated from that. > > Anyway, IIRC, as soon as you select the Exim package to be installed, > Postfix is automatically marked to be removed (and viceversa) :-) I hadn't tried it because I hadn't really trusted it, but you are absolutely right. It automatically tries to do exactly what I specified manually, but unfortunately the results and error are exactly the same. Thanks for the suggestion. -- Carl Johnsonca...@peak.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87aaev30pi.fsf@oak.localnet
Re: Trying to reinstall exim4
On Sun, May 08, 2011 at 05:55:27PM -0700, Carl Johnson wrote: > I was trying out postfix but I was unable to get it working the way I > wanted, so I tried to purge postfix and reinstall exim4. I used > aptitude to select postfix to purge and to install exim4, exim4-base, > exim4-config, and exim4-daemon-light. It seems to accept the > selections, but when it actually tries to install it, it gives the error > message: > > E: Could not perform immediate configuration on 'exim4'. Please see > man 5 apt.conf under APT::Immediate-Configure for details. (2) > > I dropped the statement 'APT::Immediate-Configure "off";' into a file > in /etc/apt/apt.conf.d, but it still won't install exim4. Does anybody > have any idea what I am doing wrong, and what I can do to install exim? > I am running this on a squeeze system. > > Thanks for any ideas. What happens when you run # dpkg-reconfigure exim4-config ? -- Regards, Freeman "Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the answer." --Somebody -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110509185016.GA8063@Europa.office
Re: Trying to reinstall exim4
On Sun, 08 May 2011 20:45:00 -0700, Carl Johnson wrote: > Ron Johnson writes: > >> What *exact* command did you run? > > I used the curses interface to aptitude, so I just told it to install > exim4 and remove postfix. I just tried a command line equivalent as > follows: > > # aptitude install postfix- exim4+ exim4-base+ exim4-config+ > exim4-daemon-light+ (...) Errr, just a *very wild guess*, but have you tried by directly install Exim4 and let the package manager handles the situation by itself? I say this because the system requires at least one mail agent (or akin MDA) to be present so maybe the error is being generated from that. Anyway, IIRC, as soon as you select the Exim package to be installed, Postfix is automatically marked to be removed (and viceversa) :-) Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2011.05.09.15.40...@gmail.com
Re: Trying to reinstall exim4
Ron Johnson writes: > On 05/08/2011 07:55 PM, Carl Johnson wrote: >>I was trying out postfix but I was unable to get it working the way I >> wanted, so I tried to purge postfix and reinstall exim4. I used >> aptitude to select postfix to purge and to install exim4, exim4-base, >> exim4-config, and exim4-daemon-light. It seems to accept the >> selections, but when it actually tries to install it, it gives the error >> message: >> >> E: Could not perform immediate configuration on 'exim4'. Please see >> man 5 apt.conf under APT::Immediate-Configure for details. (2) >> >>I dropped the statement 'APT::Immediate-Configure "off";' into a file >> in /etc/apt/apt.conf.d, but it still won't install exim4. Does anybody >> have any idea what I am doing wrong, and what I can do to install exim? >> I am running this on a squeeze system. > > What *exact* command did you run? I used the curses interface to aptitude, so I just told it to install exim4 and remove postfix. I just tried a command line equivalent as follows: # aptitude install postfix- exim4+ exim4-base+ exim4-config+ exim4-daemon-light+ The following NEW packages will be installed: exim4 exim4-base exim4-config exim4-daemon-light The following packages will be REMOVED: postfix 0 packages upgraded, 4 newly installed, 1 to remove and 32 not upgraded. Need to get 0 B/2,087 kB of archives. After unpacking 651 kB will be used. E: Could not perform immediate configuration on 'exim4'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2) Thanks. -- Carl Johnsonca...@peak.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87hb9435c3.fsf@oak.localnet
Re: Trying to reinstall exim4
On 05/08/2011 07:55 PM, Carl Johnson wrote: I was trying out postfix but I was unable to get it working the way I wanted, so I tried to purge postfix and reinstall exim4. I used aptitude to select postfix to purge and to install exim4, exim4-base, exim4-config, and exim4-daemon-light. It seems to accept the selections, but when it actually tries to install it, it gives the error message: E: Could not perform immediate configuration on 'exim4'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2) I dropped the statement 'APT::Immediate-Configure "off";' into a file in /etc/apt/apt.conf.d, but it still won't install exim4. Does anybody have any idea what I am doing wrong, and what I can do to install exim? I am running this on a squeeze system. What *exact* command did you run? -- "Neither the wisest constitution nor the wisest laws will secure the liberty and happiness of a people whose manners are universally corrupt." Samuel Adams, essay in The Public Advertiser, 1749 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dc73dbb.4030...@cox.net
Trying to reinstall exim4
I was trying out postfix but I was unable to get it working the way I wanted, so I tried to purge postfix and reinstall exim4. I used aptitude to select postfix to purge and to install exim4, exim4-base, exim4-config, and exim4-daemon-light. It seems to accept the selections, but when it actually tries to install it, it gives the error message: E: Could not perform immediate configuration on 'exim4'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2) I dropped the statement 'APT::Immediate-Configure "off";' into a file in /etc/apt/apt.conf.d, but it still won't install exim4. Does anybody have any idea what I am doing wrong, and what I can do to install exim? I am running this on a squeeze system. Thanks for any ideas. -- Carl Johnsonca...@peak.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87liyg3d6o.fsf@oak.localnet