Old:
Ubuntu 16.04 LTS / iMSCP Build: 20170908 (1.5.1)
New:
Ubuntu 18.04 LTS / iMSCP Build: 2018120800 (1.5.3)
1)
In order to test the installation-process of the current i-mscp-version, I cloned by webserver's content into a local VM. After a number of install-steps, the installer stopped because of:
So I had a closer look on what happened.
master.cf:
(Second one is line 48).
Running postconf manually led to the same problem. It turned out that missing whitespaces led to this problem.
So I looked up where these two lines come from - a postfix listener:
Obvisously I forgot to intruduce whitespaces in the second line. So I did now but again, postconf complained. Finally, after deleting those two lines from config as well as listener, it worked.
I'm not sure if I did something wrong or if imscp "forgets" to add the whitespaces I introduced.
2)
However, I'm having another question:
I'm using phpswitcher along with two 5.6-versions and one 7.1. It turned out that 5.6 was deactivated because of:
Quote
`/opt/phpswitcher/20170817/php5.6/bin/php-cgi' doesn't looks like a PHP FastCGI binary
To be honest, I don't know whats wrong with it. So my question is: what could be the missing criteria?
3)
At last, after upgrading from 16.04 to 18.04, I started the imscp-installer. This didn't work because of
QuoteDisplay MoreThe following packages have unmet dependencies:
curl : Depends: libcurl4 (= 7.58.0-2ubuntu3.5) but it is not going to be installed
php7.1-curl : Depends: libcurl4 (>= 7.44.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
[ERROR] autoinstaller::Functions::build: An error occurred while performing build steps
After running "apt-get install curl" a lot of packages were installed (PHP 7.1 e.g.). But again, the next try led into:
QuoteThe following packages have unmet dependencies:
apache2 : Depends: apache2-utils (= 2.4.29-1ubuntu4.5)
Depends: apache2-data (= 2.4.29-1ubuntu4.5) but 2.4.37-1+ubuntu16.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
"apt list --upgradable" showed several packages to be installed, so I did.
QuoteThe following packages will be upgraded:
libgd-dev libgd3 libpcre16-3 libpcre3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libssl1.1 libtidy-dev libtidy5deb1 openssl php-apcu php-apcu-bc php-bcmath php-bz2 php-common php-pear php-soap php7.1 php7.2-bcmath php7.2-bz2
php7.2-common php7.2-soap
23 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Unfortunately next try to start installation led into:
QuoteThe following packages have unmet dependencies:
apache2 : Depends: apache2-data (= 2.4.29-1ubuntu4.5) but 2.4.37-1+ubuntu16.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
So it turned out, that apache has not been installed because of dependency-problems.
QuoteDisplay Moreroot@lsrv8 /var/log # aptitude install apache2
The following NEW packages will be installed:
apache2{b} apache2-bin{a} apache2-utils:i386{ab} gcc-8-base:i386{a} libapr1:i386{a} libaprutil1:i386{a} libaprutil1-ldap{a} libc6:i386{a} libdb5.3:i386{a} libexpat1:i386{a} libgcc1:i386{a} libgdbm5:i386{a} libssl1.1:i386{a}
libuuid1:i386{a}
0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 6453 kB of archives. After unpacking 23.2 MB will be used.
The following packages have unmet dependencies:
apache2 : Depends: apache2-data (= 2.4.29-1ubuntu4.5) but 2.4.37-1+ubuntu16.04.1+deb.sury.org+1 is installed
apache2-utils : Conflicts: apache2-utils:i386 but 2.4.29-1ubuntu4.5 is to be installed
apache2-utils:i386 : Conflicts: apache2-utils but 2.4.37-1+ubuntu16.04.1+deb.sury.org+1 is installed
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) apache2 [Not Installed]
2) apache2-utils:i386 [Not Installed]
Finally I ended up with
QuoteDisplay MoreAccept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) apache2-utils:i386 [Not Installed]
Downgrade the following packages:
2) apache2-data [2.4.37-1+ubuntu16.04.1+deb.sury.org+1 (now) -> 2.4.29-1ubuntu4.5 (bionic-updates)]
3) apache2-utils [2.4.37-1+ubuntu16.04.1+deb.sury.org+1 (now) -> 2.4.29-1ubuntu4.5 (bionic-updates)]
This worked.
Well, but in the end, I don't know where these dependency-problems came from. Is this maybe because of using
deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
deb-src http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
?
I just mention all that stuff, because phpswitcher introduced this repository.
I'm sorry to put three things into a single topic, but I'm not sure if they're really related to imscp or jsut because I made something wrong. So I don't wanted to open 3 threads in a row.
Thanks in advance.