Conflict with the automatic_updates Module

Created on 13 August 2024, 9 months ago
Updated 19 September 2024, 8 months ago

Problem/Motivation

When I install the field_encrypt automatic_updates module, and then run the readiness checks, I get this error:

Drupal\package_manager\Exception\ComposerNotReadyException: Failed to run process: The command "'/usr/local/php83/bin/composer' 'validate' '--check-lock' '--no-check-publish' '--with-dependencies' '--no-ansi' '--working-dir=/home/SERVER/www/example.com/www.example.com'" failed. Exit Code: 2(Misuse of shell builtins) Working directory: /home/SERVER/www/example.com/www.example.com/webroot Output: ================ asm89/stack-cors is valid behat/mink is valid behat/mink-browserkit-driver is valid chi-teck/drupal-code-generator is valid colinodell/psr-testlogger is valid composer/ca-bundle is valid composer/class-map-generator is valid composer/composer is valid composer/installers is valid composer/metadata-minifier is valid composer/pcre is valid composer/semver is valid composer/spdx-licenses is valid composer/xdebug-handler is valid consolidation/annotated-command is valid consolidation/config is valid consolidation/filter-via-dot-access-data is valid consolidation/log is valid consolidation/output-formatters is valid consolidation/robo is valid consolidation/self-update is valid consolidation/site-alias is valid consolidation/site-process is valid cweagans/composer-patches is valid dealerdirect/phpcodesniffer-composer-installer is valid dflydev/dot-access-data is valid doctrine/annotations is valid doctrine/common is valid doctrine/deprecations is valid doctrine/event-manager is valid doctrine/instantiator is valid doctrine/lexer is valid doctrine/persistence is valid dompdf/php-font-lib is valid drupal/admin_toolbar is valid drupal/autologout is valid drupal/automatic_updates is valid drupal/captcha is valid drupal/config_split is valid drupal/core is valid drupal/core-vendor-hardening is valid drupal/crop is valid drupal/ctools is valid drupal/devel is valid drupal/eck is valid drupal/entity is valid drupal/eu_cookie_compliance is valid drupal/focal_point is valid drupal/gin is valid drupal/key is valid drupal/language_switcher_langcode is valid drupal/masquerade is valid drupal/node_view_permissions is valid drupal/password_policy is valid drupal/real_aes is valid drupal/roleassign is valid drupal/shield is valid drupal/symfony_mailer is valid drupal/token is valid drupal/video_embed_field is valid drupal/view_unpublished is valid drupal/views_bulk_operations is valid drupal/viewsreference is valid drush/drush is valid egulias/email-validator is valid fileeye/mimemap is valid google/protobuf is valid grasmash/expander is valid grasmash/yaml-cli is valid graylog2/gelf-php is valid guzzlehttp/guzzle is valid guzzlehttp/promises is valid guzzlehttp/psr7 is valid html2text/html2text is valid justinrainbow/json-schema is valid league/container is valid lullabot/mink-selenium2-driver is valid lullabot/php-webdriver is valid maennchen/zipstream-php is valid markbaker/complex is valid markbaker/matrix is valid masterminds/html5 is valid mck89/peast is valid mglaman/phpstan-drupal is valid micheh/phpcs-gitlab is valid mikey179/vfsstream is valid myclabs/deep-copy is valid nikic/php-parser is valid open-telemetry/api is valid open-telemetry/context is valid open-telemetry/exporter-otlp is valid open-telemetry/gen-otlp-protobuf is valid open-telemetry/sdk is valid open-telemetry/sem-conv is valid paragonie/random_compat is valid pear/archive_tar is valid pear/console_getopt is valid pear/pear-core-minimal is valid pear/pear_exception is valid phar-io/manifest is valid phar-io/version is valid phootwork/collection is valid phootwork/lang is valid php-http/discovery is valid php-http/guzzle7-adapter is valid php-http/httplug is valid php-http/promise is valid php-tuf/composer-stager is valid phpdocumentor/reflection-common is valid phpdocumentor/reflection-docblock is valid phpdocumentor/type-resolver is valid phpoffice/phpspreadsheet is valid phpowermove/docblock is valid phpspec/prophecy is valid phpspec/prophecy-phpunit is valid phpstan/extension-installer is valid phpstan/phpdoc-parser is valid phpstan/phpstan is valid phpstan/phpstan-deprecation-rules is valid phpstan/phpstan-phpunit is valid phpunit/php-code-coverage is valid phpunit/php-file-iterator is valid phpunit/php-invoker is valid phpunit/php-text-template is valid phpunit/php-timer is valid phpunit/phpunit is valid psr/cache is valid psr/container is valid psr/event-dispatcher is valid psr/http-client is valid psr/http-factory is valid psr/http-message is valid psr/log is valid psr/simple-cache is valid psy/psysh is valid ralouphie/getallheaders is valid react/promise is valid sebastian/cli-parser is valid sebastian/code-unit is valid sebastian/code-unit-reverse-lookup is valid sebastian/comparator is valid sebastian/complexity is valid sebastian/diff is valid sebastian/environment is valid sebastian/exporter is valid sebastian/global-state is valid sebastian/lines-of-code is valid sebastian/object-enumerator is valid sebastian/object-reflector is valid sebastian/recursion-context is valid sebastian/resource-operations is valid sebastian/type is valid sebastian/version is valid seld/jsonlint is valid seld/phar-utils is valid seld/signal-handler is valid sirbrillig/phpcs-variable-analysis is valid slevomat/coding-standard is valid squizlabs/php_codesniffer is valid symfony/browser-kit is valid symfony/console is valid symfony/css-selector is valid symfony/dependency-injection is valid symfony/deprecation-contracts is valid symfony/dom-crawler is valid symfony/error-handler is valid symfony/event-dispatcher is valid symfony/event-dispatcher-contracts is valid symfony/filesystem is valid symfony/finder is valid symfony/http-foundation is valid symfony/http-kernel is valid symfony/lock is valid symfony/mailer is valid symfony/mime is valid symfony/phpunit-bridge is valid symfony/polyfill-ctype is valid symfony/polyfill-iconv is valid symfony/polyfill-intl-grapheme is valid symfony/polyfill-intl-idn is valid symfony/polyfill-intl-normalizer is valid symfony/polyfill-mbstring is valid symfony/polyfill-php72 is valid symfony/polyfill-php73 is valid symfony/polyfill-php80 is valid symfony/polyfill-php81 is valid symfony/polyfill-php82 is valid symfony/polyfill-php83 is valid symfony/process is valid symfony/psr-http-message-bridge is valid symfony/routing is valid symfony/serializer is valid symfony/service-contracts is valid symfony/string is valid symfony/translation-contracts is valid symfony/validator is valid symfony/var-dumper is valid symfony/var-exporter is valid symfony/yaml is valid theseer/tokenizer is valid tijsverkoyen/css-to-inline-styles is valid twig/twig is valid webflo/drupal-finder is valid webmozart/assert is valid Error Output: ================ ./composer.json is valid, but with a few warnings See https://getcomposer.org/doc/04-schema.md for details on the schema # General warnings - No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license. - require.composer/installers : unbound version constraints (*) should be avoided - require.cweagans/composer-patches : unbound version constraints (*) should be avoided - require.drupal/admin_toolbar : unbound version constraints (*) should be avoided - require.drupal/antibot : unbound version constraints (*) should be avoided - require.drupal/autologout : unbound version constraints (*) should be avoided - require.drupal/autoupdate : unbound version constraints (*) should be avoided - require.drupal/config_rewrite : unbound version constraints (*) should be avoided - require.drupal/config_split : unbound version constraints (*) should be avoided - require.drupal/crop : unbound version constraints (*) should be avoided - require.drupal/ctools : unbound version constraints (*) should be avoided - require.drupal/devel : unbound version constraints (*) should be avoided - require.drupal/devel_entity_updates : unbound version constraints (*) should be avoided - require.drupal/eck : unbound version constraints (*) should be avoided - require.drupal/entity : unbound version constraints (*) should be avoided - require.drupal/focal_point : unbound version constraints (*) should be avoided - require.drupal/gin : unbound version constraints (*) should be avoided - require.drupal/gin_toolbar : unbound version constraints (*) should be avoided - require.drupal/imageapi_optimize : unbound version constraints (*) should be avoided - require.drupal/imageapi_optimize_binaries : unbound version constraints (*) should be avoided - require.drupal/imagemagick : unbound version constraints (*) should be avoided - require.drupal/maillog : unbound version constraints (*) should be avoided - require.drupal/password_policy : unbound version constraints (*) should be avoided - require.drupal/pathauto : unbound version constraints (*) should be avoided - require.drupal/seckit : unbound version constraints (*) should be avoided - require.drupal/security_review : unbound version constraints (*) should be avoided - require.drupal/sophron : unbound version constraints (*) should be avoided - require.drupal/timetable_cron : exact version constraints (1.x-dev@dev) should be avoided if the package follows semantic versioning - require.drupal/token : unbound version constraints (*) should be avoided - require.drupal/video_embed_field : unbound version constraints (*) should be avoided - require.drupal/view_unpublished : unbound version constraints (*) should be avoided - require.drupal/viewsreference : unbound version constraints (*) should be avoided - require.drupal/webp : unbound version constraints (*) should be avoided - require.drush/drush : unbound version constraints (*) should be avoided - require.soul_media/drupal9_scripts : unbound version constraints (*) should be avoided - require.soul_media/smqs : unbound version constraints (*) should be avoided defuse/php-encryption is valid, but with a few warnings # General warnings - require.paragonie/random_compat : unbound version constraints (>= 2) should be avoided drupal/antibot is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead drupal/coder is valid, but with a few warnings # General warnings - require.symfony/yaml : unbound version constraints (>=3.4.0) should be avoided drupal/config_rewrite is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead drupal/content_access is valid, but with a few warnings # General warnings - License "GPL-2.0" is a deprecated SPDX license identifier, use "GPL-2.0-only" or "GPL-2.0-or-later" instead drupal/country is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead drupal/devel_entity_updates is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead drupal/encrypt is valid, but with a few warnings # General warnings - No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license. drupal/field_encrypt is invalid, the following errors/warnings were found: # General errors - conflict.drupal/field_encrypt : a package cannot set a conflict on itself # General warnings - No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license. drupal/file_mdm is valid, but with a few warnings # General warnings - No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license. drupal/friendlycaptcha is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead - require.drupal/captcha : unbound version constraints (>=1 || <=2) should be avoided drupal/gin_toolbar is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead drupal/imagemagick is valid, but with a few warnings # General warnings - No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license. drupal/pathauto is valid, but with a few warnings # General warnings - require.drupal/token : unbound version constraints (*) should be avoided - require.drupal/ctools : unbound version constraints (*) should be avoided drupal/photoswipe is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead drupal/responsive_favicons is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead drupal/seckit is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead drupal/security_review is valid, but with a few warnings # General warnings - require.symfony/filesystem : unbound version constraints (*) should be avoided drupal/sophron is valid, but with a few warnings # General warnings - No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license. drupal/webp is valid, but with a few warnings # General warnings - License "GPL-2.0+" is a deprecated SPDX license identifier, use "GPL-2.0-or-later" instead fileeye/pel is valid, but with a few warnings # General warnings - License "GPL-2.0" is a deprecated SPDX license identifier, use "GPL-2.0-only" or "GPL-2.0-or-later" instead soul_media/drupal9_scripts is valid, but with a few warnings # General warnings - extra.branch-alias.master : the target branch (master) must end in -dev soul_media/smadmin_light is valid, but with a few warnings # General warnings - extra.branch-alias.master : the target branch (master) must end in -dev soul_media/smcoretaxonomy is valid, but with a few warnings # General warnings - extra.branch-alias.master : the target branch (master) must end in -dev soul_media/smpreventdelete is valid, but with a few warnings # General warnings - extra.branch-alias.master : the target branch (master) must end in -dev soul_media/smqs is valid, but with a few warnings # General warnings - require.graylog2/gelf-php : unbound version constraints (*) should be avoided - extra.branch-alias.master : the target branch (master) must end in -dev in Drupal\package_manager\ComposerInspector->validateProject() (line 144 of modules/contrib/automatic_updates/package_manager/src/ComposerInspector.php).

If I delete this part in the composer.json of the field_encrypt module, everything works without errors:
"conflict": {
"drupal/field_encrypt": "<3"
},

Steps to reproduce

Install and enable the field_encrypt module in combination with automatic_updates

🐛 Bug report
Status

Needs review

Version

3.1

Component

Code

Created by

🇨🇭Switzerland joelwinzer

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024