Project

General

Profile

Actions

Bug #462

closed

Foreman .DEB package fails on Debian Linux 5.0 (Lenny)

Added by Jochen Schalanda over 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Packaging
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The installation of the Foreman .DEB package fails on Debian Linux 5.0 (Lenny) due to an old version of rake.

The package tree for Debian Linux 5.0 contains rake 0.8.1. /usr/share/foreman/extras/dbmigrate, which is being run by the package postinst script, fails due to the old rake version:

$ su - foreman -s /bin/sh -c /usr/share/foreman/extras/dbmigrate
(in /usr/share/foreman)
rake aborted!
undefined method `reenable' for <Rake::Task db:schema:dump => [environment]>:Rake::Task

Installing a more recent version of rake through RubyGems and linking the binary to /usr/local/bin/rake fixes the problem.

Reference: HowTo update rake 0.8.1 -> 0.8.4 on debian


Files

Actions

Also available in: Atom PDF