Matthew, In that case, how can I achieve the followings: 1. How can one install a rpm package and would like to change and set some values such as "servername"? Only by prompting users during postinstall process? Please enlight me in details. I am surprised that there are nobody doing it in rpm... 2. If so, then is there a way to do it silently just like what I have described? One command with additional strings and pass those strings into the postinstall process? e.g. "rpm -i software_a.rpm STRING1 STRING2"??? 3. Can this: "rpm -i software_a.rpm STRING1 STRING2" be done? Thanks Barry ----- Original Message ----- From: "Matthew Miller" <mattdm@xxxxxxxxxx> To: <rpm-list@xxxxxxxxxx> Sent: Monday, March 08, 2004 7:59 AM Subject: Re: How can i enter value during rpm -i and use them during the postinstall process? > On Mon, Mar 08, 2004 at 07:51:11AM -0800, Baz wrote: > > 3. Could you please explain your need more clearly and reasoning behind > > it. Remember rpm installs are meant to be non-interactive and can be done > > via the api/depsolver bypassing the command line. > > If every RPM starts having requirements for custom command-line options, how > is an installer program supposed to know what options it ought to feed to > which package? This is really asking for trouble. > > > So, nobody actually pass parameters, values while doing "rpm -i"??? How > > does one able to do what I want to do in their installation? I am sure > > that it is not uncommon to do it, am i right? > > In order: right; do it at runtime instead of at install time; zero = > extremely uncommon. > > > -- > Matthew Miller mattdm@xxxxxxxxxx <http://www.mattdm.org/> > Boston University Linux ------> <http://linux.bu.edu/> > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list