[Gutsy] timidity install fails when timidity is already running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| timidity (Ubuntu) |
Medium
|
Emmet Hikory | ||
| Hardy |
Undecided
|
Unassigned |
Bug Description
Setting up timidity (2.13.2-13ubuntu2) ...
* Starting timidity * Starting TiMidity++ ALSA midi emulation... [fail]
invoke-rc.d: initscript timidity, action "start" failed.
dpkg: error processing timidity (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
timidity
E: Sub-process /usr/bin/dpkg returned an error code (1)
Related branches
Gonzhauser (gonzhauser) wrote : | #2 |
Install failed while gutsy update today.
Joe Pimentel (joe-b-pimentel) wrote : | #3 |
The above solution does not work for me.
'sudo asoundconf list' output:
========
Please note that you are attempting to run asoundconf as a privileged superuser, which may have unintended consequences.
Names of available sound cards:
SB
========
then 'sudo asoundconf set-default-card SB' output:
========
Please note that you are attempting to run asoundconf as a privileged superuser, which may have unintended consequences.
========
then 'sudo /etc/init.
========
* Shutting down ALSA... [ OK ]
* Setting up ALSA... [ OK ]
========
and then 'sudo apt-get -f install' output:
========
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up timidity (2.13.2-15ubuntu1) ...
* Starting timidity * Starting TiMidity++ ALSA midi emulation... [fail]
invoke-rc.d: initscript timidity, action "start" failed.
dpkg: error processing timidity (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of timidity-
timidity-
Package timidity is not configured yet.
dpkg: error processing timidity-
dependency problems - leaving unconfigured
Errors were encountered while processing:
timidity
timidity-
E: Sub-process /usr/bin/dpkg returned an error code (1)
========
fanboy3445 (fanboy3445) wrote : | #4 |
Worked like a charm for me, CKruse! Thx
Joe Pimentel (joe-b-pimentel) wrote : | #5 |
It is working now. Don't now why, but is working.
Tks.
Steve MacDonald (sjmacd) wrote : | #6 |
this can be solved (at least in my case) by killing timidity before installation. If timidity is running, the timidity++ ALSA midi emulation will fail.
Steve MacDonald (sjmacd) wrote : | #7 |
But shouldn't this be killed during installation? by the way, I'm not sure if this has any bearing whatsoever for anyone, but the above suggestion to reload the soundcard didn't fix my problem. Could this be some kind of conflict between the timidity package in Ubuntu Studio and the package in Ubuntu? Because I ran into this problem while trying to install the ubuntustudio-audio package.
nabdan (nabil2) wrote : | #8 |
Hi all,
Same problem as Steve MacDonald.
Not solved until now :(
Bye.
nabdan (nabil2) wrote : | #9 |
Hi all,
Solved by completely removed timidity from synaptic.
Bye
Mark Preston (emarkpreston) wrote : | #10 |
I tried the reconfig described above. No luck here.
Changed in timidity: | |
assignee: | nobody → persia |
importance: | Undecided → Medium |
status: | New → In Progress |
Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package timidity - 2.13.2-19ubuntu2
---------------
timidity (2.13.2-19ubuntu2) intrepid; urgency=low
* Don't try to start the daemon if /dev/snd is missing (LP: #235515)
* Stop the server on preinst (LP: #120810)
-- Emmet Hikory <email address hidden> Sat, 09 Aug 2008 01:34:45 +0900
Changed in timidity: | |
status: | In Progress → Fix Released |
cousteau (cousteaulecommandant) wrote : | #12 |
It seems to be an ALSA problem more than a TiMidity++ problem. I fixed it by editing ~/.asoundcfg and commenting the uncommented line.
This also fixed a lot more problems involving ALSA.
stryd_one (stryd-one) wrote : | #13 |
Not fixed in LTS release (hardy)
Changed in timidity: | |
status: | Fix Released → Confirmed |
Emmet Hikory (persia) wrote : | #14 |
If a bug is fixed, but not in an older supported release, please nominate the release in which it is not fixed, rather than marking the bug unfixed.
Changed in timidity: | |
status: | Confirmed → Fix Released |
status: | New → Confirmed |
__aux (nab-bopland) wrote : | #15 |
The bug still remains for computers without a sound card.
I found this workaround that worked for me.
1. sudo apt-get install timidity
2. sudo /etc/init.
3. sudo mv /etc/init.
4. sudo apt-get install -f
5. sudo mv /tmp/timidity /etc/init.d/
Razi (razi91) wrote : | #16 |
OK, i've "solved" it. I turned Firefox and Amarok off and installation was wiyh no errors.
sry for my eng:p
Rolf Leggewie (r0lf) wrote : | #17 |
Hardy has seen the end of its life and is no longer receiving any updates. Marking the Hardy task for this ticket as "Won't Fix".
Changed in timidity (Ubuntu Hardy): | |
status: | Confirmed → Won't Fix |
A more complete reason:
* Starting TiMidity++ ALSA midi emulation... c:769:( parse_card) cannot find card '' 3510:(_ snd_config_ evaluate) function snd_func_ card_driver returned error: No such device c:392:( snd_func_ concat) error evaluating strings 3510:(_ snd_config_ evaluate) function snd_func_concat returned error: No such device c:1251: (snd_func_ refer) error evaluating name 3510:(_ snd_config_ evaluate) function snd_func_refer returned error: No such device 3982:(snd_ config_ expand) Evaluate error: No such device (snd_pcm_ open_noupdate) Unknown PCM default
[fail]
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib conf.c:
ALSA lib pcm.c:2144:
invoke-rc.d: initscript timidity, action "start" failed.
dpkg: error processing timidity (--configure):
subprocess post-installation script returned error exit status 1
This will start working if you reload your sound card information: d/alsa- utils restart' to reload alsa, and then finish the installation. Everything should be fixed then.
'sudo asoundconf list' to find the name of the card, and 'sudo asoundconf set-default-card' to set that card as default. Then, run '/etc/init.