This warning occurs when you are trying to install a package with pkg_add that has a dependency on a specific version of a package that is not currently installed. In this case, the package php5-pcre-5.2.6_2 requires php5-5.2.8, but you have php5-pcre-5.2.6_2 installed which is not compatible with the required dependency.
To resolve this issue, you have a few options:
- Upgrade
php5-pcreto the latest version that is compatible with the installed version ofphp5. You can do this by running the following command:pkg_add -r php5-pcre
This should install the latest version of
php5-pcrethat is compatible with your current version ofphp5. - Upgrade
php5to the required version. You can do this by running the following command:pkg_add -r php5
This will upgrade
php5to the latest available version. - If you don’t want to upgrade
php5, you can try to find an older version ofphp5-pcrethat is compatible with your installed version ofphp5. You can search for available versions by running the following command:pkg_search -r php5-pcre
This will show you a list of available versions of
php5-pcre. You can then install the specific version you need by runningpkg_addwith the-vflag followed by the package name and version number, like this:pkg_add -v php5-pcre-5.2.6_1
This will install version 5.2.6_1 of
php5-pcre, which is compatible with your current version ofphp5.