<div dir="ltr">Hi Marty,<div><br></div><div>You&#39;re right that the interactive mode of install.sh is not very interactive. There is a message about it in the help but it&#39;s not perhaps very prominent. Really if you want to do an install with non-default values via the rpm installer you either need to use the GUI installer or set up a response file. If you&#39;ve got 50 installs to do I suspect the later is going to be a better bet. </div><div><br></div><div>Alternatively there is an ingbuild version of the upgrade patch. Which can also use a response file if needed. </div><div><br></div><div>HTH</div><div>Paul<br><br><div class="gmail_quote"><div dir="ltr">On Wed, 4 Jul 2018 at 14:52 Martin Bowes &lt;<a href="mailto:martin.bowes@ndph.ox.ac.uk">martin.bowes@ndph.ox.ac.uk</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">yum install -y libX11 libXext libXi libXrender libXtst<br>
<br>
Now the install works, but ...<br>
<br>
The -interactive flag is a fraud. At no point was I asked what locations for data/backup/jnl/dump/log etc. I was not asked what character set, what size log file. Absolutely nothing.<br>
<br>
It was so bad I backed it out and did the install from the standard ingres 11 and then applied the patch15330.<br>
<br>
Marty<br>
<br>
-----Original Message-----<br>
From: Martin Bowes [mailto:<a href="mailto:martin.bowes@ndph.ox.ac.uk" target="_blank">martin.bowes@ndph.ox.ac.uk</a>] <br>
Sent: 04 July 2018 12:46<br>
To: Karl and Betty Schendel<br>
Cc: <a href="mailto:info-ingres@lists.planetingres.org" target="_blank">info-ingres@lists.planetingres.org</a><br>
Subject: Re: [Info-ingres] Upgrade patch problem<br>
<br>
Just raised issue 885482.<br>
<br>
Marty<br>
<br>
-----Original Message-----<br>
From: Karl and Betty Schendel [mailto:<a href="mailto:schendel@kbcomputer.com" target="_blank">schendel@kbcomputer.com</a>] <br>
Sent: 04 July 2018 12:24<br>
To: Martin Bowes<br>
Subject: Re: [Info-ingres] Upgrade patch problem<br>
<br>
Don&#39;t take my word for it -- I try to avoid the installers as best I can and maybe there&#39;s<br>
another reason for the dependencies.  I would get an issue through Support, though.<br>
<br>
Maybe there&#39;s another set of install.sh options that would make the problem go away,<br>
I dunno.<br>
<br>
&gt; On Jul 4, 2018, at 7:22 AM, Martin Bowes &lt;<a href="mailto:martin.bowes@ndph.ox.ac.uk" target="_blank">martin.bowes@ndph.ox.ac.uk</a>&gt; wrote:<br>
&gt; <br>
&gt; That&#39;s distressing news. I have 50 installs to do and was hoping the upgrade patch would mean I wouldn&#39;t have to do 50 patch installs after 50 Ingres installs.<br>
&gt; <br>
&gt; Plan B, it&#39;s just like plan A but with a hint more desperation.<br>
&gt; <br>
&gt; Marty<br>
&gt; <br>
&gt; -----Original Message-----<br>
&gt; From: Karl and Betty Schendel [mailto:<a href="mailto:schendel@kbcomputer.com" target="_blank">schendel@kbcomputer.com</a>] <br>
&gt; Sent: 04 July 2018 12:17<br>
&gt; To: Martin Bowes<br>
&gt; Subject: Re: [Info-ingres] Upgrade patch problem<br>
&gt; <br>
&gt; Those package dependencies don&#39;t sound right.  I think maybe a build was messed up.<br>
&gt; The only thing with X dependencies that I know of is the GUI installer.<br>
&gt; I&#39;d open an issue if you haven&#39;t already.<br>
&gt; <br>
&gt; Karl<br>
&gt; <br>
&gt;&gt; On Jul 4, 2018, at 7:11 AM, Martin Bowes &lt;<a href="mailto:martin.bowes@ndph.ox.ac.uk" target="_blank">martin.bowes@ndph.ox.ac.uk</a>&gt; wrote:<br>
&gt;&gt; <br>
&gt;&gt; rpm -q libXrender<br>
&gt;&gt; libXrender-0.9.10-1.el7.i686<br>
&gt;&gt; <br>
&gt;&gt; So I guess the answer is maybe.<br>
&gt;&gt; <br>
&gt;&gt; I tried: yum install libXrender1<br>
&gt;&gt; No package libXrender1 available.<br>
&gt;&gt; Error: Nothing to do<br>
&gt;&gt; <br>
&gt;&gt; And then: yum install libXrender<br>
&gt;&gt; <br>
&gt;&gt; And now: rpm -q libXrender<br>
&gt;&gt; libXrender-0.9.10-1.el7.i686<br>
&gt;&gt; libXrender-0.9.10-1.el7.x86_64<br>
&gt;&gt; <br>
&gt;&gt; I retried the install: ./install.sh -licdir /dbsystem -interactive A2 /dbsystem/A2<br>
&gt;&gt; error: Failed dependencies:<br>
&gt;&gt;        libXext.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXi.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXtst.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt; <br>
&gt;&gt; So we are making progress!<br>
&gt;&gt; <br>
&gt;&gt; Marty<br>
&gt;&gt; From: Alex Hanshaw [mailto:<a href="mailto:Alex.Hanshaw@actian.com" target="_blank">Alex.Hanshaw@actian.com</a>] <br>
&gt;&gt; Sent: 04 July 2018 11:43<br>
&gt;&gt; To: Martin Bowes<br>
&gt;&gt; Subject: RE: [Info-ingres] Upgrade patch problem<br>
&gt;&gt; <br>
&gt;&gt; Quick google search suggests there is a package libxrender1<br>
&gt;&gt; <br>
&gt;&gt; Is that installed? <br>
&gt;&gt; <br>
&gt;&gt; From: <a href="mailto:info-ingres-bounces@lists.planetingres.org" target="_blank">info-ingres-bounces@lists.planetingres.org</a> &lt;<a href="mailto:info-ingres-bounces@lists.planetingres.org" target="_blank">info-ingres-bounces@lists.planetingres.org</a>&gt; On Behalf Of Martin Bowes<br>
&gt;&gt; Sent: 04 July 2018 11:39<br>
&gt;&gt; To: <a href="mailto:info-ingres@lists.planetingres.org" target="_blank">info-ingres@lists.planetingres.org</a><br>
&gt;&gt; Subject: Re: [Info-ingres] Upgrade patch problem<br>
&gt;&gt; <br>
&gt;&gt; So I tried:<br>
&gt;&gt; yum install libX11.so.6<br>
&gt;&gt;  yum install libXext.so.6<br>
&gt;&gt;  yum install libXi.so.6<br>
&gt;&gt;  yum install libXrender.so.1<br>
&gt;&gt;  yum install libXtst.so.6<br>
&gt;&gt;  yum install libstdc++.so.6<br>
&gt;&gt; <br>
&gt;&gt; And then: ./install.sh -licdir /dbsystem -interactive A2 /dbsystem/A2<br>
&gt;&gt; <br>
&gt;&gt; Which somewhat disappointingly failed with:<br>
&gt;&gt; Error: Failed dependencies:<br>
&gt;&gt;        libX11.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXext.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXi.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXrender.so.1()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXtst.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt; <br>
&gt;&gt; And having just installed libX11.so.6 I tried it again and got (as expected):<br>
&gt;&gt; yum install libX11.so.6<br>
&gt;&gt; Package libX11-1.6.5-1.el7.i686 already installed and latest version<br>
&gt;&gt; Nothing to do<br>
&gt;&gt; <br>
&gt;&gt; So what’s the problem?<br>
&gt;&gt; <br>
&gt;&gt; OS is: CentOS Linux release 7.5.1804 (Core)<br>
&gt;&gt; <br>
&gt;&gt; Marty<br>
&gt;&gt; <br>
&gt;&gt; From: Martin Bowes [mailto:<a href="mailto:martin.bowes@ndph.ox.ac.uk" target="_blank">martin.bowes@ndph.ox.ac.uk</a>] <br>
&gt;&gt; Sent: 04 July 2018 10:35<br>
&gt;&gt; To: <a href="mailto:info-ingres@lists.planetingres.org" target="_blank">info-ingres@lists.planetingres.org</a><br>
&gt;&gt; Subject: Re: [Info-ingres] Upgrade patch problem<br>
&gt;&gt; <br>
&gt;&gt; I got bored, I made the change and it seemed to start responding as I would anticipate, although the –acceptlicense flag had no effect and I had to manually accept the license.<br>
&gt;&gt; <br>
&gt;&gt; Next problem:<br>
&gt;&gt; error: Failed dependencies:<br>
&gt;&gt;        libX11.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXext.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXi.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXrender.so.1()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libXtst.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
&gt;&gt;        libstdc++.so.6 is needed by ingres-32bit-11.0.0-100.x86_64<br>
&gt;&gt;        libstdc++.so.6(CXXABI_1.3) is needed by ingres-32bit-11.0.0-100.x86_64<br>
&gt;&gt;        libstdc++.so.6(CXXABI_1.3.1) is needed by ingres-32bit-11.0.0-100.x86_64<br>
&gt;&gt;        libstdc++.so.6(GLIBCXX_3.4) is needed by ingres-32bit-11.0.0-100.x86_64<br>
&gt;&gt;        libstdc++.so.6(GLIBCXX_3.4.9) is needed by ingres-32bit-11.0.0-100.x86_64<br>
&gt;&gt; <br>
&gt;&gt; Looks nasty! Anyone got any ideas what I should try to install and how?<br>
&gt;&gt; <br>
&gt;&gt; Marty<br>
&gt;&gt; <br>
&gt;&gt; From: Martin Bowes [mailto:<a href="mailto:martin.bowes@ndph.ox.ac.uk" target="_blank">martin.bowes@ndph.ox.ac.uk</a>] <br>
&gt;&gt; Sent: 04 July 2018 10:25<br>
&gt;&gt; To: <a href="mailto:info-ingres@lists.planetingres.org" target="_blank">info-ingres@lists.planetingres.org</a><br>
&gt;&gt; Subject: [Info-ingres] Upgrade patch problem<br>
&gt;&gt; <br>
&gt;&gt; Hi All,<br>
&gt;&gt; <br>
&gt;&gt; Using the upgrade patch: ingres-11.0.0-100-com-linux-rpm-x86_64-UpgradePatch15330<br>
&gt;&gt; <br>
&gt;&gt; As root I did: ./install.sh -licdir /dbsystem -acceptlicense -interactive A2 /dbsystem/A2<br>
&gt;&gt; <br>
&gt;&gt; And got: Error: -interactive invalid argument<br>
&gt;&gt; <br>
&gt;&gt; After a little debugging, I think the problem is that in bin/install.sh line 2331 has initially set express=true. I think it should be set to false like all the other variables.<br>
&gt;&gt; <br>
&gt;&gt; Before I make the change and run the upgrade patch does anyone know of a good reason why the variable may have been initialised to true?<br>
&gt;&gt; <br>
&gt;&gt; Marty<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Info-ingres mailing list<br>
&gt;&gt; <a href="mailto:Info-ingres@lists.planetingres.org" target="_blank">Info-ingres@lists.planetingres.org</a><br>
&gt;&gt; <a href="http://lists.planetingres.org/mailman/listinfo/info-ingres" rel="noreferrer" target="_blank">http://lists.planetingres.org/mailman/listinfo/info-ingres</a><br>
&gt; <br>
<br>
_______________________________________________<br>
Info-ingres mailing list<br>
<a href="mailto:Info-ingres@lists.planetingres.org" target="_blank">Info-ingres@lists.planetingres.org</a><br>
<a href="http://lists.planetingres.org/mailman/listinfo/info-ingres" rel="noreferrer" target="_blank">http://lists.planetingres.org/mailman/listinfo/info-ingres</a><br>
_______________________________________________<br>
Info-ingres mailing list<br>
<a href="mailto:Info-ingres@lists.planetingres.org" target="_blank">Info-ingres@lists.planetingres.org</a><br>
<a href="http://lists.planetingres.org/mailman/listinfo/info-ingres" rel="noreferrer" target="_blank">http://lists.planetingres.org/mailman/listinfo/info-ingres</a><br>
</blockquote></div></div></div>