Upgrade 1.4.1 failed

  • I want upgrade imscp to 1.4.1
    I first upgrade debian 7 to 8.But it's will upgrade failed on this step.


    [INFO] Satisfying prerequisites Please wait...
    [ERROR] autoinstaller::Adapter::DebianAdapter::installPreRequiredPackages: Could not install pre-required packages:


    libapache2-mod-php5.6 (5.6.30-8+0~20170315222803.29+jessie~1.gbp29ec6b) ...
    /var/lib/dpkg/info/libapache2-mod-php5.6.postinst: 291: [: !=: unexpected operator
    apache2_switch_mpm prefork: No action required
    dpkg: error processing package libapache2-mod-php5.6 (--configure):


    How to fix it?

  • test to Remove libapache2-mod-php5.6 and
    - aptitude --purge apache2
    - cd /usr/local/src/imscp-1.4.1
    - perl imscp-autoinstall -d


    i ve fix the same problem with libapache2-mod-php7.1 after upgrade my server to jessie

    - Distribution: Debian | Release: 9.12 | Codename: stretch
    - i-MSCP Version: i-MSCP 1.5.3 | Build: 2018120800 | Codename: Ennio Morricone
    - Plugins installed: ServerDefaultPage (v. 1.3.0),Postgrey (v. 1.3.0), PolicydWeight (v. 1.3.0), ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), RoundCubePlugins (v 2.0.2), LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), InstantSSH (v 5.0.1), CronJobs (v 1.4.1), PolicydSPF (v 1.2.0), Postscreen (v 1.2.0), Monitorix (v 1.2.2) & SpamAssassin (v 2.1.0)

  • @akong7777


    • Does the /var/log/apache2/aspa.idv.tw directory exists?
    • Does the /var/www/virtual/aspa.idv.tw/logs/aspa.idv.tw directory exists?


    BTW: On thread per problem please.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Could opendkim not support i-mscp 1.4 version?
    Because I was upgrade debian seven to eight.So I need purge libapache2-mod-php5.6 and apache2.Could I purge these package will clean /var/www/ path?

  • @akong7777


    Seriously, you should learn a bit more instead of making assumptions. The error that you showed above has nothing to do with OpenDKIM.


    I've made two big upgrades last night, including one from Wheezy to Jessie and there was no problem. You must only known what you do.


    Now, because you don't answer our questions, I close this thread.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206