zypper, yast: Install 32bit packages on 64bit system

Hi,

I recently switched my system to 64bit openSuSE11.2. Works so far.
One problem is that one commercial product (german Duden corrector for OpenOffice) does not work with the 64bit version of OpenOffice but only with 32bit.

Now one solution would be to manually do something like rpm -i OpenOffice_org* in a directory with all the i686 packages (eg from the openSuSE DVD). However I asked myself if zypper or yast cannot do a better job, i.e. install the 32bit OO packages with their dependencies on a 64bit system.

Is this possible? Up to now zypper always installs only the 64bit versions or if I change arch variable in in /etc/zypp/zypp.conf to i686, then zypper wants to reinstall half the system to i586 packages. I only want to have it install the i686 OpenOffice packages.

Any idea, or does it simply not work?

Thanks
Rainer

From the zypper man page;

install (in) [options] <name|capability|rpm_file_uri> ...
              Install or update packages.

              The packages can be selected by their name or by a capability they provide.

              Capability is: NAME, or "NAME.ARCH][OP<EDITION>]", where ARCH is architecture code, OP is <,
              <=, =, >=, or > and EDITION is VERSION-RELEASE].  For example: zypper=0.8.8-2.

So yes, you can define the arch as part of the installation command.

It seems that this feature of zypper does work differently from what one might expect. I also read about this and tried it, but a

zypper install OpenOffice_org.i686

does run (whereas eg a zypper install OpenOffice_org.i999 reports an error) but it starts installing x86_64 packages after all not i686.

So it seems, this is not the way to go.

The way to go is to report the problem.
Martin did (Access Denied) and 18 minutes later Ján Kupec assigned it to himself with high priority.

And, “zypper in <name>.<arch>” doesn’t works, but “zypper in <name>.<arch> = <version>” does.