Foreman dependencies package

Hi All,

I guess it could be useful, if anyone landed up on this issue. BTW I
don't know if its ever reported
I was doing a fresh installation of foreman in debian squeeze. But it
was failing during post-installation.

··· -------------------------------------------------------------------- 0 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/9902 kB of archives. After unpacking 17.4 MB will be used. Selecting previously deselected package foreman. (Reading database ... 24102 files and directories currently installed.) Unpacking foreman (from .../foreman_1.1.1+debian1_amd64.deb) ... Setting up foreman (1.1.1+debian1) ... WARNING: abstract-1.0.0 has an invalid nil value for @cert_chain WARNING: builder-2.1.2 has an invalid nil value for @cert_chain dpkg: error processing foreman (--configure): subprocess installed post-installation script returned error exit status 5 configured to not write apport reports Errors were encountered while processing: foreman E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up foreman (1.1.1+debian1) ... dpkg: error processing foreman (--configure): subprocess installed post-installation script returned error exit status 5 Errors were encountered while processing: foreman --------------------------------------------------------------------

After running it in debug mode, it looks that “make” command is not
installed, so after installing make and build-essential did resolved it.
But it took a lot more time to figure this out.

I would request foreman-dev to have a build-essential added as a
dependencies package when installing foreman, So it should get installed
by itself rather then someone figuring out by themself

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.

     /usr/bin/ruby1.8 extconf.rb

creating Makefile

make
sh: make: not found

Gem files will remain installed in
/usr/share/foreman/vendor/ruby/1.8/gems/json-1.7.7 for inspection.
Results logged to
/usr/share/foreman/vendor/ruby/1.8/gems/json-1.7.7/ext/json/ext/generator/gem_make.out

  • Ashish

Thanks Ashish. I'll try and remember to fix this - if you have time could
you create bug at
http://projects.theforeman.org/projects/foreman/issues/newto help
remind me? Thanks :slight_smile:

Greg

··· On 3 May 2013 05:40, Ashish Jaiswal wrote:

I would request foreman-dev to have a build-essential added as a
dependencies package when installing foreman, So it should get installed by
itself rather then someone figuring out by themself

Hi Greg,

I will create one.
Thanks

··· On Friday 03 May 2013 12:58:18 PM IST, Greg Sutcliffe wrote: > On 3 May 2013 05:40, Ashish Jaiswal > wrote: > > I would request foreman-dev to have a build-essential added as a > dependencies package when installing foreman, So it should get > installed by itself rather then someone figuring out by themself > > > Thanks Ashish. I'll try and remember to fix this - if you have time > could you create bug at > http://projects.theforeman.org/projects/foreman/issues/new to help > remind me? Thanks :) > > Greg

  • Ashish