php-mcrypt : Depends: php7.2-mcrypt but it is not installable

6 posts / 0 new
Last post
#1 Fri, 03/30/2018 - 04:29
adamjedgar

php-mcrypt : Depends: php7.2-mcrypt but it is not installable

how to fix the following?

(i went into server using ssh and performed an apt-get update and apt-get upgrade prior to attempting to install some updates virtualmin found itself afterwards)

I have installed all of the updates below except php-mcrypt...i cannot get that one to work.

Building complete list of updates ..
Now updating google-compute-engine linux-image-amd64 php-mcrypt python-google-compute-engine ..
Installing package(s) with command apt-get -y install google-compute-engine linux-image-amd64 php-mcrypt python-google-compute-engine ..
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-mcrypt : Depends: php7.2-mcrypt but it is not installable
E: Unable to correct problems, you have held broken packages.
.. install failed!

No packages were installed. Check the messages above for the cause of the error.

Why is system updates offering the update when apparently mcrypt is available for php 7.2?

Sun, 04/01/2018 - 19:41
Diabolico
Diabolico's picture

I will quote a post i made last month:

From PHP 7.1.X mcrypt is deprecated so probably completely removed from 7.2 (and any future releases) in favor of OpenSSL. Last mcrypt update was before several years and as a project is dead, so the decision to remove it is justified. Anyone still using it are playing a russian roulette with their server because software without updates for almost 10 years cannot be classified as secure.

You should really read the release notes before you venture in upgrades or new installation. It helps in the long run for things to work properly. Oh yes, search helps as in this case you dont need to wait for an answer.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Sat, 05/12/2018 - 02:14
adamjedgar

if it is dead, why does the virtualmin updater keep on bloody offering it in the list of updates? I am still getting this more than 1 month after posting this question.

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Sat, 05/12/2018 - 16:43
Diabolico
Diabolico's picture

Because Centos 7 by default comes with PHP 5.4 where mcrypt is still present and needed, e.g. if i remember right phpMyAdmin have it as requirement/dependency on PHP 5.4. Same for Centos 6 and default PHP 5.3.

Probably similar situation with other OS like Ubuntu or Debian.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Thu, 05/31/2018 - 14:22
adamjedgar

So is there eomeway to disable the reminder for this update for debian...if its not needed in debian and not installed,surely the updater shouldnt keep telling me it needs updating?

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Thu, 05/31/2018 - 17:43
Diabolico
Diabolico's picture

If you remove it then there will be no updates. You see the update reminder for mcrypt because you have it already installed or its a dependency for something else. Either way please check if you need it or not before removing mcrypt to not end with something "broken".

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Topic locked