Can't upgrade, php7.0-intl not available

The issue I am facing:
I am trying to install the updated 5.3.1 version of Pihole. The repo was updated, and the web interface shows 5.3.1, but still wants me running pihole -up on the console.

When I do so, it stops because it cannot find the php7.0-intl package, as below:

...
  [i] Checking for php7.0-intl (will be installed)
  [i] Processing apt-get install(s) for: php7.0-intl, please wait...
---------------------------------------------------------------------
E: Package 'php7.0-intl' has no installation candidate

  Unable to complete update, please contact Pi-hole Support

Details about my system:
RaspberryPi, running Raspbian Buster, up to date (apt).

https://tricorder.pi-hole.net/lnU8SinJ/

What I have changed since installing Pi-hole:

Nothing that I can think of. It was a set-and-forget kind of system. I use a custom upstream DNS server, following the guide on Pi-hole's website for Unbound DNS.

For some reason you have PHP 7.0 installed and on Buster you should be using PHP 7.3.

https://packages.debian.org/buster/php

That would give you the right intl package at https://packages.debian.org/buster/php7.3-intl

Was this an in-place upgrade from Stretch?

Yes, I believe it was.

This appears to have been fixed by manually installing PHP7.3 first, then running the Pihole upgrade:

sudo apt update && sudo apt install php7.3
pihole -u

Thanks for pointing me in the right direction

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.