have following package installed
rpm -qa |grep ADMIN
It will give the following package installed:
ADMIN-4.0.0.1
Now I will upgrade the ADMIN package using the following command.
rpm --upgrade ADMIN-4.1.0.1
It will upgrade the ADMIN packagge to ADMIN-4.1.0.1
Now I want that when I uninstall the ADMIN-4.1.0.1 then I got the oirginal
package ADMIN-4.0.0.1
rpm --erase ADMIN-4.1.0.1
now is there anyway(using rpm command or whatever) so that I got the original package when i uninstalled the upgraded package name.
Regards,
Amit