package qmail 1.06-4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netqmail (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
somava@
[sudo] password for somava:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
daemontools fastforward fgetty procmail qmail qmail-run qmail-uids-gids
runit ucspi-tcp
Suggested packages:
exmh mh-e mh-book dot-forward qmail-tools socklog-run
Recommended packages:
mail-
The following NEW packages will be installed:
daemontools fastforward fgetty nmh procmail qmail qmail-run qmail-uids-gids
runit ucspi-tcp
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,193 kB of archives.
After this operation, 8,938 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Fetched 3,193 kB in 17s (178 kB/s)
Selecting previously unselected package daemontools.
(Reading database ... 233447 files and directories currently installed.)
Unpacking daemontools (from .../daemontools
Selecting previously unselected package fgetty.
Unpacking fgetty (from .../fgetty_
Selecting previously unselected package nmh.
Unpacking nmh (from .../nmh_
Selecting previously unselected package procmail.
Unpacking procmail (from .../procmail_
Selecting previously unselected package runit.
Unpacking runit (from .../runit_
Selecting previously unselected package ucspi-tcp.
Unpacking ucspi-tcp (from .../ucspi-
Selecting previously unselected package fastforward.
Unpacking fastforward (from .../fastforward
Selecting previously unselected package qmail-uids-gids.
Unpacking qmail-uids-gids (from .../qmail-
Selecting previously unselected package qmail.
Unpacking qmail (from .../archives/
Selecting previously unselected package qmail-run.
Unpacking qmail-run (from .../qmail-
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up daemontools (1:0.76-3ubuntu3) ...
Setting up fgetty (0.6-5build1) ...
Setting up nmh (1.3-1build1) ...
Setting up procmail (3.22-19) ...
Setting up runit (2.1.1-6.2ubuntu2) ...
grep: /etc/inittab: No such file or directory
grep: /etc/inittab: No such file or directory
runsvdir start/running, process 10069
Setting up ucspi-tcp (1:0.88-3) ...
Setting up fastforward (1:0.51-3) ...
Setting up qmail-uids-gids (1.06-4) ...
No qmail-users or -groups found.
This script runs the following commands, without adding these users and
groups, this qmail-package cannot run on this system.
# groupadd -g 64010 qmail
# addgroup --system nofiles
# useradd -u 64010 -g nofiles -d /var/lib/
# useradd -u 64011 -g nofiles -d /var/lib/qmail qmaild
# useradd -u 64015 -g nofiles -d /var/lib/qmail qmaill
# useradd -u 64016 -g nofiles -d /var/lib/qmail qmailp
# useradd -u 64014 -g qmail -d /var/lib/qmail qmailq
# useradd -u 64013 -g qmail -d /var/lib/qmail qmailr
# useradd -u 64012 -g qmail -d /var/lib/qmail qmails
Adding group `nofiles' (GID 126) ...
Done.
qmail uids and gids ok.
Setting up qmail (1.06-4) ...
The hostname -f command returned: $1
Your system needs to have a fully qualified domain name (fqdn) in
order to install the var-qmail packages.
Installation aborted.
dpkg: error processing qmail (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qmail-run:
qmail-run depends on qmail (>= 1.06-2.1); however:
Package qmail is not configured yet.
dpkg: error processing qmail-run (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
qmail
qmail-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: qmail 1.06-4
ProcVersionSign
Uname: Linux 3.2.0-32-
ApportVersion: 2.0.1-0ubuntu14
Architecture: i386
Date: Wed Nov 7 19:35:25 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
SourcePackage: netqmail
Title: package qmail 1.06-4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #945977, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.