These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Update failed... on the new forum.
Building complete list of updates ..
Now updating base-files dbus google-cloud-sdk google-compute-engine google-compute-engine-oslogin iproute2 libdbus-1-3 libicu57 liblog-log4perl-perl libpython2.7 libpython2.7-minimal libpython2.7-stdlib libsqlite3-0 libxml2 linux-image-amd64 openssh-client openssh-server openssh-sftp-server php-cgi php-cli php-common php-curl php-fpm php-gd php-mbstring php-mcrypt php-xml php-zip php5.6-cli php5.6-common php5.6-fpm php5.6-json php5.6-opcache php5.6-readline php7.1-cgi php7.1-cli php7.1-common php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-mbstring php7.1-mcrypt php7.1-opcache php7.1-readline php7.1-xml php7.1-zip python-google-compute-engine python2.7 python2.7-minimal spamc ..
Installing package(s) with command apt-get -y install base-files dbus google-cloud-sdk google-compute-engine google-compute-engine-oslogin iproute2 libdbus-1-3 libicu57 liblog-log4perl-perl libpython2.7 libpython2.7-minimal libpython2.7-stdlib libsqlite3-0 libxml2 linux-image-amd64 openssh-client openssh-server openssh-sftp-server php-cgi php-cli php-common php-curl php-fpm php-gd php-mbstring php-mcrypt php-xml php-zip php5.6-cli php5.6-common php5.6-fpm php5.6-json php5.6-opcache php5.6-readline php7.1-cgi php7.1-cli php7.1-common php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-mbstring php7.1-mcrypt php7.1-opcache php7.1-readline php7.1-xml php7.1-zip python-google-compute-engine python2.7 python2.7-minimal spamc
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.
What to do now? I just imagined that the php 7.2 upgrade would automatically sort this itself?
What distro and version? Which repo are the updates coming from? I would think the system default repositories would get their packages right...but, if you've got third party repos configured, they might not have all of the same packages as the OS repos. You could uninstall php-mcrypt, if it's not provided by whoever is maintaining your PHP packages and you don't use it (but it's pretty commonly used by web apps).
--
Check out the forum guidelines!
I have the same issue. It is caused because " php-mcrypt : Depends: php7.2-mcrypt but it is not installable" there is no php7.2-mcrypt (its been deprecated).
Summit NSIS Licensing
Yah, mcrypt has been deprecated for a while because nobody is maintaining it. It just doesnt exist at all in any 7.2 repos I know of. So you'll need to --
If you really have code that requires mcrypt you are probably best off using 7.1 until you can get the code fixed to use something else.
Oh, I didn't know it'd been deprecated. I'll remove it from our dependencies in the metapackage.
--
Check out the forum guidelines!
Hello,
I got the same trouble.
In my setup I'm using multiple php version so I would like to keep mcrypt for my php 5.6 => 7.1 vhost and not for 7.2.
Is it possible ? How ?
Thanks
Have you tried the suggested solution? This has been answered already (uninstall php-mcrypt).
--
Check out the forum guidelines!
go to /etc/apt/sources.list.d
you probably have a .list file there. Mine was ondrej-ubuntu-php-xenial.list look in it and see if you have something like
deb http://ppa.launchpad.net/ondrej/php/ubuntu xenial main
and comment it out.
BOOM problem solved
Summit NSIS Licensing
you could just delete the .list file too, but better safe and just comment it out in case something blows up
Summit NSIS Licensing
Hello,
Thanks for your answers :)
Since I still need it I just hold it so it's not stoping my updates and my customer can still use it
~# apt-mark hold php-mcrypt
Thanks
doesnt whmcs use php-mcrypt?
https://ajecreative.com.au
I think WHMCS still doesnt support PHP 7.1 and 7.2 so no problem for now. Maybe you should read this article: https://blog.whmcs.com/133381/whmcs-and-php-71-status-update.
- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.
Issue Solved while installing php7.2-mcrypt
Check this link https://stackoverflow.com/q/48275494/7713811 to get the right solution for installing it in PHP
Thanks for sharing this information. Check this link https://dynamics.folio3.com/dynamics-ax-shopify-connector/ to get the softwares.