Php pear update has been held back

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.2
Webmin version 2.303
Virtualmin version 7.30.8
Webserver version Apache2
Related packages SUGGESTED

Hello…

I have encountered a problem updating my Virtualmin server this morning. There is only one package to upgrade. PHP pear. When I try to upgrade to the newest version I get an error.

I have multiple versions of PHP installed through ppa:ondrej/php This error seems to be with PHP 8.3 (but I could be wrong)

Before I try doing something myself that could really make a mess of the system, I thought I would try to get better advice since this is a production server very important to my business!

Here is what it’s trying to install:

php-pear PEAR Base System New version 1.10.16+submodules+notgz-1+ubuntu24.04.1+deb.sury.org+1

Here is the error:

The following packages have been kept back:
php-pear
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

The following packages have unmet dependencies:
php-pear : Depends: php-archive-tar (>= 1.4.9) but it is not installable
E: Unable to correct problems, you have held broken packages.

How can I fix this problem?

Thanks in advance!


Maybe wait. I’ve seen it a couple times where the php updates get out of sync and some get released early before the whole tree gets fixed.

EDIT: I just ran into this. But I’m pretty sure this is an upstream package thing and will be noticed quickly.

This is a third-party package. Have you disabled the related sury repo since installing it?

If not, it’s a question/concern for the repo maintainers, as it’s a dependency issue with their packages. Sometimes there are changes that require manually removing and reinstalling a specific packages. This is most likely in cases where the OS has been upgraded since you installed packages from the third party repository.

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