<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>You can write pre-install script that check number of installed package instances ($1, iirc) and if</span></div><div><span>package already installed, then exit with error message and non-zero status.</span></div><div><br><span></span></div><div><span>But why do you want to do such a thing?</span></div><div><br><span></span></div><div><span>Valery<br></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> "Hebenstreit, Michael"
 <michael.hebenstreit@intel.com><br> <b><span style="font-weight: bold;">To:</span></b> "rpm-list@lists.rpm.org" <rpm-list@lists.rpm.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, July 5, 2012 8:17 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> building a package that can not be upgraded<br> </font> </div> <br>
Is there an easy way to create a package that throws an error when trying to upgrade? Aka rpm -i should work, rpm -F/-U should not<br><br><br>Thanks<br>Michael<br><br>_______________________________________________<br>Rpm-list mailing list<br><a ymailto="mailto:Rpm-list@lists.rpm.org" href="mailto:Rpm-list@lists.rpm.org">Rpm-list@lists.rpm.org</a><br>http://lists.rpm.org/mailman/listinfo/rpm-list<br><br><br> </div> </div> </blockquote></div>   </div></body></html>