YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Mode
  • PackageAI
  • PackageSystem

Includes

  • packages/common.ycp

Global Functions

Info:

File: modules/Package.ycp Package: yast2 Summary: Packages manipulation Authors: Martin Vidner Michal Svec Flags: Stable

$Id$

global DoInstall (list<string> packages) -> boolean

Install list of packages

Parameters:
packages list of packages to be installed
Return value:
True on success
global DoRemove (list<string> packages) -> boolean

Remove list of packages

Parameters:
packages list of packages to be removed
Return value:
True on success
global DoInstallAndRemove (list<string> toinstall, list<string> toremove) -> boolean

Install and Remove list of packages in one go

Parameters:
toinstall list of packages to be installed
toremove list of packages to be removed
Return value:
True on success