stone failed to install : incorrect use of command substitution in postinst
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stone (Debian) |
Fix Released
|
Unknown
|
|||
stone (Ubuntu) |
Fix Released
|
Undecided
|
Jean-Baptiste Lallement |
Bug Description
Package failed to install with exit status 1
== HOW TO REPRODUCE ==
$ apt-get install stone
Fails with the following message
Setting up stone (2.3.e-1ubuntu1) ...
dpkg: error processing stone (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
stone
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up stone (2.3.e-1ubuntu1) ...
You already have /etc/certs/
== VERSION ==
Reproduced with
stone | 2.3.e-1ubuntu1 | karmic/universe | source, amd64, i386
stone | 2.3.e-1.1 | lucid/universe | source, amd64, i386
ProblemType: Package
Architecture: i386
Date: Fri Dec 11 14:05:22 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelMo
Package: stone 2.3.e-1ubuntu1
ProcVersionSign
SourcePackage: stone
Title: package stone 2.3.e-1ubuntu1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Uname: Linux 2.6.31-16-generic i686
Related branches
description: | updated |
Changed in stone (Debian): | |
status: | Unknown → Fix Released |
Thanks for your report.
This is due to the postinst script using bash syntax but being with /bin/sh (dash) certs/stone. pem dpkg/info/ stone.postinst configure
To workaround this open a terminal and run the following commands:
$ sudo rm /etc/ssl/
$ sudo bash -x /var/lib/
Don't hesitate to submit any new bug.