ubuntu aptitude doesnt install #php php5-mcrypt correctly but its a known bug

ubuntu aptitude doesnt install php5-mcrypt correctly and breaks php cli and nginx php fpm but its a known bug

bug

workaround

or

# cd cli/conf.d/
# ln -s ../../mods-available/mcrypt.ini 20-mcrypt.ini
# cd fpm/conf.d/
# ln -s ../../mods-available/mcrypt.ini 20-mcrypt.ini