[wpkg-users] Strict depend/chain checks or conflicts on 1.3.1?

Marco Gaiarin gaio at sv.lnf.it
Thu Jun 19 14:58:31 CEST 2014


I've done a recipe like:

  <package
        id="libreoffice" 
        name="LibreOffice" 
        revision="4.1.6.2:1"
        reboot="false" 
        priority="50">
        <depends package-id="jre" />    <!-- LO è a 32bit, quindi serve sempre e solo la JRE a 32bit... -->
        <chain package-id="libreoffice-help-it" />

        <check type="uninstall" condition="exists" path="LibreOffice 4.1.6.2" />

        <download url='http://download.documentfoundation.org/libreoffice/stable/4.1.6/win/x86/LibreOffice_4.1.6_Win_x86.msi' target='WPKG\LibreOffice_4.1.6_Win_x86.msi' />

        <install cmd='msiexec /q /i "%SOFTWARE%\WPKG\LibreOffice_4.1.6_Win_x86.msi" ALLUSERS=1 RebootYesNo=No CREATEDESKTOPLINK=1 ISCHECKFORPRODUCTUPDATE=0 REGISTER_NO_MSO_TYPES=1 ADDLOCAL=ALL REMOVE=gm_o_O
        <install cmd='%COMSPEC% /c copy /y "%WPKGROOT%\packages\libreoffice\*.xcd" "%ProgramFiles32%\LibreOffice 4\share\registry\"' />

        <upgrade include='install' />
        <downgrade include='upgrade' />

        <remove cmd="msiexec /q /x {146232A9-AB53-48A7-A102-56624D92C80D}" />
  </package>

  <package
        id="libreoffice-help-it" 
        name="LibreOffice Help (it)" 
        revision="4.1.6.2:1"
        reboot="false" 
        priority="50">
        <depends package-id="libreoffice" />

        <check type="uninstall" condition="exists" path="LibreOffice 4.1 Help Pack (Italian)" />

        <download url='http://download.documentfoundation.org/libreoffice/stable/4.1.6/win/x86/LibreOffice_4.1.6_Win_x86_helppack_it.msi' target='WPKG\LibreOffice_4.1.6_Win_x86_helppack_it.msi' />

        <install cmd='msiexec /q /i "%SOFTWARE%\WPKG\LibreOffice_4.1.6_Win_x86_helppack_it.msi" ALLUSERS=1 RebootYesNo=No ISCHECKFORPRODUCTUPDATE=0' />

        <upgrade include='install' />
        <downgrade include='upgrade' />

        <remove cmd="msiexec /q /x {45E838EC-FADB-4119-80D6-61277A3E50BD}" />
  </package>

And i've just upgraded from 4.1.1.2 to 4.1.6.2. WPKG exit with an
error, AFAI've understood because there's a bad interaction between
'chain' and 'depend'.

What i'm missing? Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                    http://www.sv.lnf.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wpkg-avery.log.gz
Type: application/octet-stream
Size: 20442 bytes
Desc: not available
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20140619/af911c3b/attachment-0002.obj>


More information about the wpkg-users mailing list