Error when install Foreman in Ubuntu 14.04

Hi,

I need to install the foreman in Ubuntu Server 14.04, but I received this
errors:

[ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install postgresql-9.3' returned 100:
Reading package lists…
[ERROR 2014-11-15 18:42:25 main]
/Stage[main]/Postgresql::Server::Install/Package[postgresql-server]/ensure:
change from purged to present failed: Execution of '/usr/bin/apt-get -q -y
-o DPkg::Options::=–force-confold install postgresql-9.3' returned 100:
Reading package lists…
[ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install foreman-proxy' returned 100:
Reading package lists…
[ERROR 2014-11-15 18:42:25 main]
/Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change
from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install foreman-proxy' returned 100:
Reading package lists…
[ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install foreman-postgresql' returned 100:
Reading package lists…
[ERROR 2014-11-15 18:42:25 main]
/Stage[main]/Foreman::Install/Package[foreman-postgresql]/ensure: change
from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install foreman-postgresql' returned 100:
Reading package lists…
[ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install syslinux' returned 100: Reading
package lists…
[ERROR 2014-11-15 18:42:25 main]
/Stage[main]/Tftp::Install/Package[syslinux]/ensure: change from purged to
present failed: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install syslinux' returned 100: Reading
package lists…
[ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install tftpd-hpa' returned 100: Reading
package lists…
[ERROR 2014-11-15 18:42:25 main]
/Stage[main]/Tftp::Install/Package[tftpd-hpa]/ensure: change from purged to
present failed: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install tftpd-hpa' returned 100: Reading
package lists…
[ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install foreman-cli' returned 100: Reading
package lists…
[ERROR 2014-11-15 18:42:25 main]
/Stage[main]/Foreman::Cli/Package[foreman-cli]/ensure: change from purged
to present failed: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=–force-confold install foreman-cli' returned 100: Reading
package lists…
[ERROR 2014-11-15 18:42:25 main]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetforeman.localhost]:
Failed to call refresh: Could not load data from
https://puppetforeman.localhost
[ERROR 2014-11-15 18:42:25 main]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetforeman.localhost]:
Could not load data from https://puppetforeman.localhost

Can someone help me?

Hi,

although on Debian, I saw this either when an apt-repository was not available or when I forgot to to add the foreman-plugins repo to the apt-sources.

Try running some of the commands mentioned to fail from the shell as root. You will get more output than that…

Regards from munich
Jochen

··· > Am 17.11.2014 um 16:01 schrieb Cesar Sturion : > > Hi, > > I need to install the foreman in Ubuntu Server 14.04, but I received this errors: > > [ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-9.3' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] /Stage[main]/Postgresql::Server::Install/Package[postgresql-server]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install postgresql-9.3' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install foreman-proxy' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install foreman-proxy' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install foreman-postgresql' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] /Stage[main]/Foreman::Install/Package[foreman-postgresql]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install foreman-postgresql' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install syslinux' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] /Stage[main]/Tftp::Install/Package[syslinux]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install syslinux' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install tftpd-hpa' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] /Stage[main]/Tftp::Install/Package[tftpd-hpa]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install tftpd-hpa' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install foreman-cli' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] /Stage[main]/Foreman::Cli/Package[foreman-cli]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install foreman-cli' returned 100: Reading package lists... > [ERROR 2014-11-15 18:42:25 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetforeman.localhost]: Failed to call refresh: Could not load data from https://puppetforeman.localhost > [ERROR 2014-11-15 18:42:25 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[puppetforeman.localhost]: Could not load data from https://puppetforeman.localhost > > Can someone help me? > > > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com . > To post to this group, send email to foreman-users@googlegroups.com . > Visit this group at http://groups.google.com/group/foreman-users . > For more options, visit https://groups.google.com/d/optout .