[Bug 1235783] Re: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
[Expired for dovecot (Ubuntu) because there has been no activity for 60 days.] ** Changed in: dovecot (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in Ubuntu. https://bugs.launchpad.net/bugs/1235783 Title: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1235783/+subscriptions -- 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
[Bug 1235783] Re: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
The checks in the postinst should deal with this: if [ -e $OLD_SSL_CERT ] || [ -e $OLD_SSL_KEY ]; then echo You already have ssl certs for dovecot. echo However you should move them out of /etc/ssl echo and into /etc/dovecot and update the configuration echo in /etc/dovecot/conf.d/10-ssl.conf accordingly. echo See /usr/share/doc/dovecot-core/README.Debian.gz for details. # Create backward compatible symlinks to keep dovecot functioning if [ ! -e $SSL_CERT ]; then echo Creating compat symlink for $OLD_SSL_CERT ln -s $OLD_SSL_CERT $SSL_CERT fi if [ ! -e $SSL_KEY ]; then echo Creating compat symlink for $OLD_SSL_KEY ln -s $OLD_SSL_KEY $SSL_KEY fi fi Please can you check what type of file /etc/dovecot/private/dovecot.pem is? Thanks ** Changed in: dovecot (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in Ubuntu. https://bugs.launchpad.net/bugs/1235783 Title: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1235783/+subscriptions -- 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
[Bug 1235783] Re: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
Thanks for reporting this. Problem seems to be in that bit: ln: failed to create symbolic link ‘/etc/dovecot/private/dovecot.pem’: File exists So in the upgrade, if file exists, it's stopping that to install the package. Marking as bug to better handle with existing files. In the moment, can you remove /etc/dovecot/private/dovecot.pem file and reinstall package again? Best Yolanda ** Changed in: dovecot (Ubuntu) Importance: Undecided = Low -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in Ubuntu. https://bugs.launchpad.net/bugs/1235783 Title: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1235783/+subscriptions -- 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
[Bug 1235783] Re: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
** Tags removed: need-duplicate-check -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in Ubuntu. https://bugs.launchpad.net/bugs/1235783 Title: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1235783/+subscriptions -- 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
[Bug 1235783] Re: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a). Setting up dovecot-core (1:2.1.7-7ubuntu2) ... You already have ssl certs for dovecot. However you should move them out of /etc/ssl and into /etc/dovecot and update the configuration in /etc/dovecot/conf.d/10-ssl.conf accordingly. See /usr/share/doc/dovecot-core/README.Debian.gz for details. Creating compat symlink for /etc/ssl/private/dovecot.pem ln: failed to create symbolic link ‘/etc/dovecot/private/dovecot.pem’: File exists dpkg: error processing dovecot-core (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of dovecot-imapd: dovecot-imapd depends on dovecot-core (= 1:2.1.7-7ubuntu2); however: Package dovecot-core 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-core (= 1:2.1.7-7ubuntu2); however: Package dovecot-core is not configured yet. dpkg: error processing dovecot-pop3d (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: dovecot-core dovecot-imapd dovecot-pop3d -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dovecot in Ubuntu. https://bugs.launchpad.net/bugs/1235783 Title: package dovecot-core 1:2.1.7-7ubuntu2 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1235783/+subscriptions -- 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