Public bug reported:

mikaela@mikaela-HP-100B-All-in-One-PC:~$ sudo apt install qmail
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  daemontools fastforward procmail qmail-run qmail-uids-gids runit ucspi-tcp
Suggested packages:
  dot-forward qmail-tools
The following NEW packages will be installed:
  daemontools fastforward procmail qmail qmail-run qmail-uids-gids runit
  ucspi-tcp
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 697 kB of archives.
After this operation, 3,542 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 daemontools 
amd64 1:0.76-7 [58.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal/main amd64 procmail amd64 
3.22-26 [140 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 runit amd64 
2.1.2-9.2ubuntu1 [95.9 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 ucspi-tcp amd64 
1:0.88-6 [71.3 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 fastforward 
amd64 1:0.51-6 [51.8 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 
qmail-uids-gids all 1.06-6.2~deb10u1build0.20.04.1 [6,832 B]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-updates/universe amd64 qmail 
amd64 1.06-6.2~deb10u1build0.20.04.1 [263 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 qmail-run all 
2.0.2+nmu1 [9,870 B]
Fetched 697 kB in 1s (786 kB/s) 
Selecting previously unselected package daemontools.
(Reading database ... 185659 files and directories currently installed.)
Preparing to unpack .../0-daemontools_1%3a0.76-7_amd64.deb ...
Unpacking daemontools (1:0.76-7) ...
Selecting previously unselected package procmail.
Preparing to unpack .../1-procmail_3.22-26_amd64.deb ...
Unpacking procmail (3.22-26) ...
Selecting previously unselected package runit.
Preparing to unpack .../2-runit_2.1.2-9.2ubuntu1_amd64.deb ...
+ [ install = upgrade ]
Unpacking runit (2.1.2-9.2ubuntu1) ...
Selecting previously unselected package ucspi-tcp.
Preparing to unpack .../3-ucspi-tcp_1%3a0.88-6_amd64.deb ...
Unpacking ucspi-tcp (1:0.88-6) ...
Selecting previously unselected package fastforward.
Preparing to unpack .../4-fastforward_1%3a0.51-6_amd64.deb ...
Unpacking fastforward (1:0.51-6) ...
Selecting previously unselected package qmail-uids-gids.
Preparing to unpack 
.../5-qmail-uids-gids_1.06-6.2~deb10u1build0.20.04.1_all.deb ..
.
Unpacking qmail-uids-gids (1.06-6.2~deb10u1build0.20.04.1) ...
Selecting previously unselected package qmail.
Preparing to unpack .../6-qmail_1.06-6.2~deb10u1build0.20.04.1_amd64.deb ...
Unpacking qmail (1.06-6.2~deb10u1build0.20.04.1) ...
Selecting previously unselected package qmail-run.
Preparing to unpack .../7-qmail-run_2.0.2+nmu1_all.deb ...
Unpacking qmail-run (2.0.2+nmu1) ...
Setting up ucspi-tcp (1:0.88-6) ...
Setting up fastforward (1:0.51-6) ...
Setting up qmail-uids-gids (1.06-6.2~deb10u1build0.20.04.1) ...
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 134) ...
Done.
qmail uids and gids ok.
Setting up runit (2.1.2-9.2ubuntu1) ...
Setting up procmail (3.22-26) ...
Setting up daemontools (1:0.76-7) ...
Setting up qmail (1.06-6.2~deb10u1build0.20.04.1) ...

The hostname -f command returned: mikaela-HP-100B-All-in-One-PC

Your system needs to have a fully qualified domain name (fqdn) in
order to install the var-qmail packages.

Installation aborted.

dpkg: error processing package qmail (--configure):
 installed qmail package post-installation script subprocess returned error 
exit st
atus 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 package qmail-run (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.1-1) ...
No apport report written because the error message indicates its a followup 
error f
rom 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 20.04
Package: qmail 1.06-6.2~deb10u1build0.20.04.1
ProcVersionSignature: Ubuntu 5.13.0-39.44~20.04.1-generic 5.13.19
Uname: Linux 5.13.0-39-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Apr  8 15:25:33 2022
ErrorMessage: installed qmail package post-installation script subprocess 
returned error exit status 1
InstallationDate: Installed on 2022-04-04 (4 days ago)
InstallationMedia: Ubuntu 20.04.4 LTS "Focal Fossa" - Release amd64 (20220223)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 
3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt  2.0.6
SourcePackage: netqmail
Title: package qmail 1.06-6.2~deb10u1build0.20.04.1 failed to install/upgrade: 
installed qmail package post-installation script subprocess returned error exit 
status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: netqmail (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968374

Title:
  package qmail 1.06-6.2~deb10u1build0.20.04.1 failed to
  install/upgrade: installed qmail package post-installation script
  subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netqmail/+bug/1968374/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to