I have a broken LibreNMS enviroment now… I got the message of daily.sh about my PHP version to low and upgraded to PHP7.2 (on Ubuntu 16).
====================================
Component | Version |
---|---|
LibreNMS | 1.48.1-24-g318e485 |
DB Schema | 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131) |
PHP | 7.2.14-1+0~20190205200805.15+stretch~1.gbpd83c69 |
MySQL | 10.0.29-MariaDB-0ubuntu0.16.10.1 |
RRDTool | 1.6.0 |
SNMP | NET-SNMP 5.7.3 |
====================================
[OK] Composer Version: 1.8.3
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[FAIL] Missing PHP extension: gd
[FIX]:
Please install gd
[WARN] You are on the PHP 5.6/7.0 support branch, this will prevent automatic updates.
[FIX]:
Update to PHP 7.1.3 or newer (PHP 7.2 recommended) to continue to receive updates.
You have new mail in /var/mail/root
[email protected]:/opt/librenms# php -v
PHP 7.2.14-1+0~20190205200805.15+stretch~1.gbpd83c69 (cli) (built: Feb 5 2019 20:08:06) ( NTS )
Copyright © 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright © 1998-2018 Zend Technologies
with Zend OPcache v7.2.14-1+0~20190205200805.15+stretch~1.gbpd83c69, Copyright © 1999-2018, by Zend Technologies
[email protected]:/opt/librenms#
When installing php7.2-gd:
[email protected]:/opt/librenms# apt install php7.2-gd
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php7.2-gd : Depends: libjpeg62-turbo (>= 1.3.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
[email protected]:/opt/librenms#
Anyone know the issue? I cannot install libjpeg62-turbo because:
[email protected]:/opt/librenms# apt install libjpeg62-turbo
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libjpeg62-turbo is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘libjpeg62-turbo’ has no installation candidate
Help would be appreciated!
Desmond