Updating core from 8.5.4 to 8.5.6 I'm trying to update Drupal core to lasted version with composer update drupal/core --with-dependencies. I followed the instructions given on Update core via Composer, but Composer claims there is nothing to install or update. It also prints the following message.


  Package "drupal/core" listed for update is not installed. Ignoring.
1,
in file composer.json add

"require": {
"drupal/core": "~8.5"
}


Remove line

"replace": {
    "drupal/core": "^8.5"
}


remote folder vendor
remove file composer.log

alter run

composer update --with-dependencies