Can't update to 5.0 (php7.2-intl)

Please follow the below template, it will help us to help you!

Expected Behaviour:

Update from 4.x to 5.0

Actual Behaviour:

ome 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:
php-intl : Depends: php7.2-intl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Unable to complete update, please contact Pi-hole Support

Debug Token:

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

When you run sudo apt update and sudo apt upgrade on the OS, are any errors shown?

No error for either command.

Try sudo apt update --fix-missing

I actually have this same issue. I am on ubuntu 18.04. Fully up to date. Nothing is missing, there isn't anything to remove or fix. I tried uninstalling php first but same thing.

It seems like the dependency for php7.2-intl is only for an older version?

The following information may help to resolve the situation:

The following packages have unmet dependencies:
php7.2-intl : Depends: php7.2-common (= 7.2.3-1ubuntu1) but 7.2.24-0ubuntu0.18.04.4 is to be installed

This was resolved by installing aptitude
then running sudo aptitude install php-itil
This prompts for different solutions. I said no to the first which was to stay at the current version, the 2nd was to downgrade about 10 packages to older versions to meet the requirements of php-itil which allowed it to be installed. I was now able to install pihole 5.

Unfortunately that didn't work.

After installing aptitude, I ran "sudo aptitude install php-itil" which comes back with "Couldn't find any package whose name or description matched "php-itil"'.

sudo aptitude install php-intl

Name of the package was wrong. Just use it for the one you're getting in your error message. Not mine.

Ah missed that. However, in the end, I'm still getting the same error trying to upgrade to 5.0.

Can't help if you don't paste the errors. Did you follow the aptitude and hit no and then yes to downgrade the packages required so it would actually install?

There were no errors running "sudo aptitude install php7.2-intl".
And yes, I hit "no" the first time and "yes" the second time.

Here is a new debug token due to some of the changes from above.
https://tricorder.pi-hole.net/3oo13lfv8t

What version of PHP do you have installed?

Version = PHP 7.2.3

So is there no solution for this error I'm getting? (the original post)

The following packages have unmet dependencies:
php-intl : Depends: php7.2-intl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Unable to complete update, please contact Pi-hole Support

To clean up the thread, I moved the other user's problem to a new post. Now we can focus on your problem alone.

Which Ubuntu version do you use? And did you install PHP from the official Ubuntu repositories or any 3rd party repo? Looks like a repo inconsistency otherwise when php7.2-intl wants PHP 7.2.3 while the repo ships PHP 7.2.24.

I'm running 18.04 (18.04.4).
The only thing I installed on here was pi-hole. I don't use this for anything else so I would not have installed PHP separately.