Hello folks! Please help me. I've run out of resources to solve my problem. I have a two .spec files containing code like this: ... %pre ... if [ ! ${PREVIOUS_VERSION} -le "1720" ] ; then /bin/echo "Can't upgrade versions older than 1.7.2.0" exit 1; fi .. %post ... When this package is upgraded on RedHat, it correctly halts if the previous version is lower or equal than 1720. In contrast, on Mandrake the %pre section exits, but does _not_ stop the package from being upgraded; the installation and %post section are executed regardless of doing an "exit 1" in the %pre section. Please give me hints on how to obtain RedHat's behavior on Mandrake. Any help is very much appreciated. - Roberto Jimeno ------------------------------------------------- www.correo.unam.mx UNAMonos Comunicándonos _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list