[RESOLVED] Error creating a package

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
labile
Messages: 9
Registration: February 14, 2022 - 11:48

November 24, 2022 - 12:23

Hello,

I'm contacting you because I'm trying to build a package to deploy across our entire IT infrastructure, but when I test it on my machine, I get the following error: "This package has an attribute in the control file incompatible with your host capabilities .

I've looked for the problem in the control file without success. Is it possible to find out which attribute is causing the issue? If that is indeed the problem,

thank you in advance for your help.

Sincerely.
IT Support Technician -
New Wapt User -
Server OS: Debian 10
- Wapt Version: 2.0.0.9450 -
Administration Machine: Windows 10
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

November 24, 2022 - 4:24 PM

Hello,

could you please post your control file?
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
labile
Messages: 9
Registration: February 14, 2022 - 11:48

November 25, 2022 - 5:10 PM

Hello, here is the content of the control file.

Thanks in advance

Code: Select all

package           : wapt-nuxeo-drive
version           : 5.2.10-1
architecture      : all
section           : base
priority          : optional
name              : Nuxeo Drive
categories        :
maintainer        : xxxxx
description       : Nuxeo Drive (Nuxeo)
depends           :
conflicts         :
maturity          : PREPROD
locale            : fr
target_os         : windows
min_wapt_version  : 2.0
sources           : https://community.nuxeo.com/static/drive-updates/release/?C=M;O=D
installed_size    :
impacted_process  :
description_fr    :
description_pl    :
description_de    :
description_es    :
description_pt    :
description_it    :
description_nl    :
description_ru    :
audit_schedule    :
editor            : Nuxeo
keywords          :
licence           :
homepage          :
package_uuid      : f9849dc5-b714-4ce0-b24e-8b9e5c12e379
valid_from        :
valid_until       :
forced_install_on :
changelog         :
min_os_version    :
max_os_version    :
icon_sha256sum    :
signer            :
signer_fingerprint:
signature         :
signature_date    :
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes 
IT Support Technician -
New Wapt User -
Server OS: Debian 10
- Wapt Version: 2.0.0.9450 -
Administration Machine: Windows 10
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

November 28, 2022 - 2:31 PM

Good morning,

Is your PC in a mature PREPROD state?
Check in the wapt-get.ini file that the following line exists:
maturities = PROD, PREPROD
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
labile
Messages: 9
Registration: February 14, 2022 - 11:48

December 4, 2022 - 8:48 PM

Hello Olaplanche,

The line in question is not present in my wapt-get.ini file, can I add it manually?

Thanks again for your help.
IT Support Technician -
New Wapt User -
Server OS: Debian 10
- Wapt Version: 2.0.0.9450 -
Administration Machine: Windows 10
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

December 5, 2022 - 9:09 AM

Hello,

It all depends on which maturity level you're importing your package into.
If you don't have a `maturities` line in your wapt-get.ini file, it means your machine is "only" in PROD maturity.
In your package's control file, the maturity level is PREPROD, so this package won't be compatible with your machine.
You must either import your package in PROD maturity or add PREPROD maturity to your machine by adding the line to the wapt-get.ini file.

https://www.wapt.fr/fr/doc/wapt-package ... ntrol-file

Regards,
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
labile
Messages: 9
Registration: February 14, 2022 - 11:48

December 6, 2022 - 7:49 PM

Hello Olalanche,
Thank you for your explanation. I did indeed create this package in the PREPROD environment because I already have a package of this software in our library, and I wanted to avoid overwriting it and keep both versions. I wanted to create it in preprod just to install it and test that the installation process was successful.

I understand better now thanks to your explanation.

So, to make things easier, should I create the package in production with a different name to avoid overwriting the existing package in the store?

Thanks again for your help.
IT Support Technician -
New Wapt User -
Server OS: Debian 10
- Wapt Version: 2.0.0.9450 -
Administration Machine: Windows 10
olaplanche
Messages: 178
Registration: January 26, 2017 - 11:11

December 7, 2022 - 8:39 AM

Hello,

For a one-off need, you can indeed change the name of your package and move it to the PROD maturity level; that will work.
In the long term, it's preferable to define the PROD, PREPROD, and DEV maturity levels on the package development machine, which ideally would be a VM.

Regards,
- Installed WAPT version: 2.6.0.16795 Enterprise
- Server OS: Linux / Debian Bookworm
- Administration/package creation machine OS: Windows 10
labile
Messages: 9
Registration: February 14, 2022 - 11:48

January 7, 2023 - 5:56 PM

Hello Olalanche,

So I used a spot in the park to do my tests, thank you very much for this information and for your help.

Problem solved

. Have a good evening.
IT Support Technician -
New Wapt User -
Server OS: Debian 10
- Wapt Version: 2.0.0.9450 -
Administration Machine: Windows 10
Locked