[wpkg-users] Strict depend/chain checks or conflicts on 1.3.1?
r.meier at wpkg.org
Mon Jun 23 16:33:31 CEST 2014
On 23.06.2014 14:59, Marco Gaiarin wrote:
> It is true. But in an italian environment, it is very common to have
> machines with all the same stuff (and, normally, italian language ;) and
> then optionally some other stuff/language.
Yes but this would still be the case if you assign 'libreoffice-<lang>' to the
host. You could even assign multiple 'libreoffice-<lang>' packages all depending
on 'libreoffice' to the host.
Also you could then assign 'libreoffice' AND 'libreoffice-<lang>' to a host as
you like. So I think this is least confusing overall. But it's up to you of course.
> So, i insist, could be also a feasable alternative to have libreoffice
> include libreoffice-help-it but with a little higher priority? eg,
> something like:
> <depends package-id="jre" />
> <include package-id="libreoffice-help-it" />
> <depends package-id="libreoffice" />
> with this, i think i can achieve the same effect (eg: force the
> installation of 'libreoffice-help-it' within 'libreoffice', and make
> sure 'libreoffice' will be installer before 'libreoffice-help-it'),
> Or i'm missing something?
Well, strictly speaking you would NOT force libreoffice-help-it to be installed
during the course of installing libreoffice. You would just drag it into profile
tree and then it gets installed by priority. So anyway, at the end the result is
what you expect. The libreoffice-help-it package would get applied first due to
Although there is absolutely no dependency check. So in case libreoffice-help-it
package installation fails then libreoffice package could still be processed as
"successful". Or if libreoffice installation fails WPKG would still attempt to
install libreofifce-help-it. Be sure to define checks in libreoffice-help-it
which correctly detect whether the package is installed properly.
More information about the wpkg-users