RPM | Uvh command | Doubt

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

 



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
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux