My Drupal 6.x site uses Features, and that seems to be causing the upgrade of any contributed module to fail with drush errors, like this one:

Upgrading Contrib Modules from Drupal 6 to Drupal 7 Step 5
Upgrading module: phone

5. Run update.php again (you should have run it once already when upgrading core) and check for any message output.

Drush will automatically do this step now.

Fatal error: Cannot redeclare features_drush_command() (previously declared in /path/to/d6site/sites/all/modules/contrib/features/features.drush.inc:17) in /path/to/d7site/sites/all/modules/features/features.drush.inc on line 138
Drush command terminated abnormally due to an unrecoverable error.

Comments

brad.bulger’s picture

Title: Features causes all 7.x module upgrades to fail » 6.x module drush include files cause all 7.x module upgrades to fail

This is broader than Features, that just happened to be the first conflict. It seems to be loading all the drush.inc files for 6.x modules in the same session that is loading the drush.inc files from the 7.x modules. Renaming/removing the 6.x drush.inc files gets around the failure.