Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

installer updation using RPM

I have an RPM package for my application and the path of the installation is /company/application/version.

I am finding this difficult as it is a unix platform and there is no registry concept.

I need few things to be clarified:

  • How can i check the previous installed version number?

Every time I install my different version application all gets installed (i.e 2.5 and 2.6 both are considered as 2 different softwares because of the installation directory structure.)

  • How can I stop the newer version when old is already installed?
like image 614
user1234 Avatar asked Nov 19 '25 17:11

user1234


1 Answers

Without seeing the spec file, this is just shooting in the dark, but I would guess you are probably missing the 'Version' tag in your spec file. See http://www.rpm.org/max-rpm/s1-rpm-inside-tags.html. In general, Maximum RPM is a good resource.

like image 117
pwan Avatar answered Nov 24 '25 09:11

pwan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!