Packager |
modules/Require.ycp |
| Provide installation on demand | |
|
Has Pkg::TargetInit run?
Has Pkg::SourceStartCache run?
Was last operation canceled? Used to enhance the exit status to distinguish between package installation fail and installation canceled by user, as in the second case doesn't make much sense to display any error Is set to true when user canceled package installation, from RequireAndConflict* functions
Ensure that Pkg:: calls work. This may become superfluous.
Ensure that Pkg:: calls working with the installation sources work
Run SuSE config, create new wizard dialog before it, close after it is finished
Read-only interface for last_op_canceled Use immediately after calling some RequireAndTarget* function
- Return value:
-
true if it was
Is a package available for installation?
- Parameters:
-
package package name, without version or .rpm suffix
- Return value:
-
true/false
This is not a real function, just a docs placeholder
Most functions have two public variants: Foo and FooTarget. In normal mode they behave the same and act on the currently running system. In autoyast mode (Mode::config ()), FooTarget acts on the autoyast package list only and Foo acts both on the running system and the autoyast package list.
Is a package installed? Works on the current system.
- Parameters:
-
package
- See
-
FooTarget
Is a package installed? Works on the target system.
- Parameters:
-
package
- See
-
FooTarget
Are all of these packages installed? Works on the current system.
- Parameters:
-
packages list of packages
- Return value:
-
true/false
- See
-
FooTarget
Are all of these packages installed? Works on the target system.
- Parameters:
-
packages list of packages
- Return value:
-
true/false
- See
-
FooTarget
Are all of these packages installed? Use for required packages that you want installed. In both normal and autoyast modes, works on the current system. In autoyast mode, also works on the target system.
- Parameters:
-
packages list of packages
- Return value:
-
true/false
- See
-
FooTarget
Are all of these packages installed? Use for required packages that you want installed. In normal mode, works on the current system. In autoyast mode, works on the target system.
- Parameters:
-
packages list of packages
- Return value:
-
true/false
- See
-
FooTarget
This function is deprecated. Use AreAllPackagesInstalled or IsAnyPackageInstalled instead.
Obsolete! If required, use AreAllPackagesInstalled, if conflicting, use IsAnyPackageInstalled.
- Parameters:
-
package
Is a package installed? In normal mode, works on the current system. In autoyast mode, works on the target system.
- Parameters:
-
package
- See
-
FooTarget
Is any of these packages installed? Works on the target system.
- Parameters:
-
packages list of packages
- Return value:
-
true/false
- See
-
FooTarget
Is any of these packages installed? Works on the current system.
- Parameters:
-
packages list of packages
- Return value:
-
true/false
- See
-
FooTarget
Is any of these packages installed? Use for conflicting packages that you want deleted. In both normal and autoyast modes, works on the current system. In autoyast mode, also works on the target system.
- Parameters:
-
packages list of packages
- Return value:
-
true/false
- See
-
FooTarget
Is any of these packages installed? Use for conflicting packages that you want deleted. In normal mode, works on the current system. In autoyast mode, works on the target system.
- Parameters:
-
packages list of packages
- Return value:
-
true/false
- See
-
FooTarget
Install required packages and remove conflicting packages. Works on the current system.
- Parameters:
-
toinstall packages to install toremove pacakges to remove
- Return value:
-
success?
- See
-
FooTarget
Install required packages and remove conflicting packages. Works on the target system.
- Parameters:
-
toinstall packages to install toremove pacakges to remove
- Return value:
-
success?
- See
-
FooTarget
Install required packages and remove conflicting packages. In both normal and autoyast modes, works on the current system. In autoyast mode, also works on the target system.
- Parameters:
-
toinstall packages to install toremove pacakges to remove
- Return value:
-
success?
- See
-
FooTarget
Install required packages and remove conflicting packages. In normal mode, works on the current system. In autoyast mode, works on the target system.
- Parameters:
-
toinstall packages to install toremove pacakges to remove
- Return value:
-
success?
- See
-
FooTarget
Ensure that all required packages are installed and no conflicting packages are installed. Works on the current system and the user is presented an explanation and asked to confirm the changes.
- Parameters:
-
require Required packages conflict Conflicting packages help Explanation (rich text). %1 and %2 represent a comma separated list of packages to be installed/removed continue_button cancel_button
- Return value:
-
installation successful?
- See
-
FooTarget
Ensure that all required packages are installed and no conflicting packages are installed. Works on the target system and nothing is displayed.
- Parameters:
-
require Required packages conflict Conflicting packages
- Return value:
-
installation successful?
- See
-
FooTarget
Like RequireAndConflict but you can specify button texts in place of the default Continue and Cancel
- Parameters:
-
require conflict help continue_button Text which is going to be on the left-hand button cancel_button Text which is going to be on the right-hand button
- Return value:
-
installation successful?
Like RequireAndConflictTarget but you can specify button texts in place of the default Continue and Cancel
- Parameters:
-
require conflict help continue_button Text which is going to be on the left-hand button cancel_button Text which is going to be on the right-hand button
- Return value:
-
installation successful?
Ensure that all required packages are installed and no conflicting packages are installed. In both normal and autoyast modes, works on the current system. In autoyast mode, also works on the target system. If the current system is affected, the user is presented an explanation and asked to confirm the changes. For the target system, nothing is displayed.
- Parameters:
-
require Required packages conflict Conflicting packages help Explanation (rich text). %1 and %2 represent a comma separated list of packages to be installed/removed
- Return value:
-
installation successful?
- See
-
FooTarget
Ensure that all required packages are installed and no conflicting packages are installed. In normal mode, works on the current system and the user is presented an explanation and asked to confirm the changes. In autoyast mode, works on the target system and nothing is displayed.
- Parameters:
-
require Required packages conflict Conflicting packages help Explanation (rich text). %1 and %2 represent a comma separated list of packages to be installed/removed
- Return value:
-
installation successful?
- See
-
FooTarget