I have a Drupal 8.9.16 website and when I try running composer update
to update the modules, I get this output
$ composer update
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
38 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
So it says Nothing to install, update or remove.
Then I look at the list of available updates in the Available updates page (/admin/reports/updates) and most of them have updates.
Looking at the composer.json file, I see it listing the updated version.
For example:
- Drupal's Available updates page says I have Address 8.x-1.8 installed and
recommends version 8.x-1.9.
- The composer.json file shows under require:
"drupal/address": "^1.9"
, which I assume means composer says to update to version 1.9.
I was getting this problem in Composer 1, so I updated to Composer 2 but that hasn't changed anything.
$ composer --version
Composer version 2.1.3 2021-06-09 16:31:20
Below is the content of my composer.json file.
{
"name": "root/chesla",
"require": {
"composer/installers": "^1.7",
"drupal/core": "^8.8",
"drupal/address": "^1.9",
"drupal/addtoany": "^1.12",
"drupal/admin_toolbar": "^2.0",
"drupal/ajax_form_entity": "^1.0-alpha1",
"drupal/backup_migrate": "^4.1",
"drupal/allowed_formats": "^1.2",
"drupal/block_class": "^1.3",
"drupal/captcha": "^1.1",
"drupal/context": "^4.0-beta2",
"drupal/ctools": "^3.2",
"drupal/devel": "^2.1",
"drupal/diff": "^1.0",
"drupal/entity": "^1.1",
"drupal/exclude_node_title": "^1.1",
"drupal/features": "^3.8",
"drupal/field_group": "^3.0",
"drupal/media_entity": "^1.8",
"drupal/imce": "^2.2",
"drupal/libraries": "^3.0-alpha1",
"drupal/mailsystem": "^4.3",
"drupal/image_widget_crop": "^2.3",
"drupal/markup": "^1.0-beta1",
"drupal/menu_block": "^1.6",
"drupal/metatag": "^1.13",
"drupal/mimemail": "^1.0-alpha2",
"drupal/module_filter": "^3.1",
"drupal/paragraphs": "^1.11",
"drupal/pathauto": "^1.6",
"drupal/recaptcha": "^2.5",
"drupal/typed_data": "^1.0-alpha4",
"drupal/rules": "^3.0.0-alpha5",
"drupal/sharethis": "^2.0-beta3",
"drupal/simplenews": "^1.0-beta1",
"drupal/sitemap": "^1.5",
"drupal/token": "^1.7",
"drupal/views_bootstrap": "^4.2",
"drupal/views_fieldsets": "^3.3",
"drupal/yoast_seo": "^1.7",
"drupal/migrate_upgrade": "^3",
"drupal/migrate_plus": "^4",
"drupal/migrate_tools": "^4.5",
"drupal/bootstrap": "^3.21",
"drupal/context_layout": "^1.0-beta2",
"drupal/crop": "^2.1",
"drupal/entityqueue": "^1.0",
"drupal/views_slideshow": "^4.7",
"drush/drush": "^10.3",
"drupal/bootstrap_simple_carousel": "^1.43",
"drupal/carousel_block": "^1.10",
"drupal/slick": "^2.3",
"drupal/webform": "^6.0",
"drupal/core-composer-scaffold": "^8.9"
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
}
}
I just noticed that I have drush listed. I don't use it and don't know how to use it.
$ drush --version
Drush Launcher Version: 0.6.0
Drush Commandline Tool 10.3.6
I am trying to use composer here to update. I can install modules (did webforms the other day).
Thank you.