*** This bug is a duplicate of bug 945977 ***
https://bugs.launchpad.net/bugs/945977
Public bug reported:
somava@somava-Inspiron-1501:~$ sudo apt-get install nmh
[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-transport-agent metamail
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://archive.ubuntu.com/ubuntu/ precise/universe daemontools i386
1:0.76-3ubuntu3 [73.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ precise/universe fgetty i386
0.6-5build1 [22.7 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ precise/universe nmh i386 1.3-1build1
[2,241 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ precise/main procmail i386 3.22-19 [144
kB]
Get:5 http://archive.ubuntu.com/ubuntu/ precise/universe runit i386
2.1.1-6.2ubuntu2 [98.8 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ precise/universe ucspi-tcp i386
1:0.88-3 [90.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ precise/universe fastforward i386
1:0.51-3 [59.5 kB]
Get:8 http://archive.ubuntu.com/ubuntu/ precise/universe qmail-uids-gids all
1.06-4 [33.5 kB]
Get:9 http://archive.ubuntu.com/ubuntu/ precise/universe qmail i386 1.06-4 [419
kB]
Get:10 http://archive.ubuntu.com/ubuntu/ precise/universe qmail-run all 2.0.2
[10.3 kB]
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_1%3a0.76-3ubuntu3_i386.deb) ...
Selecting previously unselected package fgetty.
Unpacking fgetty (from .../fgetty_0.6-5build1_i386.deb) ...
Selecting previously unselected package nmh.
Unpacking nmh (from .../nmh_1.3-1build1_i386.deb) ...
Selecting previously unselected package procmail.
Unpacking procmail (from .../procmail_3.22-19_i386.deb) ...
Selecting previously unselected package runit.
Unpacking runit (from .../runit_2.1.1-6.2ubuntu2_i386.deb) ...
Selecting previously unselected package ucspi-tcp.
Unpacking ucspi-tcp (from .../ucspi-tcp_1%3a0.88-3_i386.deb) ...
Selecting previously unselected package fastforward.
Unpacking fastforward (from .../fastforward_1%3a0.51-3_i386.deb) ...
Selecting previously unselected package qmail-uids-gids.
Unpacking qmail-uids-gids (from .../qmail-uids-gids_1.06-4_all.deb) ...
Selecting previously unselected package qmail.
Unpacking qmail (from .../archives/qmail_1.06-4_i386.deb) ...
Selecting previously unselected package qmail-run.
Unpacking qmail-run (from .../qmail-run_2.0.2_all.deb) ...
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/qmail/alias alias
# 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.
Errors were encountered while processing:
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
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic-pae 3.2.30
Uname: Linux 3.2.0-32-generic-pae i686
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)
** Affects: netqmail (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-package i386 precise
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1075970
Title:
package qmail 1.06-4 failed to install/upgrade: subprocess installed
post-installation script returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netqmail/+bug/1075970/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs