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
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.
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"'.
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?
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
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.