finally I write a perl script to do that I want... I run repomanage -old repo > old_packages; pass old_packages as parameter to my script that delete all files in old_packages. replace .rpm by .hdr in old_packages and pass it to my script again... Greetings ______________________________________________ Renovamos el Correo Yahoo! Nuevos servicios, más seguridad http://correo.yahoo.es