Purging the old configuration "aptitude purge php5-idn", and then reinstalling, makes the package installable.
Purging the old configuration "aptitude purge php5-idn", and then reinstalling, makes the package installable.