Druid wrote:
>> I don't believe this is possible with zypper at this time. It is not a
>> limitation of libzypp - you can select the specific version in yast2
>> sw_single (see the versions tab).
>>
>
> Its supposed to be possible in 10.3 zypper, for zypper>=0.8.4, as
> mentioned in bug 247320
Yes, but the default has been reverted back to --name (selecting
packages for installation by name) and new --capability option has been
introduced to install by capability (e.g. versioned).
> The new syntax is (from current zypper man page):
install (in) [options] <name> ...
install (in) [options] --capability <capability> ...
Install or update packages or other resolvables.
The resolvables can be selected by their name or by a capability
they provide.
Capability is: NAME, or "NAME[OP<EDITION>]", where OP is <, <=,
=, >=, or > and EDITION is VERSION[-RELEASE], for example: zyp-
per=0.8.8-2.
The NAME component of a capability is not only a package name
but any symbol provided by packages: /bin/vi, libcurl.so.3,
perl(Time::ParseDate). Just remember to quote to protect the
special characters from the shell, for example: zypper\>0.8.10
or 'zypper>0.8.10'
If EDITION is not specified, the newest available version will
be installed. This also means that if the package is already
installed and newer versions are available, it will get upgraded
to the newest one.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]