Courierr Errors were encountered while processing

Discussion in 'General' started by AsDsL, Nov 29, 2009.

  1. AsDsL

    AsDsL New Member

    Hi,
    I'm trying to 'aptitude safe-upgrade' my Ubunto IspConfig3 server and having this problem with courier.
    How may I fix it?

    Thanks in advance,
    Tony


    ============
    (Reading database ... 52172 files and directories currently installed.)
    Preparing to replace php5-cgi 5.2.10.dfsg.1-2ubuntu6.1 (using .../php5-cgi_5.2.10.dfsg.1-2ubuntu6.3_amd64.deb) ...
    Unpacking replacement php5-cgi ...
    Preparing to replace php5 5.2.10.dfsg.1-2ubuntu6.1 (using .../php5_5.2.10.dfsg.1-2ubuntu6.3_all.deb) ...
    Unpacking replacement php5 ...
    Preparing to replace php5-cli 5.2.10.dfsg.1-2ubuntu6.1 (using .../php5-cli_5.2.10.dfsg.1-2ubuntu6.3_amd64.deb) ...
    Unpacking replacement php5-cli ...
    Preparing to replace php5-mysql 5.2.10.dfsg.1-2ubuntu6.1 (using .../php5-mysql_5.2.10.dfsg.1-2ubuntu6.3_amd64.deb) ...
    Unpacking replacement php5-mysql ...
    Preparing to replace php5-mhash 5.2.10.dfsg.1-2ubuntu6.1 (using .../php5-mhash_5.2.10.dfsg.1-2ubuntu6.3_amd64.deb) ...
    Unpacking replacement php5-mhash ...
    Preparing to replace php5-gd 5.2.10.dfsg.1-2ubuntu6.1 (using .../php5-gd_5.2.10.dfsg.1-2ubuntu6.3_amd64.deb) ...
    Unpacking replacement php5-gd ...
    Preparing to replace libapache2-mod-php5 5.2.10.dfsg.1-2ubuntu6.1 (using .../libapache2-mod-php5_5.2.10.dfsg.1-2ubuntu6.3_amd64.deb) ...
    Unpacking replacement libapache2-mod-php5 ...
    Preparing to replace php5-common 5.2.10.dfsg.1-2ubuntu6.1 (using .../php5-common_5.2.10.dfsg.1-2ubuntu6.3_amd64.deb) ...
    Unpacking replacement php5-common ...
    Preparing to replace php-pear 5.2.10.dfsg.1-2ubuntu6.1 (using .../php-pear_5.2.10.dfsg.1-2ubuntu6.3_all.deb) ...
    Unpacking replacement php-pear ...
    Processing triggers for man-db ...
    Setting up courier-base (0.61.2-1ubuntu2) ...
    update-alternatives: error: alternative link /usr/share/man/man5/maildir.5.gz is already managed by maildir.5.gz.
    dpkg: error processing courier-base (--configure):
    subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of courier-pop:
    courier-pop depends on courier-base (>= 0.61.2); however:
    Package courier-base is not configured yet.
    dpkg: error processing courier-pop (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of courier-ssl:
    courier-ssl depends on courier-base (>= 0.61.2); however:
    Package courier-base is not configured yet.
    dpkg: error processing courier-ssl (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of courier-pop-ssl:
    courier-pop-ssl depends on courier-pop; however:
    Package courier-pop is not configured yet.
    courier-pop-ssl depends on courier-ssl (>= 0.61.2); however:
    Package courier-ssl is not configured yet.
    dpkg: error processing courier-pop-ssl (--configure):
    dependency problems - leavinNo apport report written because the error message indicates its a followup error from a previous failure.
    No apport report written because the error message indicates its a followup error from a previous failure.
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    g unconfigured
    dpkg: dependency problems prevent configuration of courier-imap:
    courier-imap depends on courier-base (>= 0.61.2); however:
    Package courier-base is not configured yet.
    dpkg: error processing courier-imap (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of courier-imap-ssl:
    courier-imap-ssl depends on courier-imap (>= 1.3.7-3); however:
    Package courier-imap is not configured yet.
    courier-imap-ssl depends on courier-ssl (>= 0.61.2); however:
    Package courier-ssl is not configured yet.
    dpkg: error processing courier-imap-ssl (--configure):
    dependency problems - leaving unconfigured
    Setting up php5-common (5.2.10.dfsg.1-2ubuntu6.3) ...
    Setting up php5-cgi (5.2.10.dfsg.1-2ubuntu6.3) ...

    Setting up libapache2-mod-php5 (5.2.10.dfsg.1-2ubuntu6.3) ...
    * Reloading web server config apache2 [ OK ]

    Setting up php5 (5.2.10.dfsg.1-2ubuntu6.3) ...
    Setting up php5-cli (5.2.10.dfsg.1-2ubuntu6.3) ...

    Setting up php5-mysql (5.2.10.dfsg.1-2ubuntu6.3) ...

    Setting up php5-mhash (5.2.10.dfsg.1-2ubuntu6.3) ...

    Setting up php5-gd (5.2.10.dfsg.1-2ubuntu6.3) ...

    Setting up php-pear (5.2.10.dfsg.1-2ubuntu6.3) ...
    Errors were encountered while processing:
    courier-base
    courier-pop
    courier-ssl
    courier-pop-ssl
    courier-imap
    courier-imap-ssl
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install. Trying to recover:
    Setting up courier-base (0.61.2-1ubuntu2) ...
    update-alternatives: error: alternative link /usr/share/man/man5/maildir.5.gz is already managed by maildir.5.gz.
    dpkg: error processing courier-base (--configure):
    subprocess installed post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of courier-imap:
    courier-imap depends on courier-base (>= 0.61.2); however:
    Package courier-base is not configured yet.
    dpkg: error processing courier-imap (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of courier-ssl:
    courier-ssl depends on courier-base (>= 0.61.2); however:
    Package courier-base is not configured yet.
    dpkg: error processing courier-ssl (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of courier-pop:
    courier-pop depends on courier-base (>= 0.61.2); however:
    Package courier-base is not configured yet.
    dpkg: error processing courier-pop (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of courier-pop-ssl:
    courier-pop-ssl depends on courier-pop; however:
    Package courier-pop is not configured yet.
    courier-pop-ssl depends on courier-ssl (>= 0.61.2); however:
    Package courier-ssl is not configured yet.
    dpkg: error processing courier-pop-ssl (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of courier-imap-ssl:
    courier-imap-ssl depends on courier-imap (>= 1.3.7-3); however:
    Package courier-imap is not configured yet.
    courier-imap-ssl depends on courier-ssl (>= 0.61.2); however:
    Package courier-ssl is not configured yet.
    dpkg: error processing courier-imap-ssl (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    courier-base
    courier-imap
    courier-ssl
    courier-pop
    courier-pop-ssl
    courier-imap-ssl
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done

    Current status: 0 updates [-10].
    You have new mail in /var/mail/root
    root@ns1:~#
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

Share This Page