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

thronedigital created an issue. See original summary.

thronedigital’s picture

Component: update.module » base system
cilefen’s picture

What change(s) did you make to composer.json and what is the command you executed? (It should be composer update drupal/core --with-dependencies).

thronedigital’s picture

Composer.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

thronedigital’s picture

When 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.

cilefen’s picture

Oh, I see. Take a look at stuff that happened the last time.

I am going to ping Bojhan about this one.

cilefen’s picture

What worked for me:

Remove composer.lock and vendor/.

Execute composer update drupal/core --with-dependencies

thronedigital’s picture

After following your instructions I was able to update core. Appreciate it.

timmillwood’s picture

Status: Active » Closed (works as designed)

Sounds like this is working as it should?

cilefen’s picture

criscom’s picture

cilefen's approach in #7 worked for me:

- remove "vendor" directory
- remove "core" directory
run composer update --with-dependencies

finaukaufusi’s picture

#7 - work for me :)

kubrt’s picture

Removing the composer.lock file and vendor directory as suggested (#7) above worked for me too.

agerard’s picture

Sorry, 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.

proffstudy’s picture

Version: 8.2.0 » 10.1.x-dev

Run composer update