Mailinglist Archive: yast-devel (85 mails)

< Previous Next >
Re: [yast-devel] Installing Patterns
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Mon, 30 Jul 2007 11:07:02 +0200
  • Message-id: <46ADAA36.8030309@xxxxxxx>
Hi Benji,

Benji Weber wrote:

> I have been trying to install patterns using Pkg::ResolvableInstall(
> patternName, `pattern );
> 
> Is this supposed to work? It seems to always fail here, and I can't see why.

It should work, I use it in the product creator and I haven't had any problem
with it. Could you write more details about your problem (code fragment, error
message...)? Did you use correct name of the pattern?

You can get list of all available patterns using Pkg::ResolvableProperties("",
`pattern, ""). Is your pattern listed in the output?

> I also found this in AutoinstClone.ycp:
> 
>         /* FIXME: if this would work, it would be the better solution
>         foreach(string p, patterns, ``{
>             Pkg::ResolvableInstall( p, `pattern );
>         });
>         Pkg::PkgSolve(false);
>         */
> 
> Which wasn't encouraging.

So look at the product-creator.

You need to run the solver after selecting the patterns (to select the packages
which belong to the pattern). And that's all...


        Ladislav


--

Best Regards

Ladislav Slez√°k
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o.                              e-mail: lslezak@xxxxxxx
Lihovarsk√° 1060/12                              tel: +420 284 028 960
190 00 Prague 9                                 fax: +420 284 028 951
Czech Republic                                  http://www.suse.cz/
-- 
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References