Re: building a package that can not be upgraded

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

 



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?

Valery


From: "Hebenstreit, Michael" <michael.hebenstreit@xxxxxxxxx>
To: "rpm-list@xxxxxxxxxxxxx" <rpm-list@xxxxxxxxxxxxx>
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


Thanks
Michael

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/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