Errors while using foreman installer on debain

Hi Foremen,

I just tried to use the foreman installer to install foreman on a fairly fresh debian machine. I used the script on Foreman installer - Foreman

export MODULE_PATH="/etc/puppet/modules/common"
mkdir -p $MODULE_PATH
for mod in apache foreman foreman_proxy git passenger puppet tftp xinetd; do
mkdir -p $MODULE_PATH/$mod
wget http://github.com/theforeman/puppet-$mod/tarball/master -O - | tar xzvf - -C $MODULE_PATH/$mod --strip-components=1
done;
echo include puppet, puppet::server, foreman, foreman_proxy | puppet --modulepath $MODULE_PATH
The error was:

err: /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…
Building dependency tree…
Reading state information…
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:
foreman-proxy : Depends: libnet-ping-ruby but it is not installable
E: Broken packages

Thanks,

Lard

Sorry just realised there was user list. Probably more appropriate.

··· On 10/05/2012, at 8:40 PM, Lard Farnwell wrote:

Hi Foremen,

I just tried to use the foreman installer to install foreman on a fairly fresh debian machine. I used the script on Foreman installer - Foreman

export MODULE_PATH="/etc/puppet/modules/common"
mkdir -p $MODULE_PATH
for mod in apache foreman foreman_proxy git passenger puppet tftp xinetd; do
mkdir -p $MODULE_PATH/$mod
wget http://github.com/theforeman/puppet-$mod/tarball/master -O - | tar xzvf - -C $MODULE_PATH/$mod --strip-components=1
done;
echo include puppet, puppet::server, foreman, foreman_proxy | puppet --modulepath $MODULE_PATH
The error was:

err: /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…
Building dependency tree…
Reading state information…
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:
foreman-proxy : Depends: libnet-ping-ruby but it is not installable
E: Broken packages

Thanks,

Lard

> Sorry just realised there was user list. Probably more appropriate.

Not to worry :slight_smile:

> The following packages have unmet dependencies:
> foreman-proxy : Depends: libnet-ping-ruby but it is not installable
> E: Broken packages

Interesting. I've just tried the same thing on a spare debian VM and
hit the same problem. The issue is that I recently had to rebuild the
Debian repo, and while I thought I had re-added all the packages to
the right places, it seems I only added libnet-ping-ruby to the
nightly repo.

I've added libnet-ping-ruby to stable and testing as well, and the
package resolves on my test box now. Try the script again, you should
be good to go.

Thanks for the heads up - I hate to think how many other people have
been hit by that silly mistake :slight_smile:

Greg

··· On 10 May 2012 13:08, Lard Farnwell wrote:

Hi Lard,

Thanks for reporting!

Ohad

··· On Thu, May 10, 2012 at 3:21 PM, Greg Sutcliffe wrote:

On 10 May 2012 13:08, Lard Farnwell lordfarn@gmail.com wrote:

Sorry just realised there was user list. Probably more appropriate.

Not to worry :slight_smile:

The following packages have unmet dependencies:
foreman-proxy : Depends: libnet-ping-ruby but it is not installable
E: Broken packages

Interesting. I’ve just tried the same thing on a spare debian VM and
hit the same problem. The issue is that I recently had to rebuild the
Debian repo, and while I thought I had re-added all the packages to
the right places, it seems I only added libnet-ping-ruby to the
nightly repo.

I’ve added libnet-ping-ruby to stable and testing as well, and the
package resolves on my test box now. Try the script again, you should
be good to go.

Thanks for the heads up - I hate to think how many other people have
been hit by that silly mistake :slight_smile:

Greg

Thanks.
Confirmed working.

Lard

··· On 10/05/2012, at 10:27 PM, Ohad Levy wrote:

Hi Lard,

Thanks for reporting!

Ohad

On Thu, May 10, 2012 at 3:21 PM, Greg Sutcliffe greg.sutcliffe@gmail.com wrote:
On 10 May 2012 13:08, Lard Farnwell lordfarn@gmail.com wrote:

Sorry just realised there was user list. Probably more appropriate.

Not to worry :slight_smile:

The following packages have unmet dependencies:
foreman-proxy : Depends: libnet-ping-ruby but it is not installable
E: Broken packages

Interesting. I’ve just tried the same thing on a spare debian VM and
hit the same problem. The issue is that I recently had to rebuild the
Debian repo, and while I thought I had re-added all the packages to
the right places, it seems I only added libnet-ping-ruby to the
nightly repo.

I’ve added libnet-ping-ruby to stable and testing as well, and the
package resolves on my test box now. Try the script again, you should
be good to go.

Thanks for the heads up - I hate to think how many other people have
been hit by that silly mistake :slight_smile:

Greg