Would it be possible to extend rpm with an option to be used in kernel rpms, so that when people (mistakenly) run "rpm -Uvh kernel-2.6...", the old kernel rpm is not uninstalled? What would be the best way of achieving this? In what way should kernel rpms be uninstalled? I am thinking about a pre-uninstall script that checks how rpm has been invoked, and if it is by -U, it somehow cancels the uninstall. Is this possible today without first extending rpm? The pre-uninstall script perhaps also should create a /etc/init.d/rc* script that will tell the system administrator that he now can remove the old rpm with the command rpm -e .... This script would check the version of the running kernel and only do its things if the new kernel is running. The telling could be done by mailing root, or by logging a suitable message with syslog. This requires that the pre-uninstall script can obtain the relevant parameters from the rpm command that runs it. Is this possible? What do you think? Regards, Enrique _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list