Is there a way to exclude a module from a Drush update so it can be ignored when running eg 'drush up' ?

I ask because Rules 2.8 is causing problems with Drupal Commerce but it would be great if everything else could still be updated with Drush.


1 Answer 1


You can use the following command:

drush pm-update --lock=modulename

There is a post here about it: http://blog.wassill.eu/en/blog/short-excludes-modules-drush-update-09-04-2013

Not the answer you're looking for? Browse other questions tagged or ask your own question.