installing a single rpm multiple times on one server -


hello , ahead of time answers can provide question.

i have rpm wrapper around exploded war. on server run

rpm -i myrpm.rpm 

this works fine , right world. run rpm again --relocate trigger create identical install. ideally have install application new entry in rpm data base incremented instance or of nature.

i can force install happen running

rpm -i --force --relocate  oldpath=newpath myrpm.rpm 

the problem here old version no longer managed rpm. there can make work way want?

no. rpm maintains database of files, installed rpms etc. way db designed, file (normally) can belong 1 rpm , rpm have 1 copy of file. i.e., cannot track multiple copies of @ multiple locations (--relocate).

in general, relocating rpms bad idea - if rely on application reconsider.

see this: http://rpm.org/wiki/packagerdocs/multipleversions ideas on how can handle this.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -