Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running composer update drupal/core --with-dependencies only updates modules and vendor files. #369

Closed
dougmorin opened this issue Mar 14, 2018 · 6 comments

Comments

@dougmorin
Copy link

No description provided.

@dougmorin
Copy link
Author

I manually changed the version of drupal from within the composer file to ~8.5, that told me that symfony/yaml had a conflict with symfony/console, and symfony/console had a conflict with symfony/process. updating process, then console, then yaml seemed to fix it. Why doesn't this just happen automatically?

@FatherShawn
Copy link

FatherShawn commented Mar 15, 2018

It's my understanding that is what the --with-dependencies flag is for. It looks like the update command for this round is composer update drupal/core drupal/console webflo/drupal-core-require-dev --with-dependencies

See composer why/why not [synonyms of composer depends and composer prohibits] these are your tools for finding the package that's blocking your upgrade.

@geerlingguy
Copy link

geerlingguy commented Mar 22, 2018

See also:

But basically, what @FatherShawn said—though see the Updating Drupal Core docs in this project's README. It mentions the command:

composer update drupal/core webflo/drupal-core-require-dev symfony/* --with-dependencies

@ghost
Copy link

ghost commented Mar 26, 2018

When I run composer outdated I get this list of Symfony packages that need updating:

ymfony-cmf/routing                   1.4.1              2.0.3              Extends the Symfony2 routing component for dynamic routes and chaining sever...
symfony/browser-kit                   v3.4.6             v4.0.6             Symfony BrowserKit Component
symfony/config                        v3.4.6             v4.0.6             Symfony Config Component
symfony/console                       v3.4.6             v4.0.6             Symfony Console Component
symfony/css-selector                  v3.4.6             v4.0.6             Symfony CssSelector Component
symfony/debug                         v3.4.6             v4.0.6             Symfony Debug Component
symfony/dependency-injection          v3.4.6             v4.0.6             Symfony DependencyInjection Component
symfony/dom-crawler                   v3.4.6             v4.0.6             Symfony DomCrawler Component
symfony/event-dispatcher              v3.4.6             v4.0.6             Symfony EventDispatcher Component
symfony/filesystem                    v3.4.6             v4.0.6             Symfony Filesystem Component
symfony/finder                        v3.4.6             v4.0.6             Symfony Finder Component
symfony/http-foundation               v3.4.6             v4.0.6             Symfony HttpFoundation Component
symfony/http-kernel                   v3.4.6             v4.0.6             Symfony HttpKernel Component
symfony/phpunit-bridge                v3.4.6             v4.0.6             Symfony PHPUnit Bridge
symfony/process                       v3.4.6             v4.0.6             Symfony Process Component
symfony/routing                       v3.4.6             v4.0.6             Symfony Routing Component
symfony/serializer                    v3.4.6             v4.0.6             Symfony Serializer Component
symfony/translation                   v3.4.6             v4.0.6             Symfony Translation Component
symfony/validator                     v3.4.6             v4.0.6             Symfony Validator Component
symfony/var-dumper                    v3.4.6             v4.0.6             Symfony mechanism for exploring and dumping PHP variables
symfony/yaml                          v3.4.6             v4.0.6             Symfony Yaml Component

I'm seeing this message when trying to update using this command:

composer update drupal/core webflo/drupal-core-require-dev symfony/* --with-dependencies

Package "symfony/*" listed for update is not installed. Ignoring.

Is there something wrong with my setup?

@TipiT
Copy link

TipiT commented Mar 29, 2018

I was thinking about asking almost the same thing and then I found https://www.jeffgeerling.com/blog/2018/updating-drupalcore-composer-drupal-core-doesnt-update and from the bottom the links to previous discussions. Now I understand why-not (alias prohibits). :)

@webflo
Copy link
Member

webflo commented Jun 26, 2018

We updated the docs around core updates a while ago. https://github.com/drupal-composer/drupal-project#updating-drupal-core

Please try again and open an new issue if its still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants