Php-pear - it is not installable

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.2
Virtualmin version 2.303

Hi.

I have one packed I can’t update! - Its “php-pear”

When I run apt update, I get this output!

1 package can be upgraded. Run 'apt list --upgradable' to see it.

When I run apt upgrade, I get this output.

The following packages have been kept back: php-pear

If i run this command: apt install php-pear I get this output:

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 to fix this?

Thanks..

Regards

Thomas

Already a thread on this, but, I’d say wait a day as sometimes the php packages seem to lag in updates.

2 Likes

HI.

Sorry, have not seen this post :slight_smile:

This can be closed.

Hi

I too have the same error since today, first time it happens to me

SYSTEM INFORMATION
Version Usermin 2.203
Version Virtualmin 7.30.8
Version Apache 2.4.62

Installation le(s) composant(s) avec la commande apt-get -y install php-pear …

Reading package lists…
Building dependency tree…
Reading state information…
Some 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-pear : Depends: php-archive-tar (>= 1.4.9) but it is not installable
E: Unable to correct problems, you have held broken packages.

Another similar post from today here : Php pear update has been held back

Hi.

Just an update..

today I just ran:

apt update

apt upgrade

It’s fixed this issue for me.

I did nothing except the normal update and it worked. As I said earlier, this isn’t the first time I’ve seen PHP updates get out of sync.


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