[prev in list] [next in list] [prev in thread] [next in thread]
List: wpkg-users
Subject: Re: [wpkg-users] My java-7 package keeps reinstalling itself
From: Frederic Bergeron <FBergeron () rocketmail ! com>
Date: 2014-11-26 0:20:32
Message-ID: 1041869598.1052496.1416961232488.JavaMail.yahoo () jws10669 ! mail ! bf1 ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
From: Stefan Pendl <stefan.pendl.71@gmail.com>
To: wpkg-users@lists.wpkg.org
Sent: Tuesday, November 25, 2014 6:19 AM
Subject: Re: [wpkg-users] My java-7 package keeps reinstalling itself
Am 24.11.2014 um 14:51 schrieb Frederic Bergeron:
Hi again,
In the java_x86.log file, I could see that the 1603 error was caused because the \
java was already installed. So I added an exitCode='1603' and it fixed the problem. \
There was also another similar problem with another install command. I added the \
appropriate exitCode and it seems to work fine now. I didn't know the /L option. \
That was very helpful. Concerning FlashPlayer, I removed the file tests and it \
works fine now.
Thanks a lot for your help.
I would not add the exit code 1603 as being successful, since it can have many \
reasons.
I would change the package to always check if there is already the same or a higher \
version installed.
<package id="JRE8"
name="Java Runtime Environment 8"
revision="%JRE_VER%"
reboot="false"
priority="10"
precheck-upgrade="always">
The attribute "precheck-upgrade" will force WPKG to run the checks before the \
package is upgraded, so you avoid problems with packages that don't upgrade if the \
same version is already installed.
--
Stefan P.
Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------------------------------------------------------------------
SSLrack - get your cheap cheap SSL certificates (standard, wildcard, EV)
http://www.sslrack.com/
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
Hi again Stefan,
I didn't know about precheck-upgrade. That's very convenient. I removed the exit \
code elements and added the precheck-upgrade and it works very well. Big thanks for \
your help. Frederic
[Attachment #5 (text/html)]
<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, \
courier, monaco, monospace, sans-serif;font-size:13px"><br> <div \
id="yui_3_16_0_1_1416844702118_33150" style="font-family: Courier New, courier, \
monaco, monospace, sans-serif; font-size: 13px;"> <div \
id="yui_3_16_0_1_1416844702118_33149" style="font-family: HelveticaNeue, Helvetica \
Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div \
id="yui_3_16_0_1_1416844702118_33148" dir="ltr"> <hr \
id="yui_3_16_0_1_1416844702118_33152" size="1"> <font \
id="yui_3_16_0_1_1416844702118_33158" face="Arial" size="2"> <b><span \
style="font-weight:bold;">From:</span></b> Stefan Pendl \
<stefan.pendl.71@gmail.com><br> <b><span style="font-weight: \
bold;">To:</span></b> wpkg-users@lists.wpkg.org <br> <b><span style="font-weight: \
bold;">Sent:</span></b> Tuesday, November 25, 2014 6:19 AM<br> <b><span \
style="font-weight: bold;">Subject:</span></b> Re: [wpkg-users] My java-7 package \
keeps reinstalling itself<br> </font> </div> <div \
id="yui_3_16_0_1_1416844702118_33166" class="y_msg_container"><br><div \
id="yiv7881599873"><div id="yui_3_16_0_1_1416844702118_33165"> <div \
class="yiv7881599873moz-cite-prefix">Am 24.11.2014 um 14:51 schrieb Frederic \
Bergeron:<br clear="none"> </div>
<blockquote type="cite">
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue-Light, \
Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, \
sans-serif;font-size:24px;"> <div id="yiv7881599873yui_3_16_0_1_1416442934900_61716" \
style="font-family:HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, \
Helvetica, Arial, Lucida Grande, sans-serif;font-size:24px;"> <div \
id="yiv7881599873yui_3_16_0_1_1416442934900_61715" style="font-family:HelveticaNeue, \
Helvetica Neue, Helvetica, Arial, Lucida Grande, \
sans-serif;font-size:16px;">
<div class="yiv7881599873y_msg_container" \
id="yiv7881599873yui_3_16_0_1_1416442934900_61721"> <hr \
id="yiv7881599873yui_3_16_0_1_1416442934900_61713" size="1"><font \
id="yiv7881599873yui_3_16_0_1_1416442934900_61719" face="Arial" size="2"><b><span \
style="font-weight:bold;"></span></b></font>
<div id="yiv7881599873yui_3_16_0_1_1416442934900_61749">Hi again,</div>
<div id="yiv7881599873yui_3_16_0_1_1416442934900_61750"><br \
clear="none"> </div>
<div dir="ltr" id="yiv7881599873yui_3_16_0_1_1416442934900_61751">In
the java_x86.log file, I could see that the 1603 error
was caused because the java was already installed. So I
added an exitCode='1603' and it fixed the problem.
There was also another similar problem with another
install command. I added the appropriate exitCode and
it seems to work fine now. I didn't know the /L
option. That was very helpful.</div>
<div dir="ltr" id="yiv7881599873yui_3_16_0_1_1416442934900_61752"><br \
clear="none"> </div>
<div dir="ltr" \
id="yiv7881599873yui_3_16_0_1_1416442934900_61753">Concerning FlashPlayer, I removed \
the file tests and it works fine now. <br clear="none">
</div>
<div dir="ltr" id="yiv7881599873yui_3_16_0_1_1416442934900_61754"><br \
clear="none"> </div>
<div dir="ltr" \
id="yiv7881599873yui_3_16_0_1_1416442934900_61758">Thanks a lot for your help.</div>
<br clear="none">
</div>
</div>
</div>
</div>
</blockquote>
<br clear="none">
I would not add the exit code 1603 as being successful, since it can
have many reasons.<br clear="none">
<br clear="none">
I would change the package to always check if there is already the
same or a higher version installed.<br clear="none">
<br clear="none">
<package id="JRE8"<br clear="none">
name="Java Runtime Environment 8"<br clear="none">
revision="%JRE_VER%"<br clear="none">
reboot="false"<br clear="none">
priority="10"<br clear="none">
precheck-upgrade="always"><br clear="none">
<br clear="none">
The attribute "precheck-upgrade" will force WPKG to run the checks
before the package is upgraded, so you avoid problems with packages
that don't upgrade if the same version is already installed.<div \
class="qtdSeparateBR"><br><br></div><div class="yiv7881599873yqt9410859865" \
id="yiv7881599873yqtfd25077"><br clear="none"> <pre \
id="yui_3_16_0_1_1416844702118_33164" class="yiv7881599873moz-signature">-- Stefan P.
Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?</pre>
</div></div></div><br><div class="yqt9410859865" \
id="yqtfd98312">-------------------------------------------------------------------------<br \
clear="none">SSLrack - get your cheap cheap SSL certificates (standard, wildcard, \
EV)<br clear="none"><a shape="rect" href="http://www.sslrack.com/" \
target="_blank">http://www.sslrack.com/</a><br \
clear="none">-------------------------------------------------------------------------<br \
clear="none">wpkg-users mailing list archives >> <a \
id="yui_3_16_0_1_1416844702118_33168" shape="rect" \
href="http://lists.wpkg.org/pipermail/wpkg-users/" \
target="_blank">http://lists.wpkg.org/pipermail/wpkg-users/</a><br \
clear="none">_______________________________________________<br \
clear="none">wpkg-users mailing list<br clear="none"><a shape="rect" \
ymailto="mailto:wpkg-users@lists.wpkg.org" \
href="mailto:wpkg-users@lists.wpkg.org">wpkg-users@lists.wpkg.org</a><br \
clear="none"><a shape="rect" href="http://lists.wpkg.org/mailman/listinfo/wpkg-users" \
target="_blank">http://lists.wpkg.org/mailman/listinfo/wpkg-users</a><br \
clear="none"></div><div id="yui_3_16_0_1_1416844702118_33175"><br></div><div \
id="yui_3_16_0_1_1416844702118_33176"><br></div><div dir="ltr" \
id="yui_3_16_0_1_1416844702118_33178">Hi again Stefan,</div><div \
id="yui_3_16_0_1_1416844702118_33182" dir="ltr"><br></div><div \
id="yui_3_16_0_1_1416844702118_33181" dir="ltr">I didn't know about \
precheck-upgrade. That's very convenient. I removed the exit code \
elements and added the precheck-upgrade and it works very well.</div><div \
id="yui_3_16_0_1_1416844702118_33184" dir="ltr"><br></div><div \
id="yui_3_16_0_1_1416844702118_33185" dir="ltr">Big thanks for your help.</div><div \
id="yui_3_16_0_1_1416844702118_33186" dir="ltr"><br></div><div \
id="yui_3_16_0_1_1416844702118_33191" dir="ltr">Frederic<br></div><br></div> </div> \
</div> </div></body></html>
-------------------------------------------------------------------------
SSLrack - get your cheap cheap SSL certificates (standard, wildcard, EV)
http://www.sslrack.com/
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic