PHP 7.1 Failed On Trunk Upgrade To RC-25
-
Hi
Trying to upgrade FOG trunk from RC-14 to RC-25. During installation PHP 7.1 fails to install.
Wondered if anyone can help me with this
Kind Regards
Lawrence Lonsdale
-
Hi All
As you can see below PHP 7.1 fails to install can anyone help me fix this so i can update to Trunk RC-25
Thanks in advance
Lawrence Lonsdale
* Installing package: apache2.................................OK * Skipping package: bc........................................(Already Installed) * Skipping package: build-essential...........................(Already Installed) * Skipping package: cpp.......................................(Already Installed) * Skipping package: curl......................................(Already Installed) * Skipping package: g++.......................................(Already Installed) * Installing package: gawk....................................OK * Skipping package: gcc.......................................(Already Installed) * Skipping package: gzip......................................(Already Installed) * Skipping package: htmldoc...................................(Already Installed) * Skipping package: lftp......................................(Already Installed) * Installing package: libapache2-mod-php7.1...................OK * Skipping package: libc6.....................................(Already Installed) * Skipping package: libcurl3..................................(Already Installed) * Skipping package: m4........................................(Already Installed) * Skipping package: mysql-client..............................(Already Installed) * Skipping package: mysql-server..............................(Already Installed) * Skipping package: net-tools.................................(Already Installed) * Skipping package: nfs-kernel-server.........................(Already Installed) * Skipping package: openssh-server............................(Already Installed) * Installing package: php7.1..................................Failed!
-
What does it say if you manually try installing with:
sudo apt-get install php7.1
-
@Tom-Elliott Tried running that command and it ran through then tried upgrading to RC-25 again just for the same thing to happen.
Kind Regards
Lawrence
-
What did it say when you manually ran it?
-
sudo apt-get install php7.1 [sudo] password for isops: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php7.1 E: Couldn't find any package by regex 'php7.1'
-
@lawrence1997 said in PHP 7.1 Failed On Trunk Upgrade To RC-25:
E: Couldn’t find any package by regex ‘php7.1’
I think you might be using a version of Ubuntu that is no longer supported? Like Ubuntu 15 perhaps? This is why I ask:
http://stackoverflow.com/questions/35758324/cannot-install-php7-0-fpm-via-ppaondrej-php -
There is a possibility that this could be fixed by FOG 1.3.0 RC-27 when it’s released. I found some issues with Ubuntu installation over the weekend that have to do with PHP, and Tom has those issues fixed already. It could be related but I’m not sure. If you would rather not wait for RC-27 and would like to try the fixes imediately, please IM myself @wayne-workman or @Quazz or @george1421 or @Tom-Elliott for directions on moving to the next working branch.
-
@Wayne-Workman It had nothing to do with PHP. It had to do with the FOG Services not being properly picked up. PHP code had nothing to do with any of these problems. (Not saying there wasn’t a coding problem, just want people to more properly know what/where a problem is.)
The php not installing proper wasn’t something I’ve been able to replicate. But after this, a fresh install didn’t start the proper portions of the services which has been addressed.