I think this is more like a dpkg usage question, but I can''t find the
answer on google or in the manpage or in the documentation it''s
pointing
me to. It''s pretty much, I think, the simplest question one could have
about this situation...
So I upgraded exim4 and I got the errors that everybody knows so well:
Setting up exim4-config (4.69-2) ...
DEBCONFsomethingDEBCONF found in exim configuration. This is most probably
caused by you upgrading to exim4 4.67-3 or later without accepting the
suggested conffile changes. Please read
/usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4
2009-04-07 11:11:09 Exim configuration error in line 32 of
/var/lib/exim4/config.autogenerated.tmp:
malformed macro definition
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not
installing
/var/lib/exim4/config.autogenerated.tmp to
/var/lib/exim4/config.autogenerated
dpkg: error processing exim4-config (--configure):
subprocess post-installation script returned error exit status 1
....but how do I re-run the script so that I can accept said proposed
changes? It''s true I didn''t accept them the first time.... I
usually
don''t accept changes to files that I changed myself, because it tends
to
break my config, but clearly in this case I made the wrong choice.
Thanks,
-Josiah
Hi Try running dpkg-reconfigure exim4-config and see what happens I should say I ran into this on my first upgrade to Lenny from Etch - and I made the wrong choice too. Fortunately, I use the unsplit option and the exim4.conf.template file in both versions runs in the same order, so I ended up going to the base Debian Lenny version and then re-introducing my routers/transports from the old version. This worked, but was possibly more work than was necessary. Regards Neil Wm. Josiah Erikson wrote:> I think this is more like a dpkg usage question, but I can''t find the > answer on google or in the manpage or in the documentation it''s pointing > me to. It''s pretty much, I think, the simplest question one could have > about this situation... > So I upgraded exim4 and I got the errors that everybody knows so well: > > Setting up exim4-config (4.69-2) ... > DEBCONFsomethingDEBCONF found in exim configuration. This is most > probably > caused by you upgrading to exim4 4.67-3 or later without accepting the > suggested conffile changes. Please read > /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4 > 2009-04-07 11:11:09 Exim configuration error in line 32 of > /var/lib/exim4/config.autogenerated.tmp: > malformed macro definition > Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not > installing > /var/lib/exim4/config.autogenerated.tmp to > /var/lib/exim4/config.autogenerated > dpkg: error processing exim4-config (--configure): > subprocess post-installation script returned error exit status 1 > > ....but how do I re-run the script so that I can accept said proposed > changes? It''s true I didn''t accept them the first time.... I usually > don''t accept changes to files that I changed myself, because it tends to > break my config, but clearly in this case I made the wrong choice. > Thanks, > -Josiah > > > _______________________________________________ > Pkg-exim4-users mailing list > Pkg-exim4-users at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users > > ------------------------------------------------------------------------------------ > > Scanned for viruses, spam and offensive content by CensorNet MailSafe > > Try CensorNet free for 14 days. Provide Internet access on your terms. > Visit www.censornet.com for more information. > >-- Neil Briscoe CensorNet Ltd - professional & affordable Web & E-mail filtering neil.briscoe at censornet.com web: www.censornet.com tel: 0845 230 9592 / fax: 0845 230 9591 / main office: 0845 230 9590 snail: The Old Post Office, Bristol Rd, Hambrook, Bristol BS16 1RY. UK. MSN: nbriscoeuk at hotmail.co.uk CensorNet Ltd is a registered company in England & Wales No. 05518629 VAT registration number 901-2048-78 Any views expressed in this email communication are those of the individual sender, except where the sender specifically states them to be the views of a member of CensorNet Ltd. CensorNet Ltd does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors or interference. ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Try CensorNet free for 14 days. Provide Internet access on your terms. Visit www.censornet.com for more information.
Yeah, that''s the first thing I tried, of course...
I get:
/usr/sbin/dpkg-reconfigure: exim4-config is broken or not fully installed
so I added --force:
sudo dpkg-reconfigure --force exim4-config
DEBCONFsomethingDEBCONF found in exim configuration. This is most probably
caused by you upgrading to exim4 4.67-3 or later without accepting the
suggested conffile changes. Please read
/usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4
2009-04-07 11:59:04 Exim configuration error in line 32 of
/var/lib/exim4/config.autogenerated.tmp:
malformed macro definition
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not
installing
/var/lib/exim4/config.autogenerated.tmp to
/var/lib/exim4/config.autogenerated
(there was a section in there where I answered the dpkg configuration
questions for exim, right after I did the dpkg-reconfigure, but it still
errored out as above)
Any more ideas? :)
-Josiah
Neil S. Briscoe wrote:> Hi
>
> Try running dpkg-reconfigure exim4-config and see what happens
>
> I should say I ran into this on my first upgrade to Lenny from Etch -
> and I made the wrong choice too. Fortunately, I use the unsplit
> option and the exim4.conf.template file in both versions runs in the
> same order, so I ended up going to the base Debian Lenny version and
> then re-introducing my routers/transports from the old version. This
> worked, but was possibly more work than was necessary.
>
> Regards
> Neil
>
> Wm. Josiah Erikson wrote:
>> I think this is more like a dpkg usage question, but I can''t
find the
>> answer on google or in the manpage or in the documentation
it''s pointing
>> me to. It''s pretty much, I think, the simplest question one
could have
>> about this situation...
>> So I upgraded exim4 and I got the errors that everybody knows so well:
>>
>> Setting up exim4-config (4.69-2) ...
>> DEBCONFsomethingDEBCONF found in exim configuration. This is most
>> probably
>> caused by you upgrading to exim4 4.67-3 or later without accepting the
>> suggested conffile changes. Please read
>> /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4
>> 2009-04-07 11:11:09 Exim configuration error in line 32 of
>> /var/lib/exim4/config.autogenerated.tmp:
>> malformed macro definition
>> Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not
>> installing
>> /var/lib/exim4/config.autogenerated.tmp to
>> /var/lib/exim4/config.autogenerated
>> dpkg: error processing exim4-config (--configure):
>> subprocess post-installation script returned error exit status 1
>>
>> ....but how do I re-run the script so that I can accept said proposed
>> changes? It''s true I didn''t accept them the first
time.... I usually
>> don''t accept changes to files that I changed myself, because
it tends to
>> break my config, but clearly in this case I made the wrong choice.
>> Thanks,
>> -Josiah
>>
>>
>> _______________________________________________
>> Pkg-exim4-users mailing list
>> Pkg-exim4-users at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
>>
>>
------------------------------------------------------------------------------------
>>
>> Scanned for viruses, spam and offensive content by CensorNet MailSafe
>>
>> Try CensorNet free for 14 days. Provide Internet access on your terms.
>> Visit www.censornet.com for more information.
>>
>>
>
Wm. Josiah Erikson <josiah at insanetechnology.com> wrote:> I think this is more like a dpkg usage question, but I can''t find the > answer on google or in the manpage or in the documentation it''s pointing > me to. It''s pretty much, I think, the simplest question one could have > about this situation... > So I upgraded exim4 and I got the errors that everybody knows so well:> Setting up exim4-config (4.69-2) ... > DEBCONFsomethingDEBCONF found in exim configuration. This is most probably > caused by you upgrading to exim4 4.67-3 or later without accepting the > suggested conffile changes. Please read > /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4[...]> ....but how do I re-run the script so that I can accept said proposed > changes? It''s true I didn''t accept them the first time.... I usually > don''t accept changes to files that I changed myself, because it tends to > break my config, but clearly in this case I made the wrong choice.This is all about dpkg conffiles. You should have one (or more) .dpkg-dist files in /etc/exim4. You will need to port forward your local modification of the respective file to the dpkg-dist version and use this one instead. cu andreas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.'' `I sew his ears on from time to time, sure''