Bug#465094: festival: Installation fails if festival server is already running
tags 465094 - moreinfo tags 465094 + confirmed pending thankyou On Mon, Feb 11, 2008 at 02:41:00PM +0100, Wolfgang Weisselberg wrote: I can produce an at least similar error by the following sequence: # dpkg --install festival_1.96~beta-5_amd64.deb # echo RUN_FESTIVAL=no /etc/default/festival # dpkg --install /var/cache/apt/archives/festival_1.96~beta-3_amd64.deb overwrite /etc/default/festival # cat /etc/default/festival # Set RUN_FESTIVAL=yes to start festival at boot time. RUN_FESTIVAL=no # dpkg --install /var/cache/apt/archives/festival_1.96~beta-5_amd64.deb (Reading database ... 264707 files and directories currently installed.) Preparing to replace festival 1.96~beta-3 (using .../festival_1.96~beta-5_amd64.deb) ... Unpacking replacement festival ... Setting up festival (1.96~beta-5) ... Installing new version of config file /etc/init.d/festival ... Installing new version of config file /etc/default/festival ... Starting Festival server: festival/usr/bin/festival already running. invoke-rc.d: initscript festival, action start failed. dpkg: error processing festival (--install): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: festival # Dear Wolfgang, This was a perfect reconstruction of the bug. I thank you for it. The solution is simple; the init script just exits if RUN_FESTIVAL is set to no. I have now modified it not to exit in case RUN_FESTIVAL is no, so that even if that is the case, festival is started, and even when start is specified, I restart festival to ensure that the process goes smoothly. This may seem an ugly hack, but works OK for festival. I'll think about a better way later, though. Thanks. Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036 signature.asc Description: Digital signature
Bug#465094: festival: Installation fails if festival server is already running
Package: festival Version: 1.96~beta-5 Severity: normal Trying to install (festival server is running) results in | Setting up festival (1.96~beta-5) ... | Starting Festival server: festival/usr/bin/festival already running. | invoke-rc.d: initscript festival, action start failed. | dpkg: error processing festival (--configure): | subprocess post-installation script returned error exit status 1 | Errors were encountered while processing: | festival Running /etc/init.d/festival stop before the installation causes the installation to succeed. I expected the installation to know about stopping the daemon first. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.23-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages festival depends on: ii adduser 3.105add and remove users and groups ii libaudiofile0 0.2.6-7 Open-source version of SGI's audio ii libc6 2.7-6GNU C Library: Shared libraries ii libesd0 0.2.36-3 Enlightened Sound Daemon - Shared ii libestools1.2 1:1.2.96~beta-2 Edinburgh Speech Tools Library ii libgcc1 1:4.3-20080202-1 GCC support library ii libncurses5 5.6+20080119-1 Shared libraries for terminal hand ii libstdc++6 4.3-20080202-1 The GNU Standard C++ Library v3 ii lsb-base3.1-24 Linux Standard Base 3.1 init scrip ii sgml-base 1.26 SGML infrastructure and SGML catal ii sysv-rc 2.86.ds1-53 System-V-like runlevel change mech Versions of packages festival recommends: ii festvox-kallpc16k [festival-v 1.4.0-5American English male speaker for -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#465094: festival: Installation fails if festival server is already running
tags 465094 + moreinfo thanks Dear Wolfgang, Thank you for the bug report. On Sun, Feb 10, 2008 at 05:54:27PM +0100, Wolfgang Weisselberg wrote: Trying to install (festival server is running) results in | Setting up festival (1.96~beta-5) ... | Starting Festival server: festival/usr/bin/festival already running. | invoke-rc.d: initscript festival, action start failed. | dpkg: error processing festival (--configure): | subprocess post-installation script returned error exit status 1 | Errors were encountered while processing: | festival Running /etc/init.d/festival stop before the installation causes the installation to succeed. Vaguely, this is what happens for me: [EMAIL PROTECTED] ~/GIT/festival] sudo dpkg -i festival_1.96~beta-5_i386.deb (Reading database ... 277003 files and directories currently installed.) Preparing to replace festival 1.96~beta-5 (using festival_1.96~beta-5_i386.deb) ... * Stopping Festival server festival [ ok ] Unpacking replacement festival ... Setting up festival (1.96~beta-5) ... * Starting Festival server festival [ ok ] Could you please tell me if you were running an older festival? I wish to know the situation where this bug occurs. The simplest solution, I guess, would be to use a preinst script to stop festival before the install. Thanks. Kumar -- Kumar Appaiah, 458, Jamuna Hostel, Indian Institute of Technology Madras, Chennai - 600 036 signature.asc Description: Digital signature