Project

General

Profile

Bug #2464

Foreman (debian) dependencies Issue

Added by Ashish Jaiswal over 6 years ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Category:
Packaging
Target version:
Difficulty:
easy
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

While installing packages of foreman on new debian[squeeze] system, getting this error

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 seems to be that "make" command was missing, Installing it fixed it.
Request you to add build-essential as a dependency to foreman package.

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 

History

#1 Updated by Greg Sutcliffe over 6 years ago

  • Subject changed from Foremna dependencies Issue to Foreman (debian) dependencies Issue
  • Status changed from New to Assigned
  • Assignee set to Greg Sutcliffe
  • Target version set to 1.2.0

Thanks! I'll try and get that fixed asap.

#2 Updated by Greg Sutcliffe over 6 years ago

  • Status changed from Assigned to Resolved

fixed in foreman-rpms: ce03b39d75131b6577ab8634e89e6ea07fc33cc8

#3 Updated by Tomer Brisker 10 months ago

  • Category changed from 21 to Packaging

Also available in: Atom PDF