8

When trying to run `Drush pm-update' in a site i get the error

Command pm-update needs the following modules installed/enabled to run: update.                              [error]
The drush command 'pm-update' could not be executed.

Oddly this command was recently working (on other sites in the same core installation), and further more I have no idea where to find or what is this 'update' module. Can anyone point me in the right direction?

4
  • 3
    The Update manager is a core module, you just need to drush en update or do it through the interface
    – Clive
    Commented Jun 19, 2013 at 9:17
  • You can also try drush up, it works for me
    – LXB
    Commented Jun 19, 2013 at 14:48
  • ('drush up' is just short for 'drush pm-update').
    – petergus
    Commented Jun 19, 2013 at 14:50
  • From drush version 7.1.0 on you don't need to enable the update module anymore as it calls api.drupal.org/api/drupal/modules%21system%21system.module/…
    – devunder
    Commented Apr 8, 2016 at 7:53

1 Answer 1

17

It's in <drupal_root>/modules/update. If not, it means you damaged your core.

Try drush en update - it should re-enable it for you. After performing updates you are allowed to disable it again.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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