Problem 1
- Can only install one of: symfony-cmf/routing[1.4.x-dev, 1.3.0].
- Can only install one of: symfony-cmf/routing[1.4.x-dev, 1.3.0].
- Can only install one of: symfony-cmf/routing[1.4.x-dev, 1.3.0-RC1].
- Can only install one of: symfony-cmf/routing[1.4.x-dev, 1.3.0-RC2].
- Can only install one of: symfony-cmf/routing[1.4.x-dev, 1.3.0-RC3].
- Can only install one of: symfony-cmf/routing[1.4.x-dev, 1.3.0-RC4].
- Can only install one of: symfony-cmf/routing[1.4.x-dev, 1.3.x-dev].
- drupal/core 8.2.0 requires symfony-cmf/routing ~1.4 -> satisfiable by symfony-cmf/routing[1.4.x-dev].
- Installation request for drupal/core 8.2.0 -> satisfiable by drupal/core[8.2.0].
- Installation request for symfony-cmf/routing 1.3.* -> satisfiable by symfony-cmf/routing[1.3.0, 1.3.0-RC1, 1.3.0-RC2, 1.3.0-RC3, 1.3.0-RC4, 1.3.x-dev].
Comments
Comment #2
thronedigital CreditAttribution: thronedigital commentedComment #3
cilefen CreditAttribution: cilefen commentedWhat change(s) did you make to composer.json and what is the command you executed? (It should be
composer update drupal/core --with-dependencies
).Comment #4
thronedigital CreditAttribution: thronedigital commentedComposer.json:
"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.0.21",
"wikimedia/composer-merge-plugin": "~1.3",
"drupal/address": "8.x",
"drupal/core": "~8.1",
"drupal/admin_toolbar": "8.x",
"drupal/ctools": "8.x",
"drupal/views_bootstrap": "8.x",
"drupal/group": "8.x",
"drupal/ief_table_view_mode": "8.x-1.x-dev",
"drupal/image_effects": "8.x",
"drupal/token": "8.x",
"drupal/fontyourface": "8.x",
"drupal/formblock": "8.x",
"drupal/pathauto": "8.x",
"drupal/simple_sitemap": "8.x",
"drupal/simple_fb_connect": "8.x",
"drupal/video_embed_field": "8.x",
"drupal/ajax_comments": "8.x-1.x-dev",
"drupal/geolocation": "^8.1",
"drupal/message_subscribe": "8.x",
"drupal/select_or_other": "8.x-1.x-dev"
},
"replace": {
},
"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."
],
"merge-plugin": {
"include": [
"core/composer.json"
],
"recurse": false,
"replace": false,
"merge-extra": false
}
},
Update attempts: I restored a backup between each attempt.
I've tried changing 8.1 to 8.2 in the composer.json file, then running composer update
I've also tried composer update drupal/core --with-dependencies
I've also tried composer require drupal/core 8.2.0
Comment #5
thronedigital CreditAttribution: thronedigital commentedWhen I run composer update drupal/core --with-dependencies
Warnings:
Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
Dependency "composer/semver" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "doctrine/annotations" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "doctrine/common" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "easyrdf/easyrdf" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "egulias/email-validator" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "guzzlehttp/guzzle" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "masterminds/html5" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "paragonie/random_compat" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "stack/builder" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony-cmf/routing" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/class-loader" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/console" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/dependency-injection" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/event-dispatcher" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/http-foundation" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/http-kernel" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/polyfill-iconv" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/process" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/psr-http-message-bridge" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/routing" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/serializer" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/translation" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/validator" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "symfony/yaml" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "twig/twig" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "zendframework/zend-diactoros" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Dependency "zendframework/zend-feed" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Comment #6
cilefen CreditAttribution: cilefen commentedOh, I see. Take a look at stuff that happened the last time.
I am going to ping Bojhan about this one.
Comment #7
cilefen CreditAttribution: cilefen commentedWhat worked for me:
Remove composer.lock and vendor/.
Execute
composer update drupal/core --with-dependencies
Comment #8
thronedigital CreditAttribution: thronedigital commentedAfter following your instructions I was able to update core. Appreciate it.
Comment #9
timmillwoodSounds like this is working as it should?
Comment #10
cilefen CreditAttribution: cilefen commentedhttps://www.drupal.org/docs/7/updating-your-drupal-site/update-procedure... needs updating.
Comment #11
criscomcilefen's approach in #7 worked for me:
- remove "vendor" directory
- remove "core" directory
run
composer update --with-dependencies
Comment #12
finaukaufusi CreditAttribution: finaukaufusi commented#7 - work for me :)
Comment #13
kubrt CreditAttribution: kubrt commentedRemoving the composer.lock file and vendor directory as suggested (#7) above worked for me too.
Comment #14
agerard CreditAttribution: agerard commentedSorry, I know this is old... #7 worked for me, but is this the way the update process is supposed to work with Composer, or does having to delete the .lock file and vendor files (and or/ both vendor and core dirs?) indicate that something went wrong somewhere? And, having done this, my core update worked, but module updates are still not successful.
Comment #15
proffstudy CreditAttribution: proffstudy commentedRun
composer update