Public bug reported:

If /etc/dovecot is removed, purge and install for dovecot cease the
function.


sudo apt-get install dovecot-imapd dovecot-pop3d
Reading package lists... Done
Building dependency tree       
Reading state information... Done
dovecot-imapd is already the newest version.
dovecot-pop3d is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up dovecot-common (1:1.0.10-1ubuntu5.2) ...
Not replacing deleted config file /etc/dovecot/dovecot.conf
Not replacing deleted config file /etc/dovecot/dovecot-ldap.conf
Not replacing deleted config file /etc/dovecot/dovecot-sql.conf
chmod: cannot access `/var/run/dovecot': No such file or directory
dpkg: error processing dovecot-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of dovecot-imapd:
 dovecot-imapd depends on dovecot-common (= 1:1.0.10-1ubuntu5.2); however:
  Package dovecot-common is not configured yet.
dpkg: error processing dovecot-imapd (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of dovecot-pop3d:
 dovecot-pop3d depends on dovecot-common (= 1:1.0.10-1ubuntu5.2); however:
  Package dovecot-common is not configured yet.
dpkg: error processing dovecot-pop3d (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dovecot-common
 dovecot-imapd
 dovecot-pop3d

Creates a loop style sequence where purging and installing both cause
errors, the only way to fix is to create the directory, and 3 blank conf
files, then you can successfully purge and install.

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

-- 
Purge and Reinstall Isn't Functioning
https://bugs.launchpad.net/bugs/542027
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dovecot in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to