Public bug reported: dovecot-sieve post-installation fails when directory /etc/dovecot/conf.d/ is missing. Maybe post-installation should mkdir -p the directory?
$ sudo apt-get install dovecot-sieve [sudo] password for imapadmin: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: dovecot-sieve 0 upgraded, 1 newly installed, 0 to remove and 71 not upgraded. Need to get 283 kB of archives. After this operation, 1,015 kB of additional disk space will be used. Get:1 http://ch.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dovecot-sieve amd64 1:2.2.22-1ubuntu2.6 [283 kB] Fetched 283 kB in 0s (2,135 kB/s) Selecting previously unselected package dovecot-sieve. (Reading database ... 110575 files and directories currently installed.) Preparing to unpack .../dovecot-sieve_1%3a2.2.22-1ubuntu2.6_amd64.deb ... Unpacking dovecot-sieve (1:2.2.22-1ubuntu2.6) ... Processing triggers for dovecot-core (1:2.2.22-1ubuntu2.6) ... Processing triggers for man-db (2.7.5-1) ... Setting up dovecot-sieve (1:2.2.22-1ubuntu2.6) ... Creating config file /etc/dovecot/conf.d/90-sieve.conf with new version cp: cannot create regular file '/etc/dovecot/conf.d/90-sieve.conf': No such file or directory dpkg: error processing package dovecot-sieve (--configure): subprocess installed post-installation script returned error exit status 1 Processing triggers for dovecot-core (1:2.2.22-1ubuntu2.6) ... Errors were encountered while processing: dovecot-sieve E: Sub-process /usr/bin/dpkg returned an error code (1) ** Affects: dovecot (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1752329 Title: dovecot-sieve post-installation fails when directory /etc/dovecot/conf.d/ is missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1752329/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
