Ubuntu 18.04 - not find „php7.2-mcrypt“
On fresh Ubuntu 18.04 can't install rtinst.
It collapses. rtinst log say can't find „php7.2-mcrypt“
In Ubuntu 18.04 was mcrypt removed by php7.2 It is no longer part of php7.2 but the script requires it.
There is the option to reduce to PHP7.1. But that's a bad idea.
Where is the script failing? It should just skip installing this package as it is unavailable.
I do not know how to skip. The script fails right at the start while downloading dependencies.
I had this same thing on my brand new install of 18.04. It gave an error & said to check log. I couldn't find a log. But I went into the rtinst script with text editor & just removed php7.2-mcrypt from the command that installs all depencies. Afterwards I did some google magic & found an alternate way to install php7.2-mcrypt (check this git: https://gist.github.com/arzzen/1209aa4a430bd95db3090a3399e6c35f). I could then run & install the rtinst script with no further issue.
Thanks for the suggestion @zotteken I also found yesterday this and other guides. Unfortunately, I had problems. I installed mcrypt but he was not undetected. Perhaps I need to add to php.ini I'll try again,
If mcrypt has lower performance and worse security it would be better to replace it.
Fresh install Kubuntu 18.04 Make this steps https://gist.github.com/arzzen/1209aa4a430bd95db3090a3399e6c35f
Install rtinst

rtinst log

It still says you can not find a matching package php7.2-mcrypt

Any ideas friends?
When I modify rtinst => remove $phpver-mcrypt in rtinst/scripts/rtinst Install rtinst done.
It works. My recommendation is to modify the script so that it detects php7.2 and later to skip the mcrypt installation. Or, replace mcrypt with the new api php7.2 +
You don't need this package, so no need to replace it. I will take it out, but it should have ignored the package, as it does on my test system as it detects that it is unavailable.
If you run into this issue, you can use the master branch, run the command 'rtsetup master' then run rtinst as normal until I put it into an actual release.
Well it works without it, so its removal of addiction solves everything. The thread may be closed. :)