For Mandriva, there is such feature, developed by a member of BlogDrake. He called it RecoverDrake. You just need to add the BlogDrake repository http://blogdrake.net/blog/katnatek/dependenciasdrake and install recoverdrake via urpmi. Probably, you might want to collaborate and make a Mageia version. Bye! motitos