dtc-postfix-courier fails during --configure, can't install

Bug #160847 reported by J Beeforth
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dtc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dtc

dtc-postfix-courier fails to install.

$> sudo apt-get install dtc-postfix-courier
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  mysqmail msttcorefonts
The following NEW packages will be installed:
  dtc-postfix-courier
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/38.1kB of archives.
After unpacking 131kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package dtc-postfix-courier.
(Reading database ... 27723 files and directories currently installed.)
Unpacking dtc-postfix-courier (from .../dtc-postfix-courier_0.25.3-2ubuntu1_all.deb) ...
Setting up dtc-postfix-courier (0.25.3-2ubuntu1) ...
dpkg: error processing dtc-postfix-courier (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 dtc-postfix-courier
E: Sub-process /usr/bin/dpkg returned an error code (1)

Is there any way to get further details on why this is failing? All the dependencies for dtc-toaster other than dtc-postfix-courier itself are installed on the machine, but nothing I can do seems to enable dtc-postfix-courier to install, and I can't find any log file that contains the actual reasons for failure (would love to be able to provide more information about what the failure is).

Using a fresh install of gutsy server in a vmware image - tried both 'do not make' and 'do make' for the mknods preferences (trying to make sure that these were not the cause of failure).

The installation goes through several screens of preferences (mysql database username, password, mknod, domain, domain password, generate ssl certificate, IP address, interface to monitor) before going back to the command line and then failing.

Revision history for this message
J Beeforth (ubuntu-dawnmist) wrote : SOLVED: dtc-postfix-courier fails during --configure = missing (unlisted) dependencies

Solved the issue - this package is missing some of it's dependencies, which means that it looks like it will fail to install on a non-developer machine (that doesn't have a package-building environment set up).

Steps to solve:
1. Downloaded the source package via "apt-get source dtc-postfix-courier"
2. Tried to build the package using "dpkg-buildpackage -b"
3. dpkg-buildpackage complained that debhelper and po-debconf were missing, so it couldn't build the package.
4. Used apt-get to install debhelper and po-debconf, these also suggested packaged dh-make, curl, wget, lynx, info - which I added to the apt-get install
5. I hadn't removed the non-installing package dtc-postfix-courier and dtc-toaster yet, so the installer tried to complete the installation of these as well.
6. The installation of dtc-postfix-courier was finally successful.

I think the problems may be to do with some of those packages that were needed to be able to do a package build - the full list of packages added in that step was:
   debhelper
   po-debconf
   dh-make
   cvs
   rsync
   bazaar
   info
   curl
   wget
   lynx
   intltool-debian
   html2text
   gettext
   dtc-postfix-courier
   dtc-toaster

in_vain (crew-soc)
Changed in dtc:
status: New → Fix Committed
Przemek K. (azrael)
Changed in dtc (Ubuntu):
status: Fix Committed → Fix Released
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.