Page 1 of 1

[SOLVED] Exclude a package from the installation when machines are shut down

Published: July 6, 2023 - 1:49 PM
by Regis Lemonnier
Hello,

is it possible to prevent a package from installing when the machine is shut down?

Re: Excluding a package from the installation when machines are shut down

Published: July 7, 2023 - 8:44 AM
by htouvet
You can add a parameter "'upgrade_priorities'" in wapt-get.ini to only consider packages that are in the listed priorities during the upgrade.
To exclude, you must therefore assign a priority to the package to be excluded that is different from what will be specified in this parameter

For example,

wapt-get.ini:

Code: Select all

[global]
...
upgrade_priorities=critical,optional

and put

priority=skip

in the package control file

Re: Excluding a package from the installation when machines are shut down

Published: July 7, 2023 - 9:58 AM
by Regis Lemonnier
OK thanks.

On the online documentation (https://www.wapt.fr/fr/doc-2.2/wapt-pac ... cture.htmlIt is indicated that this parameter is not currently supported. Will it still work with WAPT 2.2.1.11957?

The possible priorities are as follows:
Critical, High, Medium, Low, Optional

htouvet wrote: July 7, 2023 - 8:44 AM You can add a parameter "'upgrade_priorities'" in wapt-get.ini to only consider packages that are in the listed priorities during the upgrade.
To exclude, you must therefore assign a priority to the package to be excluded that is different from what will be specified in this parameter

For example,

wapt-get.ini:

Code: Select all

[global]
...
upgrade_priorities=critical,optional

and put

priority=skip

in the package control file

[SOLVED] Exclude a package from the installation when machines are shut down

Published: July 10, 2023 - 5:28 PM
by Regis Lemonnier
Thank you, it works.
regis.lemonnier wrote: July 7, 2023 - 9:58 AM OK thanks.

On the online documentation (https://www.wapt.fr/fr/doc-2.2/wapt-pac ... cture.htmlIt is indicated that this parameter is not currently supported. Will it still work with WAPT 2.2.1.11957?

The possible priorities are as follows:
Critical, High, Medium, Low, Optional

htouvet wrote: July 7, 2023 - 8:44 AM You can add a parameter "'upgrade_priorities'" in wapt-get.ini to only consider packages that are in the listed priorities during the upgrade.
To exclude, you must therefore assign a priority to the package to be excluded that is different from what will be specified in this parameter

For example,

wapt-get.ini:

Code: Select all

[global]
...
upgrade_priorities=critical,optional

and put

priority=skip

in the package control file

Re: Excluding a package from the installation when machines are shut down

Published: July 21, 2023 - 2:19 PM
by dcardon
Hi Régis,
thanks for the feedback :-) . I'm marking the topic as [RESOLVED].
Denis