Project

General

Custom queries

Profile

Actions

Bug #1631

closed

dpkg fails with dash

Added by Steve Buzonas about 13 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
DB migrations
Target version:
-
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

When the the system has dash installed and used as the default shell the postinst fails with an exit status 2. What appears to be the culprit is the dbmigrate script choking on POSIX compliance.

The particular segment causing an issue is 'USERNAME=$(/usr/bin/id -un)', it responds that the '(' is unexpected and it is expecting a '{'

A quick fix could be to change #!/bin/sh to #!/bin/bash, however this is likely to cause breakage.


Files

install.txt install.txt 9.41 KB Steve Buzonas, 05/18/2012 09:48 AM
#2

Updated by Ohad Levy about 13 years ago

  • Assignee set to Greg Sutcliffe
  • Difficulty set to trivial
#3

Updated by Ohad Levy about 13 years ago

  • Target version set to 1.0
#4

Updated by Ohad Levy almost 13 years ago

  • Target version deleted (1.0)
#6

Updated by Greg Sutcliffe over 12 years ago

  • Status changed from New to Feedback
#7

Updated by Greg Sutcliffe about 12 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF