Updating core to 8.9.6 fails

I’v installed Drupal 8 by composer. Everything worked fine, but when I tried to update core from 8.9.1 to 8.9.5 in ended up in 8.9.4.

Today I tried to update from 8.9.4. to 8.9.6 by changing composer.json to demand v 8.9.6 at least.

The result was following error message:

Your requirements could not be resolved to an installable set of packages. Problem 1

  • Installation request for symfony/http-kernel (locked at v3.4.41) -> satisfiable by symfony/http-kernel[v3.4.41]. > – drupal/core-recommended 8.9.6 requires symfony/http-kernel v3.4.44 -> satisfiable by symfony/http-kernel[v3.4.44]. > – drupal/core-recommended 8.9.x-dev requires symfony/http-kernel v3.4.44 -> satisfiable by symfony/http-kernel[v3.4.44]. > – Conclusion: don’t install symfony/http-kernel v3.4.44 > – Installation request for drupal/core-recommended ^8.9.6 -> satisfiable by drupal/core-recommended[8.9.6, 8.9.x-dev].

I’m stuck, since I don’t know what locks symphony/http-kernel to v3.4.41.

I’m still pretty new with composer and would be glad if anybody could help me. Thanks a lot.

EDIT 1

{ "name": "drupal/legacy-project", "description": "Project template for Drupal 8 projects with composer following drupal/drupal layout", "type": "project", "license": "GPL-2.0-or-later", "homepage": "https://www.drupal.org/project/drupal", "support": {     "docs": "https://www.drupal.org/docs/user_guide/en/index.html",     "chat": "https://www.drupal.org/node/314178" }, "repositories": [     {         "type": "composer",         "url": "https://packages.drupal.org/8"     } ], "require": {     "civicrm/civicrm-asset-plugin": "~1.0.0",     "civicrm/civicrm-core": "~5.28",     "civicrm/civicrm-drupal-8": "~5.28",     "civicrm/civicrm-packages": "~5.28",     "composer/installers": "^1.2",     "drupal/admin_toolbar": "^2.2",     "drupal/antibot": "^1.4",     "drupal/at_tools": "^3.2",     "drupal/barrio": "1.x-dev",     "drupal/captcha": "^1.0",     "drupal/clever_theme_switcher": "^3.0",     "drupal/colorbox": "^1.4",     "drupal/commerce": "^2.17",     "drupal/commerce_shipping": "^2.0@RC",     "drupal/core-composer-scaffold": "^8.9.6",     "drupal/core-project-message": "^8.9.6",     "drupal/core-recommended": "^8.9.6",     "drupal/core-vendor-hardening": "^8.",     "drupal/ctools": "^3.4",     "drupal/editor_advanced_link": "^1.6",     "drupal/editor_file": "^1.4",     "drupal/entity_browser": "^2.4",     "drupal/hotkeys_for_save": "^1.0",     "drupal/imce": "^2.3",     "drupal/layout_builder_kit": "^1.0@beta",     "drupal/layout_builder_modal": "^1.0",     "drupal/linkit": "^4.3",     "drupal/media_library_theme_reset": "^1.0@beta",     "drupal/menu_block": "^1.5",     "drupal/menu_item_role_access": "^2.0",     "drupal/mobile_device_detection": "^3.2",     "drupal/module_filter": "^3.1",     "drupal/nagios": "^1.9",     "drupal/pathauto": "^1.6",     "drupal/permissions_by_term": "^2.18",     "drupal/pixture_reloaded": "^3.0",     "drupal/printable": "^1.1",     "drupal/quick_node_clone": "^1.12",     "drupal/redirect": "^1.5",     "drupal/superfish": "^1.3",     "drupal/swiftmailer": "^2.0@beta",     "drupal/token": "^1.6",     "drupal/upgrade_status": "^2.0",     "drupal/views_conditional": "^1.0",     "drupal/views_slideshow": "^4.7",     "drupal/webform": "^5.9",     "drupal/webform_civicrm": "^5.0@beta",     "drupal/xmlsitemap": "^1.0@RC",     "wikimedia/composer-merge-plugin": "^1.4" }, "conflict": {     "drupal/drupal": "*" }, "minimum-stability": "dev", "prefer-stable": true, "config": {     "sort-packages": true }, "extra": {     "drupal-scaffold": {         "locations": {             "web-root": "./"         }     },     "installer-paths": {         "core": [             "type:drupal-core"         ],         "libraries/{$name}": [             "type:drupal-library"         ],         "modules/contrib/{$name}": [             "type:drupal-module"         ],         "profiles/contrib/{$name}": [             "type:drupal-profile"         ],         "themes/contrib/{$name}": [             "type:drupal-theme"         ],         "drush/Commands/contrib/{$name}": [             "type:drupal-drush"         ],         "modules/custom/{$name}": [             "type:drupal-custom-module"         ],         "themes/custom/{$name}": [             "type:drupal-custom-theme"         ]     },     "merge-plugin": {         "include": [             "modules/contrib/webform/composer.libraries.json"         ]     },     "drupal-core-project-message": {         "include-keys": [             "homepage",             "support"         ],         "post-create-project-cmd-message": [             "<bg=blue;fg=white>                                                         </>",             "<bg=blue;fg=white>  Congratulations, you’ve installed the Drupal codebase  </>",             "<bg=blue;fg=white>  from the drupal/legacy-project template!               </>",             "<bg=blue;fg=white>                                                         </>",             "",             "<bg=yellow;fg=black>Next steps</>:",             "  * Install the site: https://www.drupal.org/docs/8/install",             "  * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",             "  * Get support: https://www.drupal.org/support",             "  * Get involved with the Drupal community:",             "      https://www.drupal.org/getting-involved",             "  * Remove the plugin that prints this message:",             "      composer remove drupal/core-project-message"         ]     } } 

}

My update command was

composer u drupal/core* --with-dependencies 
This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

Updating core to 8.9.6 fails

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.