Public bug reported:
$ sudo apt install dovecot-antispam dovecot-core dovecot-imapd dovecot-
managesieved dovecot-pop3d dovecot-sieve
...
Failed to restart dovecot.service: Unit var.mount is masked.
invoke-rc.d: initscript dovecot, action "restart" failed.
● dovecot.service - Dovecot IMAP/POP3 email server
Loaded: loaded (/lib/systemd/system/dovecot.service; enabled; vendor
preset: enabled)
Active: inactive (dead)
Docs: man:dovecot(1)
http://wiki2.dovecot.org/
dpkg: error processing package dovecot-core (--configure):
installed dovecot-core package post-installation script subprocess returned
error exit status 1
Errors were encountered while processing:
dovecot-core
E: Sub-process /usr/bin/dpkg returned an error code (1)
1) Ubuntu release:
$ lsb_release -sd
Ubuntu 20.04.2 LTS
2) Package version
$ apt-cache policy dovecot-core
dovecot-core:
Installed: 1:2.3.7.2-1ubuntu3.4
Candidate: 1:2.3.7.2-1ubuntu3.4
Version table:
*** 1:2.3.7.2-1ubuntu3.4 500
500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64
Packages
500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
100 /var/lib/dpkg/status
1:2.3.7.2-1ubuntu3 500
500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
3) Expected
Install to complete without error
4) `apt install dovecot-core` generated an error when trying to restart
"dovecot.service"
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: dovecot-core 1:2.3.7.2-1ubuntu3.4
ProcVersionSignature: Ubuntu 5.8.0-59.66~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-59-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.18
Architecture: amd64
CasperMD5CheckResult: skip
Date: Sat Jun 26 20:27:45 2021
ErrorMessage: installed dovecot-core package post-installation script
subprocess returned error exit status 1
InstallationDate: Installed on 2021-06-27 (0 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64
(20210209.1)
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal,
3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.19.7ubuntu3
apt 2.0.5
SourcePackage: dovecot
Title: package dovecot-core 1:2.3.7.2-1ubuntu3.4 failed to install/upgrade:
installed dovecot-core package post-installation script subprocess returned
error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: dovecot (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/1933750
Title:
package dovecot-core 1:2.3.7.2-1ubuntu3.4 failed to install/upgrade:
installed dovecot-core package post-installation script subprocess
returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1933750/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs