Page 1 of 1
[RESOLVED] Error creating a package
Published: November 24, 2022 - 12:23 PM
by laibil
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.
Re: Error creating a package
Published: November 24, 2022 - 4:24 PM
by olaplanche
Hello,
could you please post your control file?
Re: Error creating a package
Published: November 25, 2022 - 5:10 PM
by laibil
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
Re: Error creating a package
Published: November 28, 2022 - 2:31 PM
by olaplanche
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
Re: Error creating a package
Published: Dec 4, 2022 - 8:48 PM
by laibil
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.
Re: Error creating a package
Published: Dec 5, 2022 - 09:09
by olaplanche
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,
Re: Error creating a package
Published: Dec 6, 2022 - 7:49 PM
by laibil
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.
Re: Error creating a package
Published: Dec 7, 2022 - 8:39 AM
by olaplanche
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,
Re: [SOLVED] Error creating a package
Published: January 7, 2023 - 5:56 PM
by laibil
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.