Posted by oneguru on August 5, 2010 at 6:01pm
As of August 5 2010 it would appear any attempt to install aegir fails due to a corrupt drush install. Prior to August 5 2010 everything was working as expected. When can we expect an update on this? Thanks -

Comments
In what way is drush
In what way is drush broken?
A development release was posted today, the 5:th of august, but it's clearly marked as such and you shouldn't not rely on it for production work. If you are using the dev-version, and it's not working, then stop using it. If you're not using the dev version then I don't understand what todays date has to do with your problem?
Perhaps the development
Perhaps the development release posted today is being grabbed by the install script?
install.sh.txt;hb=provision-0.4-alpha9
This script takes the following steps:
4. downloads drush in $AEGIR_HOME
5. downloads drush_make in $AEGIR_HOME/.drush
6. downloads provision in $AEGIR_HOME/.drush
7. deploys hostmaster in $AEGIR_HOME using drush
attempt 5
OK, I've setup 5 different server instances today and attempted to install aegir. Each time it gives me an error of drush failing. How can I install drush and modify the install.sh.txt;hb=provision-0.4-alpha9 script so that it doesn't automatically install a bad version of drush. Which at this point looks like the dev. released this morning. Thanks -
Something is really broken
And the strange part of it is - it fails on working before non-devel version - drush-6.x-3.1
==> Installing drush in /var/aegir
--2010-08-05 20:19:01-- http://ftp.drupal.org/files/projects/drush-6.x-3.1.tar.gz
Resolving ftp.drupal.org... 140.211.166.134
Connecting to ftp.drupal.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 174203 (170K) [application/x-gzip]
Saving to: `drush-6.x-3.1.tar.gz'
0K .......... .......... .......... .......... .......... 29% 73.2K 2s
50K .......... .......... .......... .......... .......... 58% 290K 1s
100K .......... .......... .......... .......... .......... 88% 292K 0s
150K .......... .......... 100% 120K=1.2s
2010-08-05 20:19:02 (142 KB/s) - `drush-6.x-3.1.tar.gz' saved [174203/174203]
PHP Fatal error: Class 'Console_Table' not found in /var/aegir/drush/includes/drush.inc on line 973
==> Drush is broken (php /var/aegir/drush/drush.php help failed)
I did a diff -urp on
I did a diff -urp on downloaded yesterday version and downloaded today and the result is:
Only in /var/aegir/drush/includes: table.incFile
table.incis missing and this is why it fails.So it seems the download from PEAR fails
[22:36] omega8cc: the file http://ftp.drupal.org/files/projects/drush-6.x-3.1.tar.gz is corrupted - one files is missing[22:36] omega8cc: one file* - table.inc
[22:37] Vertice: it's not missing
[22:37] Vertice: we arent allowed to put it ib the tarball
[22:37] Vertice: due to it not being written by us
[22:37] Vertice: the first time you runb drush it tries to download it from pear
[22:37] Vertice: and puts it in place
[22:38] omega8cc: hah, so the download from pear is broken
thanks for looking into this,
thanks for looking into this, if the download from pear is broken is there a work around?
It is submitted as a critical
It is submitted as a critical issue:
http://drupal.org/node/875192
You can use submitted patch for drush and edit the URL of drush download in your install script to your patched version until they will accept the patch:
http://drupal.org/node/875196
Grace, thanks so much! :) -
Grace, thanks so much! :) - Jerry
workaround
you can use pear to install Console_Table and copy the Console/Table.php from your shared folder of php (in debian/ubuntu and other distribution on standard install is in /usr/share/php/Console/Table.php)
steps i did:
as root (or with sudo as a normal sudo enabled user):
then it worked.
I don't know exactly but i think that Console_Tabel has Console_Getopt as dependency so is good to install it from pear and leave it there after, any manually copied file from pear to be used into a project will be able to load "Pear_Package/Necessary.php" from the php include directive if pear is installed correctly (normal on a ubuntu/debian/centos install)
hope this can be used to solve all future similar problems.
i get this error
cp: cannot create regular file `/var/aegir/drush/includes/table.inc': No such file or directory
Resolved the error
I was getting same error Class : Console_Tabel not defined in command prompt.
I downloaded the pear package manually http://pear.php.net/package/Console_Table/download and extract the tar file and open the Table.php and copied all the content to drush/includes/table.inc , that's it , Now no error is there. It is running fine.
-- I am running Drush in windows 7.
This is not true anymore with
This is not true anymore with the latest version 7.x.5.4... normally this should happen automatically but if it does not for some reason, as in my case:
Should work then...
What is the right directory for drush when using Aegir?
After reading your posts, I realice mine is in /usr/share/pear/drush/drush.php
I doubt if it should be, and I should move it to /var/aegir/drush/drush
Thanks for your help,