When I run drush self-update
, I get the following message:
A newer version of drush, 7.x-5.8, is available. You are currently running drush version 6.0-dev. The update process depends on how you installed drush. Some common update commands are:
pear upgrade drush/drush
,git pull
,drush dl drush --destination=[/path/to/drush]
.
When I execute pear upgrade drush/drush
, I get the following message:
Nothing to upgrade
When I execute sudo drush dl drush --destination=/usr/local/bin/pear/bin
(/usr/local/bin/pear/bin is the directory where Drush is found from which
), I get the following messages:
Unable to create /usr/local/bin/pear/bin/drush. [error]
Project drush (7.x-5.8) could not be downloaded to /usr/local/bin/pear/bin/drush.
How should I update Drush when installed with pear
?
pear install drush drush/drush-5.8.0
if you installed it in the default location i find it just overwrites whats there ..... stupid pear (not me, pear :P)pear install drush drush/drush-5.8.0
, I get the following error: "drush/drush is already installed and is newer than detected released version 5.8.0."--force
option ...