E: Package 'php-pdo' has no installation candidate
E: Package 'php-pdo' has no installation candidate
Hi,
Tried to install NagiosXI and got below installation ERROR and guide me to solve below issue.
ERROR:
E: Package 'php-pdo' has no installation candidate
RESULT=100
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './1-prereqs'
Note :
Attached install.log for reference.
PHP versions:
php7.0-common 7.0.33-0ubuntu0.16.04.15
php7.2-common 7.2.24-0ubuntu0.18.04.6
Regards,
Nayana
Tried to install NagiosXI and got below installation ERROR and guide me to solve below issue.
ERROR:
E: Package 'php-pdo' has no installation candidate
RESULT=100
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './1-prereqs'
Note :
Attached install.log for reference.
PHP versions:
php7.0-common 7.0.33-0ubuntu0.16.04.15
php7.2-common 7.2.24-0ubuntu0.18.04.6
Regards,
Nayana
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: E: Package 'php-pdo' has no installation candidate
Hi Nayana,
Thanks for trying out Nagios XI. Is this a clean system with no other applications installed. It should just work otherwise.
Let me know.
Benjamin
Thanks for trying out Nagios XI. Is this a clean system with no other applications installed. It should just work otherwise.
Let me know.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: E: Package 'php-pdo' has no installation candidate
Hi Benjamin,
Yes, it is clean system. Installed only required PHP and Mysql.
Regards,
Nayana
Yes, it is clean system. Installed only required PHP and Mysql.
Regards,
Nayana
Re: E: Package 'php-pdo' has no installation candidate
Please attach your /etc/apt/sources.list.
Re: E: Package 'php-pdo' has no installation candidate
Hi ,
Sorry for the late reply.
Please find the attachment for source.list
Note:
As browser is not allowing me to attach the original file, i have copied to text file and attaching.
Regards,
Nayana
Sorry for the late reply.
Please find the attachment for source.list
Note:
As browser is not allowing me to attach the original file, i have copied to text file and attaching.
Regards,
Nayana
You do not have the required permissions to view the files attached to this post.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: E: Package 'php-pdo' has no installation candidate
Hi,
Thank you for your patience.
I'm going to setup test system internally here to compare the output here and I'll follow up with you shortly.Sorry for the late reply.
Please find the attachment for source.list
Thank you for your patience.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: E: Package 'php-pdo' has no installation candidate
Hi,
Okay.
Regards,
Nayana
Okay.
Regards,
Nayana
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: E: Package 'php-pdo' has no installation candidate
HI,
Perfect, thanks for attaching that output. Just to clarify, is this a 16.04 or 18.04 system (install log says 16.04). Also, can you post the output to the following command? I'd like to confirm which PHP packages were installed properly during the installation.
Perfect, thanks for attaching that output. Just to clarify, is this a 16.04 or 18.04 system (install log says 16.04). Also, can you post the output to the following command? I'd like to confirm which PHP packages were installed properly during the installation.
Code: Select all
apt list --installed | grep php
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: E: Package 'php-pdo' has no installation candidate
Hi,
Please find the attachment for "apt list --installed | grep php"
Regards,
Nayana
Please find the attachment for "apt list --installed | grep php"
Regards,
Nayana
You do not have the required permissions to view the files attached to this post.
Re: E: Package 'php-pdo' has no installation candidate
This was not a clean system. You should not install ANYTHING on the system, prior to running the "fullinstall" script. The installer would take care of all of the dependencies. As far as php goes, you have many packages that should not be present on your system (Ubuntu 18.04):Yes, it is clean system. Installed only required PHP and Mysql.
Please, start with a clean system as per our recommendations.php7.0/now 7.0.33-0ubuntu0.16.04.15 all [installed,local]
php7.0-cli/now 7.0.33-0ubuntu0.16.04.15 amd64 [installed,local]
php7.0-common/now 7.0.33-0ubuntu0.16.04.15 amd64 [installed,local]
php7.0-fpm/now 7.0.33-0ubuntu0.16.04.15 amd64 [installed,local]
php7.0-json/now 7.0.33-0ubuntu0.16.04.15 amd64 [installed,local]
php7.0-mysql/now 7.0.33-0ubuntu0.16.04.15 amd64 [installed,local]
php7.0-opcache/now 7.0.33-0ubuntu0.16.04.15 amd64 [installed,local]
php7.0-readline/now 7.0.33-0ubuntu0.16.04.15 amd64 [installed,local]
php7.0-xml/now 7.0.33-0ubuntu0.16.04.15 amd64 [installed,local]
https://assets.nagios.com/downloads/nag ... -Linux.pdfInstallation Prerequisites
Important: Nagios Enterprises highly recommends and will only support installing Nagios XI on a newly installed, "clean" system (a bare minimal install with nothing else installed or configured).
Be sure to check out our Knowledgebase for helpful articles and solutions!