building a package that can not be upgraded
valery_reznic at yahoo.com
Thu Jul 5 21:09:45 UTC 2012
You can write pre-install script that check number of installed package instances ($1, iirc) and if
package already installed, then exit with error message and non-zero status.
But why do you want to do such a thing?
> From: "Hebenstreit, Michael" <michael.hebenstreit at intel.com>
>To: "rpm-list at lists.rpm.org" <rpm-list at lists.rpm.org>
>Sent: Thursday, July 5, 2012 8:17 PM
>Subject: building a package that can not be upgraded
>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
>Rpm-list mailing list
>Rpm-list at lists.rpm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-list