I have the latest dev versions of all the drush extensions I've been asked to install. (i tried the rc releases too).

I get this error:

err: /Stage[main]/Aegir/Aegir::Apt::Debconf[aegir/webserver string apache]/Exec[aegir/webserver string apache]: Could not evaluate: Could not find command 'debconf-get-selections'

And so installation fails.

CommentFileSizeAuthor
#6 aegir-up-output.txt9.59 KBdavidtrainer

Comments

helmo’s picture

Which blueprint and basebox did you use?

That command is pretty default for de debian (based) os. Should be in /usr/bin/debconf-get-selections

thedavidmeister’s picture

I followed the quick start guide:

Install system dependencies: Drush, Vagrant, VirtualBox and, optionally, an NFS-server (ref.)
Install Drush dependencies (Drush Vagrant Integration and Drush Hosts): drush dl drush-vagrant drush-hosts (ref.)
Install Aegir-up: drush dl aegir-up
Build a new project: drush vagrant-build --blueprint=aegir
Respond to prompts for additional information required to build your project
Wait while the Vagrant base box is downloaded (this will take a few minutes, but is only required once)
Wait a couple more minutes while your VM is provisioned
Visit the provided one-time login link to access your new Aegir VM
Profit!

mathieuhelie’s picture

I can confirm the same problems using the same steps. Tried stable releases, install failed with this error, tried dev releases, same error. Now have 3 unremovable drush-vagrant projects causing collisions.

This is what I get attempting to clean up:

imac-mathieu:aegirtest mathieu$ drush vagrant-list
aegirtest
  aegir-up (running (virtualbox))
imac-mathieu:aegirtest mathieu$ drush vagrant-delete aegirtest
!!! WARNING: This operation cannot be undone. !!!
This operation will delete the "aegirtest" project, and destroy all of its VMs
Are you certain that you want to proceed? (y/n): y
Listed all VMs of the project at /Users/mathieu/vagrant/projects/aegirtest.                            [ok]
The drush command '@@aegirtest.aegir-up hosts' could not be found.  Run `drush cache-clear drush` to   [error]
clear the commandfile cache if you have installed new extensions.
A Drupal installation directory could not be found                                                     [error]
The following errors occurred when running "drush [alias] hosts --remove".                             [error]
aegir-up
Drush command terminated abnormally due to an unrecoverable error.                                     [error]

This may be the source of the problem, when I ran drush vagrant-build for the first time:

[aegir-up] Box 'debian-LAMP-2012-03-29' was not found. Fetching box from specified URL for
the provider 'virtualbox'. Note that if the URL does not have
a box for this provider, you should interrupt Vagrant now and add
the box yourself. Otherwise Vagrant will attempt to download the
full box prior to discovering this error.
Downloading box from URL: http://ergonlogic.com/files/boxes/debian-LAMP-current.box
Extracting box...te: 2094k/s, Estimated time remaining: --:--:--)
Successfully added box 'debian-LAMP-2012-03-29' with provider 'virtualbox'!

The project seems to assume a version of debian and download something else.

I then got an error fixed by upgrading to dev release of the project:

There are errors in the configuration of this machine. Please fix
the following errors and try again:

SSH:
* The following settings shouldn't exist: max_tries

After upgrading to drush-vagrant dev and reprovisioning I blocked on this error:

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

FACTER_fqdn='' FACTER_username='mathieu' FACTER_git_name='Mathieu Helie' FACTER_git_email='mhelie@gmail.com' FACTER_uid='501' FACTER_gid='20' puppet apply  --modulepath '/tmp/vagrant-puppet-1/modules-0:/tmp/vagrant-puppet-1/modules-1' --manifestdir /tmp/vagrant-puppet-1/manifests --detailed-exitcodes /tmp/vagrant-puppet-1/manifests/site.pp || [ $? -eq 2 ]

Stdout from the command:

As well as the previous one above (debconf-get-selections).

Upgraded aegir-up to dev release and tried one more time. Same results.

Other interesting errors:

err: /Stage[main]/Aegir::Queue_runner/Drush::En[hosting_queue_runner]/Drush::Run[drush-en:hosting_queue_runner]/Exec[drush-run:drush-en:hosting_queue_runner]/returns: change from notrun to 0 failed: drush @hostmaster --yes  pm-enable hosting_queue_runner  >> /var/aegir/drush.log 2>&1 returned 1 instead of one of [0] at /tmp/vagrant-puppet-1/modules-0/drush/manifests/run.pp:31
warning: /Stage[main]/Aegir::Queue_runner/Service[hosting-queue-runner]: Skipping because of failed dependencies

(lots of skipping because of failed dependencies)

The following errors occurred when running "vagrant up":                                               [error]
(name of first failed project I couldn't clean up)
(name of second failed project I couldn't clean up)

I'm looking for instructions on how to restore my system to a blank slate. Maybe it will go through? In the meantime I will hand create my VM and network config/file sharing.

mathieuhelie’s picture

Title: quickstart guide fails » Missing dependency: Could not find command 'debconf-get-selections'
mathieuhelie’s picture

Now that I've tried installing aegir the old way, it turns out that is broken as well.

root@precise32:~# apt-get install aegir
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 aegir : Depends: aegir-provision (>= 1.11) but it is not going to be installed
         Depends: aegir-hostmaster (>= 1.11) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@precise32:~# 

So this may be a problem with aegir's package management in general.

update: apt-get install aegir2 (the new version) worked.

davidtrainer’s picture

StatusFileSize
new9.59 KB

Same issue here, attempting to run drush aegir-up with the aegir blueprint.

Attached is what looked like the relevant portion of the --verbose output.

After it fails, I can still vagrant ssh into the machine, and do this:

vagrant@aegir-up:~$ which debconf-get-selections
/usr/bin/debconf-get-selections