Fresh Install failed

I tried installing Foreman on my my fresh server running Ubuntu 14.10 usin
these set of instructions:

apt-get -y install ca-certificates
wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
dpkg -i puppetlabs-release-trusty.deb

Enable the Foreman repo:

echo "deb http://deb.theforeman.org/ trusty 1.7" > /etc/apt/sources.list.d/foreman.listecho "deb http://deb.theforeman.org/ plugins 1.7" >> /etc/apt/sources.list.d/foreman.list
wget -q http://deb.theforeman.org/pubkey.gpg -O- | apt-key add -

Downloading the installer

apt-get update && apt-get -y install foreman-installer

Running the installer
Ensure that ping $(hostname -f) shows the real IP address, not 127.0.1.1.
Change or remove this entry from /etc/hosts if present.

The installation run is non-interactive, but the configuration can be
customized by supplying any of the options listed in foreman-installer
–help, or by running foreman-installer -i for interactive mode. More
examples are given in the Installation Options
<Foreman :: Manual> section.
Adding -v will disable the progress bar and display all changes. To run the
installer, execute:

foreman-installer

However I'm getting an error:

The log is as follows:

[ERROR 2015-06-18 18:33:09 main] Repeating errors encountered during run:
[ERROR 2015-06-18 18:33:09 main] Your puppet version does not support
progress bar

[ERROR 2015-06-18 18:33:09 main]
/Stage[main]/Foreman::Install/Foreman::Install

::Repos[foreman]/Foreman::Install::Repos::Apt[foreman]/Exec[update-apt-foreman]:Failed
to call refresh: /usr/bin/apt-get update returned 100 instead of one of [0]
[ERROR 2015-06-18 18:33:09 main]
/Stage[main]/Foreman::Install/Foreman::Install

::Repos[foreman]/Foreman::Install::Repos::Apt[foreman]/Exec[update-apt-foreman]:
/usr/bin/apt-get update returned 100 instead of one of [0]

[ERROR 2015-06-18 18:33:09 main]
/Stage[main]/Foreman::Database/Foreman::Rake[d

b:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh:
/usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0]
[ERROR 2015-06-18 18:33:09 main]
/Stage[main]/Foreman::Database/Foreman::Rake[d

b:migrate]/Exec[foreman-rake-db:migrate]: /usr/sbin/foreman-rake
db:migrate returned 1 instead of one of [0]

[ERROR 2015-06-18 18:33:09 main]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]:
Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead
of one of [0]
[ERROR 2015-06-18 18:33:09 main]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]:
/usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]

[ERROR 2015-06-18 18:33:09 main]
/Stage[main]/Foreman::Database/Foreman::Rake[a

pipie:cache]/Exec[foreman-rake-apipie:cache]: Failed to call refresh:
/usr/sbin/foreman-rake apipie:cache returned 1 instead of one of [0]
[ERROR 2015-06-18 18:33:09 main]
/Stage[main]/Foreman::Database/Foreman::Rake[a

pipie:cache]/Exec[foreman-rake-apipie:cache]: /usr/sbin/foreman-rake
apipie:cache returned 1 instead of one of [0]

How can I fix it?