[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RPM | Uvh command | Doubt



Hi
 
I have doubt regarding the rpm -Uvh command. Let me explain you my doubt through an example.
 
I have an rpm,say sample-1.0-1.i386.rpm , whose %post section runs an sql and whose %preun sections runs another sql ( which will basically rollback the effect of the sql tht was executed at %post)
 
Now , i have another rpm, say, sample-1.0-2.i386.rpm , which i am going to install after insatlling the first rpm. Now my question is when i give rpm -Uvh sample-1.0-2.i386.rpm , will this aslo run the %preun section of sample-1.0-1.i386.rpm ??
 
Hope i am clear...
 
Thanks in Advance
 
Lis Thomas

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]