package exim4-config 4.76-3ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1072084 reported by Mike Doherty
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
exim4 (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

This is like #1041980, but occurs because the upgrade detects a missing configuration template. Touching the missing file allows the upgrade to proceed to completion. The pre-install script should handle this better - in particular because I haven't done anything to modify the exim configuration since installation. This version of the package should be able to handle what the last version of the package put on my system.

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up exim4-config (4.76-3ubuntu3.1) ...
Error: Unsplit config selected and /etc/exim4/exim4.conf.template missing ... exiting
dpkg: error processing exim4-config (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of exim4-base:
 exim4-base depends on exim4-config (>= 4.30) | 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 exim4-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4-daemon-light:
 exim4-daemon-light depends on exim4-base (>= 4.76); however:
  Package exim4-base is not configured yet.
dpkg: error processing exim4-daemon-light (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                                                                   Errors were encountered while processing:
 exim4-config
 exim4-base
 exim4-daemon-light
E: Sub-process /usr/bin/dpkg returned an error code (1)

[100]
mike@charron:~
$ sudo touch /etc/exim4/exim4.conf.template

[0]
mike@charron:~
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
[master 0a8ce8b] saving uncommitted changes in /etc prior to apt run
 Author: mike <mike@charron>
 1 file changed, 1 insertion(+)
 create mode 100644 exim4/exim4.conf.template
Setting up exim4-config (4.76-3ubuntu3.1) ...
Setting up exim4-base (4.76-3ubuntu3.1) ...
Setting up exim4-daemon-light (4.76-3ubuntu3.1) ...
 * Starting MTA [ OK ]

[0]

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: exim4-config 4.76-3ubuntu3.1
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Sat Oct 27 10:16:25 2012
DuplicateSignature:
 Setting up exim4-config (4.76-3ubuntu3.1) ...
 Error: Unsplit config selected and /etc/exim4/exim4.conf.template missing ... exiting
 dpkg: error processing exim4-config (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release amd64 (20110720.1)
PackageArchitecture: all
SourcePackage: exim4
Title: package exim4-config 4.76-3ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-04-28 (182 days ago)
modified.conffile..etc.exim4.conf.d.acl.00.exim4.config.header: [deleted]
modified.conffile..etc.exim4.conf.d.acl.20.exim4.config.local.deny.exceptions: [deleted]
modified.conffile..etc.exim4.conf.d.acl.30.exim4.config.check.mail: [deleted]
modified.conffile..etc.exim4.conf.d.acl.30.exim4.config.check.rcpt: [deleted]
modified.conffile..etc.exim4.conf.d.acl.40.exim4.config.check.data: [deleted]
modified.conffile..etc.exim4.conf.d.auth.00.exim4.config.header: [deleted]
modified.conffile..etc.exim4.conf.d.auth.30.exim4.config.examples: [deleted]
modified.conffile..etc.exim4.conf.d.main.01.exim4.config.listmacrosdefs: [deleted]
modified.conffile..etc.exim4.conf.d.main.02.exim4.config.options: [deleted]
modified.conffile..etc.exim4.conf.d.main.03.exim4.config.tlsoptions: [deleted]
modified.conffile..etc.exim4.conf.d.main.90.exim4.config.log.selector: [deleted]
modified.conffile..etc.exim4.conf.d.retry.00.exim4.config.header: [deleted]
modified.conffile..etc.exim4.conf.d.retry.30.exim4.config: [deleted]
modified.conffile..etc.exim4.conf.d.rewrite.00.exim4.config.header: [deleted]
modified.conffile..etc.exim4.conf.d.rewrite.31.exim4.config.rewriting: [deleted]
modified.conffile..etc.exim4.conf.d.router.00.exim4.config.header: [deleted]
modified.conffile..etc.exim4.conf.d.router.100.exim4.config.domain.literal: [deleted]
modified.conffile..etc.exim4.conf.d.router.150.exim4.config.hubbed.hosts: [deleted]
modified.conffile..etc.exim4.conf.d.router.200.exim4.config.primary: [deleted]
modified.conffile..etc.exim4.conf.d.router.300.exim4.config.real.local: [deleted]
modified.conffile..etc.exim4.conf.d.router.400.exim4.config.system.aliases: [deleted]
modified.conffile..etc.exim4.conf.d.router.500.exim4.config.hubuser: [deleted]
modified.conffile..etc.exim4.conf.d.router.600.exim4.config.userforward: [deleted]
modified.conffile..etc.exim4.conf.d.router.700.exim4.config.procmail: [deleted]
modified.conffile..etc.exim4.conf.d.router.800.exim4.config.maildrop: [deleted]
modified.conffile..etc.exim4.conf.d.router.850.exim4.config.lowuid: [deleted]
modified.conffile..etc.exim4.conf.d.router.900.exim4.config.local.user: [deleted]
modified.conffile..etc.exim4.conf.d.router.mmm.mail4root: [deleted]
modified.conffile..etc.exim4.conf.d.transport.00.exim4.config.header: [deleted]
modified.conffile..etc.exim4.conf.d.transport.10.exim4.config.transport.macros: [deleted]
modified.conffile..etc.exim4.conf.d.transport.30.exim4.config.address.file: [deleted]
modified.conffile..etc.exim4.conf.d.transport.30.exim4.config.address.pipe: [deleted]
modified.conffile..etc.exim4.conf.d.transport.30.exim4.config.address.reply: [deleted]
modified.conffile..etc.exim4.conf.d.transport.30.exim4.config.mail.spool: [deleted]
modified.conffile..etc.exim4.conf.d.transport.30.exim4.config.maildir.home: [deleted]
modified.conffile..etc.exim4.conf.d.transport.30.exim4.config.maildrop.pipe: [deleted]
modified.conffile..etc.exim4.conf.d.transport.30.exim4.config.procmail.pipe: [deleted]
modified.conffile..etc.exim4.conf.d.transport.30.exim4.config.remote.smtp: [deleted]
modified.conffile..etc.exim4.conf.d.transport.30.exim4.config.remote.smtp.smarthost: [deleted]
modified.conffile..etc.exim4.conf.d.transport.35.exim4.config.address.directory: [deleted]
modified.conffile..etc.exim4.exim4.conf.template: [deleted]
modified.conffile..etc.exim4.passwd.client: [deleted]

Revision history for this message
Mike Doherty (doherty) wrote :
description: updated
tags: removed: need-duplicate-check
James Page (james-page)
Changed in exim4 (Ubuntu):
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in exim4 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.