Reading package lists... Building dependency tree... Reading state information... foreman is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up foreman (0.5-~nightlybuild1337230816) ... + . /usr/share/debconf/confmodule + [ ! ] + PERL_DL_NONLAZY=1 + export PERL_DL_NONLAZY + [ ] + exec /usr/share/debconf/frontend /var/lib/dpkg/info/foreman.postinst configure + . /usr/share/debconf/confmodule + [ ! 1 ] + [ -z ] + exec + [ ] + exec + DEBCONF_REDIR=1 + export DEBCONF_REDIR + cd /usr/share/foreman + bundle install --path ./vendor/ Using rake (0.9.2.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/rake-0.9.2.2.gemspec Using abstract (1.0.0) from /usr/share/foreman/vendor/ruby/1.8/specifications/abstract-1.0.0.gemspec Using activesupport (3.0.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/activesupport-3.0.10.gemspec Using builder (2.1.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/builder-2.1.2.gemspec Using i18n (0.5.0) from /usr/share/foreman/vendor/ruby/1.8/specifications/i18n-0.5.0.gemspec Using activemodel (3.0.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/activemodel-3.0.10.gemspec Using erubis (2.6.6) from /usr/share/foreman/vendor/ruby/1.8/specifications/erubis-2.6.6.gemspec Using rack (1.2.5) from /usr/share/foreman/vendor/ruby/1.8/specifications/rack-1.2.5.gemspec Using rack-mount (0.6.14) from /usr/share/foreman/vendor/ruby/1.8/specifications/rack-mount-0.6.14.gemspec Using rack-test (0.5.7) from /usr/share/foreman/vendor/ruby/1.8/specifications/rack-test-0.5.7.gemspec Using tzinfo (0.3.33) from /usr/share/foreman/vendor/ruby/1.8/specifications/tzinfo-0.3.33.gemspec Using actionpack (3.0.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/actionpack-3.0.10.gemspec Using mime-types (1.18) from /usr/share/foreman/vendor/ruby/1.8/specifications/mime-types-1.18.gemspec Using polyglot (0.3.3) from /usr/share/foreman/vendor/ruby/1.8/specifications/polyglot-0.3.3.gemspec Using treetop (1.4.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/treetop-1.4.10.gemspec Using mail (2.2.19) from /usr/share/foreman/vendor/ruby/1.8/specifications/mail-2.2.19.gemspec Using actionmailer (3.0.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/actionmailer-3.0.10.gemspec Using arel (2.0.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/arel-2.0.10.gemspec Using activerecord (3.0.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/activerecord-3.0.10.gemspec Using activeresource (3.0.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/activeresource-3.0.10.gemspec Using bundler (1.1.3) from /usr/lib/ruby/vendor_ruby/bundler Using json (1.7.3) from /usr/share/foreman/vendor/ruby/1.8/specifications/json-1.7.3.gemspec Using rdoc (3.12) from /usr/share/foreman/vendor/ruby/1.8/specifications/rdoc-3.12.gemspec Using thor (0.14.6) from /usr/share/foreman/vendor/ruby/1.8/specifications/thor-0.14.6.gemspec Using railties (3.0.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/railties-3.0.10.gemspec Using rails (3.0.10) from /usr/share/foreman/vendor/ruby/1.8/specifications/rails-3.0.10.gemspec Using acts_as_audited (2.0.0) from /usr/share/foreman/vendor/ruby/1.8/specifications/acts_as_audited-2.0.0.gemspec Using ancestry (1.2.5) from /usr/share/foreman/vendor/ruby/1.8/specifications/ancestry-1.2.5.gemspec Using awesome_print (1.0.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/awesome_print-1.0.2.gemspec Using columnize (0.3.6) from /usr/share/foreman/vendor/ruby/1.8/specifications/columnize-0.3.6.gemspec Using excon (0.13.4) from /usr/share/foreman/vendor/ruby/1.8/specifications/excon-0.13.4.gemspec Using formatador (0.2.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/formatador-0.2.2.gemspec Using multi_json (1.3.5) from /usr/share/foreman/vendor/ruby/1.8/specifications/multi_json-1.3.5.gemspec Using jruby-pageant (1.0.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/jruby-pageant-1.0.2.gemspec Using net-ssh (2.4.0) from /usr/share/foreman/vendor/ruby/1.8/specifications/net-ssh-2.4.0.gemspec Using net-scp (1.0.4) from /usr/share/foreman/vendor/ruby/1.8/specifications/net-scp-1.0.4.gemspec Using nokogiri (1.5.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/nokogiri-1.5.2.gemspec Using ruby-hmac (0.4.0) from /usr/share/foreman/vendor/ruby/1.8/specifications/ruby-hmac-0.4.0.gemspec Using fog (1.3.1) from git://github.com/fog/fog.git (at master) * Checking out revision: master Successfully built RubyGem Name: fog Version: 1.3.1 File: fog-1.3.1.gem from /usr/share/foreman/vendor/ruby/1.8/bundler/gems/fog-3f8d1b4c9063/fog.gemspec Using has_many_polymorphs (3.0.0.beta1) from https://github.com/jystewart/has_many_polymorphs.git (at 03429a6) * Checking out revision: 03429a61e511f394e9f96af0c8998268ca99d42b Successfully built RubyGem Name: has_many_polymorphs Version: 3.0.0.beta1 File: has_many_polymorphs-3.0.0.beta1.gem from /usr/share/foreman/vendor/ruby/1.8/bundler/gems/has_many_polymorphs-03429a61e511/has_many_polymorphs.gemspec Using hirb (0.6.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/hirb-0.6.2.gemspec Using unicode-display_width (0.1.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/unicode-display_width-0.1.1.gemspec Using hirb-unicode (0.0.5) from /usr/share/foreman/vendor/ruby/1.8/specifications/hirb-unicode-0.0.5.gemspec Using jquery-rails (1.0.19) from /usr/share/foreman/vendor/ruby/1.8/specifications/jquery-rails-1.0.19.gemspec Using rbx-require-relative (0.0.9) from /usr/share/foreman/vendor/ruby/1.8/specifications/rbx-require-relative-0.0.9.gemspec Using linecache (0.46) from /usr/share/foreman/vendor/ruby/1.8/specifications/linecache-0.46.gemspec Using metaclass (0.0.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/metaclass-0.0.1.gemspec Using mocha (0.11.4) from /usr/share/foreman/vendor/ruby/1.8/specifications/mocha-0.11.4.gemspec Using mysql (2.8.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/mysql-2.8.1.gemspec Using mysql2 (0.3.11) from /usr/share/foreman/vendor/ruby/1.8/specifications/mysql2-0.3.11.gemspec Using net-ldap (0.3.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/net-ldap-0.3.1.gemspec Using pg (0.13.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/pg-0.13.2.gemspec Using rest-client (1.6.7) from /usr/share/foreman/vendor/ruby/1.8/specifications/rest-client-1.6.7.gemspec Using rbovirt (0.0.12) from /usr/share/foreman/vendor/ruby/1.8/specifications/rbovirt-0.0.12.gemspec Using trollop (1.16.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/trollop-1.16.2.gemspec Using rbvmomi (1.5.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/rbvmomi-1.5.1.gemspec Using rr (1.0.4) from /usr/share/foreman/vendor/ruby/1.8/specifications/rr-1.0.4.gemspec Using ruby-debug-base (0.10.4) from /usr/share/foreman/vendor/ruby/1.8/specifications/ruby-debug-base-0.10.4.gemspec Using ruby-debug (0.10.4) from /usr/share/foreman/vendor/ruby/1.8/specifications/ruby-debug-0.10.4.gemspec Using ruby-libvirt (0.4.0) from /usr/share/foreman/vendor/ruby/1.8/specifications/ruby-libvirt-0.4.0.gemspec Using sexp_processor (3.2.0) from /usr/share/foreman/vendor/ruby/1.8/specifications/sexp_processor-3.2.0.gemspec Using ruby_parser (2.3.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/ruby_parser-2.3.1.gemspec Using ruby2ruby (1.3.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/ruby2ruby-1.3.1.gemspec Using safemode (1.0.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/safemode-1.0.1.gemspec Using scoped_search (2.3.7) from /usr/share/foreman/vendor/ruby/1.8/specifications/scoped_search-2.3.7.gemspec Using shoulda-context (1.0.0) from /usr/share/foreman/vendor/ruby/1.8/specifications/shoulda-context-1.0.0.gemspec Using shoulda-matchers (1.0.0) from /usr/share/foreman/vendor/ruby/1.8/specifications/shoulda-matchers-1.0.0.gemspec Using shoulda (3.0.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/shoulda-3.0.1.gemspec Using sqlite3 (1.3.6) from /usr/share/foreman/vendor/ruby/1.8/specifications/sqlite3-1.3.6.gemspec Using uuidtools (2.1.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/uuidtools-2.1.2.gemspec Using virt (0.2.1) from /usr/share/foreman/vendor/ruby/1.8/specifications/virt-0.2.1.gemspec Using will_paginate (3.0.3) from /usr/share/foreman/vendor/ruby/1.8/specifications/will_paginate-3.0.3.gemspec Using wirb (0.4.2) from /usr/share/foreman/vendor/ruby/1.8/specifications/wirb-0.4.2.gemspec Your bundle is complete! It was installed into ./vendor + . /usr/share/debconf/confmodule + [ ! 1 ] + [ -z ] + exec + [ ] + exec + DEBCONF_REDIR=1 + export DEBCONF_REDIR + getent group foreman + getent passwd foreman + chown -Rf foreman:foreman /var/log/foreman + chown -Rf foreman:foreman /var/cache/foreman + chown -Rf foreman:foreman /var/lib/foreman + chmod 755 /var/lib/foreman + chmod 755 /var/lib/foreman/db + chmod 755 /var/lib/foreman/public + chmod 755 /var/lib/foreman/public/images + chmod 755 /var/lib/foreman/public/images/hosts + chmod 755 /var/lib/foreman/public/javascripts + chmod 755 /var/lib/foreman/public/stylesheets + chmod 755 /var/cache/foreman + su - foreman -s /bin/sh -c /usr/share/foreman/extras/dbmigrate dpkg: error processing foreman (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: foreman