Update from 1.4.3 to 1.4.5 - Nginx - E: Unable to correct problems, you have held broken packages

  • Hello ,
    When i start the install script, and i get this error messages.
    I search in google but i can`t found anything helpfull for me.


    Code
    1. The following packages have unmet dependencies:
    2. nginx-full : Depends: nginx-common (= 1.10.0-0ubuntu0.16.04.4) but 1.10.3-0ubuntu0.16.04.1 is to be installed
    3. E: Unable to correct problems, you have held broken packages.

    OS:Ubuntu Xenial
    I-MSCP: 1.4.3
    Plugins: All deactiveted

    OpEn YouR mINd , OpeN YouR SourcE cOdE

  • @All


    Result of the following commands please:


    Shell-Script
    1. # apt-cache policy nginx-common

    and

    Shell-Script
    1. # apt-cache policy nginx-full

    BUT FIRST PLEASE, DO THE FOLLOWING:

    Disable any xenial-proposed Ubuntu repository in your /etc/apt/sources.list that we don't support and which is not recomended.

    Then, do:

    Shell-Script
    1. # apt-get update && apt-get --assume-yes --auto-remove --no-install-recommends dist-upgrade

    as asked here.


    Finally, rerun the i-MSCP installer.

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

    account_detailed.gif

  • Hello,
    That it`s my sources.list

    Code
    1. root@www(~)# cat /etc/apt/sources.listdeb http://archive.ubuntu.com/ubuntu xenial main multiverse universe restricteddeb-src http://archive.ubuntu.com/ubuntu xenial main universe multiversedeb http://archive.ubuntu.com/ubuntu xenial-security main multiverse universe restricteddeb-src http://archive.ubuntu.com/ubuntu xenial-security main universe multiversedeb http://ppa.launchpad.net/ondrej/php/ubuntu xenial maindeb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main



    that the result of

    Code
    1. root@www(~)# apt-cache policy nginx-commonnginx-common: Installed: 1.10.3-0ubuntu0.16.04.1 Candidate: 1.10.3-0ubuntu0.16.04.1 Version table: *** 1.10.3-0ubuntu0.16.04.1 100 100 /var/lib/dpkg/status 1.10.0-0ubuntu0.16.04.4 500 500 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu xenial-security/main i386 Packages 1.9.15-0ubuntu1 500 500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages 500 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages

    and

    Code
    1. apt-cache policy nginx-full
    2. nginx-full:
    3. Installed: (none)
    4. Candidate: 1.10.0-0ubuntu0.16.04.4
    5. Version table:
    6. 1.10.0-0ubuntu0.16.04.4 500
    7. 500 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
    8. 1.9.15-0ubuntu1 500
    9. 500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

    and the errot still the same.

    OpEn YouR mINd , OpeN YouR SourcE cOdE

  • Hello ,
    When i remove the ngnix package and then run auto install scripts everything was installed normally.


    10x

    OpEn YouR mINd , OpeN YouR SourcE cOdE