Bug#1072568: exim4-config: Installation process of package exim4-config stop on error in post installation script. It complains about a error in config file. It reasons it by user mail not found.

m.alfaeko at gmail.com m.alfaeko at gmail.com
Tue Jun 4 13:51:45 BST 2024


Package: exim4-config
Version: 4.97-8
Severity: important
X-Debbugs-Cc: m.alfaeko at gmail.com

Dear Maintainer,

Im reporting a issue with installation of package exim4,specifically the exim4-config.
During the postintallation script the apt report that theres a error in
config file /var/lib/exim4/config.autogenerated.tmp on line 681. Next message
is that the "user mail was not found". Which result in exit status 1 of dpkg in config phase.
This leaves the exim4 in not fully installed state and prevent normal use of
apt afterwards.
To restore normal function of apt a had to force uninstall via dpkg -r with
force option.
I was using schroot with debian testing. This report is writen on system with debian stable.

Thank You

-- System Information:
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.7.12+bpo-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages exim4-config depends on:
ii  adduser                3.134
ii  debconf [debconf-2.0]  1.5.82

Versions of packages exim4-config recommends:
ii  ca-certificates  20230311

exim4-config suggests no packages.
-------------- next part --------------
Unpacking exim4 (4.97-8) ...
Setting up libevent-2.1-7t64:amd64 (2.1.12-stable-10) ...
Setting up libunbound8:amd64 (1.20.0-1) ...
Setting up libgnutls-dane0t64:amd64 (3.8.5-2) ...
Setting up exim4-config (4.97-8) ...
2024-06-04 12:22:55 Exim configuration error in line 681 of /var/lib/exim4/confi
g.autogenerated.tmp:
  user mail was not found
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 package exim4-config (--configure):
 installed exim4-config package post-installation script subprocess returned err
or exit status 1
Setting up liblockfile1:amd64 (1.17-1+b1) ...
dpkg: dependency problems prevent configuration of exim4-base:
 exim4-base depends on exim4-config (>= 4.94) | exim4-config-2; however:
  Package exim4-config is not configured yet.
  Package exim4-config-2 is not installed.
  Package exim4-config which provides exim4-config-2 is not configured yet.

dpkg: error processing package exim4-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4:
 exim4 depends on exim4-base (<< 4.97-8.1); however:
  Package exim4-base is not configured yet.
 exim4 depends on exim4-base (>= 4.97-8); however:
  Package exim4-base is not configured yet.

dpkg: error processing package exim4 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4-daemon-light:
 exim4-daemon-light depends on exim4-base (>= 4.97); however:
  Package exim4-base is not configured yet.

dpkg: error processing package exim4-daemon-light (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bsd-mailx:
 bsd-mailx depends on default-mta | mail-transport-agent; however:
  Package default-mta is not installed.
  Package exim4-daemon-light which provides default-mta is not configured yet.
  Package mail-transport-agent is not installed.
  Package exim4-daemon-light which provides mail-transport-agent is not configur
ed yet.

dpkg: error processing package bsd-mailx (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.1-1) ...
/usr/bin/mandb: error while loading shared libraries: libmandb-2.12.1.so: cannot
 open shared object file: Permission denied
Processing triggers for libc-bin (2.38-11) ...
Errors were encountered while processing:
 exim4-config
 exim4-base
 exim4
 exim4-daemon-light
 bsd-mailx
Error: Sub-process /usr/bin/dpkg returned an error code (1)


More information about the Pkg-exim4-maintainers mailing list