How can I resolve these errors when updating the module? I want to update Drupal Commerce to 8.x-2.0-beta7 from a clean, Composer-based installation of 8.x-2.0-beta6, following the documentation on http://docs.drupalcommerce.org/v2/getting-started/update.html.

I noticed that composer update drupal/commerce --with-dependencies did not update drupal/core. This surprises me. Isn't drupal/core a dependency? Anyway, says it's white-listed so I then ran composer update drupal/core.

Now I am hitting a problem with updates.


  drupal update:debug
  
  Fatal error: Cannot use Drupal\Console\Core\Bootstrap\DrupalConsoleCore 
      as DrupalConsoleCore because the name is already in use 
      in/pathto/commerce8/vendor/drupal/console/src/Bootstrap/Drupal.php on 
      line 11





  drupal update:execute
  
  Fatal error: Cannot use Drupal\Console\Core\Bootstrap\DrupalConsoleCore 
      as DrupalConsoleCore because the name is already in use in 
      /pathto/commerce8/vendor/drupal/console/src/Bootstrap/Drupal.php on 
      line 11


I have since run update.php, but the Composer errors persist.

I am learning about Composer, and I don't know yet anything about Drupal Console.

What am I doing wrong?
It sounds like Drupal Console someone was installed improperly, based on the duplicate class name error.

Can you try removing the /pathto/commerce8/vendor directory. Then run composer install once more. That'll fixup all third party dependencies, hopefully resolve this.