Reinstall of Exim4 fails, says; exim: failed to find uid for user name "Debian-exim"
I had installed Exim4 MTA. I had a problem. I tried to remove and reinstall Exim4. Apt is unable to install Exim4. I have included the error log below. I had tried removing all Exim4 directories and files by hand and I still get the error.
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety
Error output below.
First the relevant part of the error output below and below that the full output.
Short output
exim: failed to find uid for user name "Debian-exim"
Invalid new configfile /var/lib/
/var/lib/
dpkg: error processing package exim4-config (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
dpkg: dependency problems prevent configuration of exim4-base:
exim4-base depends on exim4-config (>= 4.82) | 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
No apport report written because the error message indicates its a followup error from a previous failure.
exim4 depends on exim4-base (>= 4.87-3ubuntu1); however:
Package exim4-base is not configured yet.
exim4 depends on exim4-base (<< 4.87-3ubuntu1.1); however:
Package exim4-base is not configured yet.
dpkg: error processing package exim4 (--configure):
dependency problems - leaving unconfigured
Processing triggers for doc-base (0.10.7) ...
Processing 3 added doc-base files...
Registering documents with scrollkeeper...
Processing triggers for systemd (231-9ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
dpkg: dependency problems prevent configuration of exim4-daemon-light:
exim4-daemon-light depends on exim4-base (>= 4.87); however:
Package exim4-base is not configured yet.
dpkg: error processing package exim4-daemon-light (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
exim4-config
exim4-base
Full ouput
nate@frontier:~$ sudo apt-get install exim4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
exim4-base exim4-config exim4-daemon-light
Suggested packages:
eximon4 exim4-doc-html | exim4-doc-info spf-tools-perl swaks
The following NEW packages will be installed:
exim4 exim4-base exim4-config exim4-daemon-light
0 upgraded, 4 newly installed, 0 to remove and 26 not upgraded.
Need to get 0 B/1,638 kB of archives.
After this operation, 3,780 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously unselected package exim4-config.
(Reading database ... 326863 files and directories currently installed.)
Preparing to unpack .../0-exim4-
Unpacking exim4-config (4.87-3ubuntu1) ...
Selecting previously unselected package exim4-base.
Preparing to unpack .../1-exim4-
Unpacking exim4-base (4.87-3ubuntu1) ...
Selecting previously unselected package exim4-daemon-light.
Preparing to unpack .../2-exim4-
Unpacking exim4-daemon-light (4.87-3ubuntu1) ...
Selecting previously unselected package exim4.
Preparing to unpack .../3-exim4_
Unpacking exim4 (4.87-3ubuntu1) ...
Setting up exim4-config (4.87-3ubuntu1) ...
exim: failed to find uid for user name "Debian-exim"
Invalid new configfile /var/lib/
/var/lib/
dpkg: error processing package exim4-config (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
dpkg: dependency problems prevent configuration of exim4-base:
exim4-base depends on exim4-config (>= 4.82) | 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
No apport report written because the error message indicates its a followup error from a previous failure.
exim4 depends on exim4-base (>= 4.87-3ubuntu1); however:
Package exim4-base is not configured yet.
exim4 depends on exim4-base (<< 4.87-3ubuntu1.1); however:
Package exim4-base is not configured yet.
dpkg: error processing package exim4 (--configure):
dependency problems - leaving unconfigured
Processing triggers for doc-base (0.10.7) ...
Processing 3 added doc-base files...
Registering documents with scrollkeeper...
Processing triggers for systemd (231-9ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
dpkg: dependency problems prevent configuration of exim4-daemon-light:
exim4-daemon-light depends on exim4-base (>= 4.87); however:
Package exim4-base is not configured yet.
dpkg: error processing package exim4-daemon-light (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
exim4-config
exim4-base
exim4
exim4-daemon-light
E: Sub-process /usr/bin/dpkg returned an error code (1)
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Nathaniel Homier for more information if necessary.