My website is built with Drupal 8.3.2. I want to update to to Drupal 8.9.x, but I don’t want to move to Drupal 9.x. I ran the following command.
composer update drupal/core-recommended:8.9 --with-dependencies
I am getting these errors. The site uses PHP 7.3.33.
Could not load package centreon/centreon in http://repo.packagist.org: [UnexpectedValueException] Could not parse version constraint optimize-browser-configuration-dev: Invalid version string "optimize-browser-configuration-dev"
I tried to install centreon/centreon, but there is no package.
Can anybody help me with resolving this issue?
This is the content of the composer.json file used for the site.
{ "name": "drupal/drupal", "description": "Drupal is an open source content management platform powering millions of websites and applications.", "type": "project", "license": "GPL-2.0+", "require": { "composer/installers": "^1.9", "wikimedia/composer-merge-plugin": "^1.4" }, "replace": { "drupal/core": "^8.3" }, "minimum-stability": "dev", "prefer-stable": true, "config": { "preferred-install": "dist", "autoloader-suffix": "Drupal8" }, "extra": { "_readme": [ "By default Drupal loads the autoloader from ./vendor/autoload.php.", "To change the autoloader you can edit ./autoload.php.", "This file specifies the packages.drupal.org repository.", "You can read more about this composer repository at:", "https://www.drupal.org/node/2718229" ], "merge-plugin": { "include": [ "core/composer.json" ], "recurse": false, "replace": false, "merge-extra": false }, "installer-paths": { "core": ["type:drupal-core"], "modules/contrib/{$name}": ["type:drupal-module"], "profiles/contrib/{$name}": ["type:drupal-profile"], "themes/contrib/{$name}": ["type:drupal-theme"], "drush/contrib/{$name}": ["type:drupal-drush"], "modules/custom/{$name}": ["type:drupal-custom-module"], "themes/custom/{$name}": ["type:drupal-custom-theme"] } }, "autoload": { "psr-4": { "Drupal\Core\Composer\": "core/lib/DrupalCore/Composer" } }, "scripts": { "pre-autoload-dump": "Drupal\Core\Composer\Composer::preAutoloadDump", "post-autoload-dump": [ "Drupal\Core\Composer\Composer::ensureHtaccess" ], "post-package-install": "Drupal\Core\Composer\Composer::vendorTestCodeCleanup", "post-package-update": "Drupal\Core\Composer\Composer::vendorTestCodeCleanup" }, "repositories": [ { "type": "composer", "url": "https://packages.drupal.org/8" } ] }