<div dir="ltr">Hi Marty,<div><br></div><div>You're right that the interactive mode of install.sh is not very interactive. There is a message about it in the help but it'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'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 <<a href="mailto:martin.bowes@ndph.ox.ac.uk">martin.bowes@ndph.ox.ac.uk</a>> 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't take my word for it -- I try to avoid the installers as best I can and maybe there's<br>
another reason for the dependencies. I would get an issue through Support, though.<br>
<br>
Maybe there's another set of install.sh options that would make the problem go away,<br>
I dunno.<br>
<br>
> On Jul 4, 2018, at 7:22 AM, Martin Bowes <<a href="mailto:martin.bowes@ndph.ox.ac.uk" target="_blank">martin.bowes@ndph.ox.ac.uk</a>> wrote:<br>
> <br>
> That's distressing news. I have 50 installs to do and was hoping the upgrade patch would mean I wouldn't have to do 50 patch installs after 50 Ingres installs.<br>
> <br>
> Plan B, it's just like plan A but with a hint more desperation.<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:17<br>
> To: Martin Bowes<br>
> Subject: Re: [Info-ingres] Upgrade patch problem<br>
> <br>
> Those package dependencies don't sound right. I think maybe a build was messed up.<br>
> The only thing with X dependencies that I know of is the GUI installer.<br>
> I'd open an issue if you haven't already.<br>
> <br>
> Karl<br>
> <br>
>> On Jul 4, 2018, at 7:11 AM, Martin Bowes <<a href="mailto:martin.bowes@ndph.ox.ac.uk" target="_blank">martin.bowes@ndph.ox.ac.uk</a>> wrote:<br>
>> <br>
>> rpm -q libXrender<br>
>> libXrender-0.9.10-1.el7.i686<br>
>> <br>
>> So I guess the answer is maybe.<br>
>> <br>
>> I tried: yum install libXrender1<br>
>> No package libXrender1 available.<br>
>> Error: Nothing to do<br>
>> <br>
>> And then: yum install libXrender<br>
>> <br>
>> And now: rpm -q libXrender<br>
>> libXrender-0.9.10-1.el7.i686<br>
>> libXrender-0.9.10-1.el7.x86_64<br>
>> <br>
>> I retried the install: ./install.sh -licdir /dbsystem -interactive A2 /dbsystem/A2<br>
>> error: Failed dependencies:<br>
>> libXext.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXi.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXtst.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> <br>
>> So we are making progress!<br>
>> <br>
>> Marty<br>
>> From: Alex Hanshaw [mailto:<a href="mailto:Alex.Hanshaw@actian.com" target="_blank">Alex.Hanshaw@actian.com</a>] <br>
>> Sent: 04 July 2018 11:43<br>
>> To: Martin Bowes<br>
>> Subject: RE: [Info-ingres] Upgrade patch problem<br>
>> <br>
>> Quick google search suggests there is a package libxrender1<br>
>> <br>
>> Is that installed? <br>
>> <br>
>> From: <a href="mailto:info-ingres-bounces@lists.planetingres.org" target="_blank">info-ingres-bounces@lists.planetingres.org</a> <<a href="mailto:info-ingres-bounces@lists.planetingres.org" target="_blank">info-ingres-bounces@lists.planetingres.org</a>> On Behalf Of Martin Bowes<br>
>> Sent: 04 July 2018 11:39<br>
>> To: <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>
>> So I tried:<br>
>> yum install libX11.so.6<br>
>> yum install libXext.so.6<br>
>> yum install libXi.so.6<br>
>> yum install libXrender.so.1<br>
>> yum install libXtst.so.6<br>
>> yum install libstdc++.so.6<br>
>> <br>
>> And then: ./install.sh -licdir /dbsystem -interactive A2 /dbsystem/A2<br>
>> <br>
>> Which somewhat disappointingly failed with:<br>
>> Error: Failed dependencies:<br>
>> libX11.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXext.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXi.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXrender.so.1()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXtst.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> <br>
>> And having just installed libX11.so.6 I tried it again and got (as expected):<br>
>> yum install libX11.so.6<br>
>> Package libX11-1.6.5-1.el7.i686 already installed and latest version<br>
>> Nothing to do<br>
>> <br>
>> So what’s the problem?<br>
>> <br>
>> OS is: CentOS Linux release 7.5.1804 (Core)<br>
>> <br>
>> Marty<br>
>> <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 10:35<br>
>> To: <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>
>> 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>
>> <br>
>> Next problem:<br>
>> error: Failed dependencies:<br>
>> libX11.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXext.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXi.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXrender.so.1()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libXtst.so.6()(64bit) is needed by ingres-dbms-11.0.0-100.x86_64<br>
>> libstdc++.so.6 is needed by ingres-32bit-11.0.0-100.x86_64<br>
>> libstdc++.so.6(CXXABI_1.3) is needed by ingres-32bit-11.0.0-100.x86_64<br>
>> libstdc++.so.6(CXXABI_1.3.1) is needed by ingres-32bit-11.0.0-100.x86_64<br>
>> libstdc++.so.6(GLIBCXX_3.4) is needed by ingres-32bit-11.0.0-100.x86_64<br>
>> libstdc++.so.6(GLIBCXX_3.4.9) is needed by ingres-32bit-11.0.0-100.x86_64<br>
>> <br>
>> Looks nasty! Anyone got any ideas what I should try to install and how?<br>
>> <br>
>> Marty<br>
>> <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 10:25<br>
>> To: <a href="mailto:info-ingres@lists.planetingres.org" target="_blank">info-ingres@lists.planetingres.org</a><br>
>> Subject: [Info-ingres] Upgrade patch problem<br>
>> <br>
>> Hi All,<br>
>> <br>
>> Using the upgrade patch: ingres-11.0.0-100-com-linux-rpm-x86_64-UpgradePatch15330<br>
>> <br>
>> As root I did: ./install.sh -licdir /dbsystem -acceptlicense -interactive A2 /dbsystem/A2<br>
>> <br>
>> And got: Error: -interactive invalid argument<br>
>> <br>
>> 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>
>> <br>
>> 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>
>> <br>
>> Marty<br>
>> <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>
<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>