Mailinglist Archive: yast-devel (41 mails)

< Previous Next >
Re: [yast-devel] Install packages by supplements from YCP?
  • From: Arvin Schnell <aschnell@xxxxxxx>
  • Date: Wed, 25 Feb 2009 16:06:23 +0100
  • Message-id: <20090225150623.GA32185@xxxxxxx>
On Wed, Feb 25, 2009 at 02:42:39PM +0100, Ladislav Slezak wrote:

is it possible to install packages from YCP by using the
supplements information?

E.g. xfsprogs.spec contains "Supplements: filesystem(xfs)". I
want to do something like this:


Unfortunately this does not work.

The minor problem is that the rpm check call is not properly escaped:

2009-02-25 14:29:24 <3> muffin(17814) [bash]
sh: -c:
line 0: syntax error near unexpected token `('
2009-02-25 14:29:24 <3> muffin(17814) [bash]
sh: -c:
line 0: `rpm -q --whatprovides filesystem(xfs)'

Well, missing shell quoting is likely a bug if not a security

The real problem is that Package::InstallAll() expects list of packages, not

There is Pkg::PkgQueryProvides() call, but it works with "provides" set,
"supplements" is something different :-(

To support this functionality we would add a new pkg-binding. If you really
need it
then open a bug report or a FATE entry.

Thanks, I'll do so.

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups