Comment # 2 on bug 969961 from
I though that prereq was currently the same as require for RPM:

https://www.redhat.com/archives/rpm-list/2003-June/msg00173.html

So, this does not apply for zypp?

pam_mount-32bit is installed because it has a:

Supplement: packageand(pam_krb5:pam-32bit)

For pam, it is not really a weak dependency as it will not work without the
32-bit equivalent (at least, pam-config doesn't). However, AFAIK, there is no
way to specify a hard-conditional dependency, only the soft-one using
supplement+packageand.

Wouldn't it be interesting to *try* to install all supplement of a package just
after it was installed and before any other package that requires it? Specially
for pam modules, nothing requires its 32-bit variation and it is ready to be
installed just after the 64-bit was installed. Who is responsible to define the
installation order? libzypp? libsolv?

%posttrans might do the trick for this case but it might become complicate to
solve when multiple %posttrans also might run in a specific order. I would
prefer to have the packages installed in a specific order and run each %post
correctly.


You are receiving this mail because: