[wpkg-users] chain/depend strangeness...

Marco Gaiarin gaio at sv.lnf.it
Thu Jun 27 17:31:06 CEST 2013


I've setup libreoffice and the italian help package as:

  <package
        id="libreoffice" 
	[...]
        <chain package-id="libreoffice-help-it" />

  <package
        id="libreoffice-help-it" 
	[...]
        <depends package-id="libreoffice" />

the rationale is simple: i want to install the italian help with the
program, but i want also to be sure that the help got installer *after*
the program.

Every time i have an upgrade/install, i got:

 Package 'LibreOffice Help (it)' (libreoffice-help-it): Already installed but version mismatch.
 Installed revision: '4.0.3.3:1'
 Available revision: '4.0.4.2:1'.
 Preparing upgrade.
 Installing references (dependencies) of 'LibreOffice Help (it)' (libreoffice-help-it).
 Package 'LibreOffice' (libreoffice): Already installed but version mismatch.
 Installed revision: '4.0.3.3:1'
 Available revision: '4.0.4.2:1'.
 Preparing upgrade.
 Installing references (dependencies) of 'LibreOffice' (libreoffice).
 Installing 'LibreOffice' (libreoffice)...
 Installing references (chained) of 'LibreOffice' (libreoffice).
 Installation of references (chained) for 'LibreOffice' (libreoffice) failed. Installation of reference (chained) package 'LibreOffice Help (it)' (libreoffice-help-it) failed
 Package 'LibreOffice' (libreoffice): Package installed but at least one chained package failed to install.
 Processing (upgrade) of LibreOffice successful.
 Installing 'LibreOffice Help (it)' (libreoffice-help-it)...
 Package 'LibreOffice Help (it)' (libreoffice-help-it): Package and all chained packages installed successfully.
 Processing (upgrade) of LibreOffice Help (it) successful.

OK, works. Ok, the 'depends' is totally optional... but... there's a
better way to handle this things?


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)


More information about the wpkg-users mailing list