Using my own non-root account I installed Drush on my Ubuntu 14.04 server using the following:
sudo apt-get install drush
My problem is whether I use sudo or not with the same user account, I get Could not download project status information from http://updates.drupal.org/release-history/drupal/7.x as the following shows:
axel@ITS-DEV-SVR:/var/www$ drush dl drupal-7.34
Could not download project status information from [error]
http://updates.drupal.org/release-history/drupal/7.x
axel@ITS-DEV-SVR:/var/www$ sudo drush dl drupal-7.34
Could not download project status information from [error]
http://updates.drupal.org/release-history/drupal/7.x
axel@ITS-DEV-SVR:/var/www$
Are there settings, permissions Can anyone please offer some insight into how to resolve this?
UPDATE:
The server is Ubuntu 14.04.1 LTS.
Below is the output of executing a drush download in verbose mode.
drush -v dl drupal-7.34
Loading version_control engine. [notice]
Loading package_handler engine. [notice]
Executing: wget --version
Loading release_info engine. [notice]
Downloading release history from [notice]
http://updates.drupal.org/release-history/drupal/7.x
Executing: wget --version
Executing: wget -q --timeout=30 -O /tmp/download_filectSEpS http://updates.drupal.org/release-history/drupal/7.x
Undefined variable: xml updatexml.inc:404 [notice]
Could not download project status information from [error]
http://updates.drupal.org/release-history/drupal/7.x
Command dispatch complete [notice]
UPDATE#2
It's worth adding that the website is configured as a multisite even though it's running a single website
drush -v dl drupal-7.34
and paste the output. It has worked for me.