2

My site hasn't been updated for two months, a few new updates has been released. My site's core version is 8.5.6. Before running composer update -with-dependencies I read the release notes to the latest version of core (8.6.2), they say:

Sites on 8.5.x should update immediately to Drupal 8.5.8 instead, and plan to update to the latest 8.6.x release before May 2019.

How do I update the old core to Drupal 8.5.8 instead? How do I specify that version in CLI, what command? Eventually I want to update it to the latest version.

  • 4
    composer require drupal/core:8.5.8 --update-with-dependencies, or some slight variation. If you get complaints about conflicting symfony component, add symfony/config to your command. If you have webflo/drupal-core-strict installed, also add that – Clive Oct 22 '18 at 12:32
0

I was in the same position. I used :

composer require drupal/core:^8.5.10

And it worked. Cheers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.