Bug#462460: exim4-config: install fail with 'sed: -e expression #1, char 205: unterminated `s' command'

Petter Reinholdtsen pere at hungry.com
Thu Jan 24 23:31:04 UTC 2008


Package: exim4-config
Version: 4.69-1
Severity: seriuos

The exim4-config package in unstable fail to upgrade in my sid chroot.
Setting severity to serious as this problem break package
installation.

This is the last message when setting EX4DEBUG=true during upgrade:

  + update-exim4.conf
  sed: -e expression #1, char 205: unterminated `s' command
  dpkg: error processing exim4-config (--configure):
   subprocess post-installation script returned error exit status 1

I guess the bug is in /usr/sbin/update-exim4.conf.  Running it with
'sh -x /usr/sbin/update-exim4.conf' ends with this:

  + sed s|^\(UPEX4CmacrosUPEX4C.*\)$|\1\n##############################################\n# the following macro definitions were created\n# dynamically by /usr/sbin/update-exim4.conf\n .ifndef MAIN_LOCAL_INTERFACES
  MAIN_LOCAL_INTERFACES=127.0.0.1
  .endif .ifndef MAIN_PACKAGE_VERSION
  MAIN_PACKAGE_VERSION=4.69-1
  .endif .ifndef MAIN_LOCAL_DOMAINS
  MAIN_LOCAL_DOMAINS=@:localhost:localhost
  .endif .ifndef MAIN_RELAY_TO_DOMAINS
  MAIN_RELAY_TO_DOMAINS=empty
  .endif .ifndef ETC_MAILNAME
  ETC_MAILNAME=localhost
  .endif .ifndef LOCAL_DELIVERY
  LOCAL_DELIVERY=mail_spool
  .endif .ifndef MAIN_RELAY_NETS
  MAIN_RELAY_NETS=: 127.0.0.1 : ::::1
  .endif .ifndef DCreadhost
  DCreadhost=hungry.com
  .endif .ifndef DCsmarthost
  DCsmarthost=smtp.nextgentel.no
  .endif .ifndef DC_eximconfig_configtype
  DC_eximconfig_configtype=internet
  .endif .ifndef DCconfig_internet
  DCconfig_internet=1
  .endif##############################################\n|
  sed: -e expression #1, char 205: unterminated `s' command
  + rm -f /tmp/ex4qgNfye

-- Package-specific info:
Exim version 4.69 #1 built 22-Jan-2008 09:26:24
Copyright (c) University of Cambridge 2006
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='internet'
dc_other_hostnames='localhost'
dc_local_interfaces='127.0.0.1'
dc_readhost='hungry.com'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.nextgentel.no'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:localhost

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages exim4-config depends on:
ii  adduser                       3.105      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.18     Debian configuration management sy

exim4-config recommends no packages.
-- debconf information:
* exim4/dc_smarthost: smtp.nextgentel.no
* exim4/dc_relay_domains:
  exim4/dc_localdelivery: mbox format in /var/mail/
  exim4/exim3_upgrade: true
* exim4/dc_eximconfig_configtype: internet site; mail is sent and received directly using SMTP
* exim4/dc_readhost: hungry.com
  exim4/exim4-config-title:
  exim4/dc_noalias_regenerate: false
* exim4/dc_relay_nets:
* exim4/mailname: localhost
* exim4/dc_local_interfaces: 127.0.0.1
* exim4/dc_minimaldns: false
* exim4/dc_other_hostnames: localhost
  exim4/no_config: true
* exim4/hide_mailname: true
* exim4/dc_postmaster: root
* exim4/use_split_config: false
  exim4/internal/exim4-config.reconfigure: false

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-exim4-maintainers mailing list