package timidity-interfaces-extra 2.13.2-19ubuntu1 failed to install/upgrade: dependency problems - leaving unconfigured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
timidity (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: timidity
i am unable to uninstall or reinstall timidity and timidity-
E: timidity: subprocess post-installation script returned error exit status 2
ProblemType: Package
Architecture: i386
Date: Thu May 29 10:06:06 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: dependency problems - leaving unconfigured
Package: timidity-
PackageArchitec
SourcePackage: timidity
Title: package timidity-
Uname: Linux 2.6.24-17-generic i686
Changed in timidity: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
I used the following steps for installing timidity in the first place (from http:// ubuntuforums. org/archive/ index.php/ t-276495. html):
"Install TiMidity (MIDI player/software synthesizer)
(See also the Midi Software Synthesis How-To.)
1. Install Timidity:
sudo apt-get install timidity timidity- interfaces- extra
2. (optional) Start software synthesis by loading the appropriate modules and starting Timidity as the MIDI server:
sudo modprobe snd-seq-device
sudo modprobe snd-seq-midi
sudo modprobe snd-seq-oss
sudo modprobe snd-seq-midi-event
sudo modprobe snd-seq
timidity -iA -B2,8 -Os1l -s 44100
To make software synthesis start automatically in future, first make the appropriate modules load automatically:
sudo gedit /etc/modules
Append the following:
snd-seq-device
snd-seq-midi
snd-seq-oss
snd-seq-midi-event
snd-seq
Then inform Timidity to start automatically:
sudo gedit /etc/default/ timidity
Uncomment the line to enable the sequencer. That is, change:
#TIM_ALSASEQ=true
to:
TIM_ALSASEQ=true
3. Add a desktop entry for Timidity:
sudo gedit /usr/share/ applications/ timidity. desktop
Add:
[Desktop Entry] audio/midi; Application; AudioVideo;
Encoding=UTF-8
Name=Timidity MIDI Player
Comment=Play MIDI audio files
Exec=timidity -ig
Terminal=false
Type=Application
StartupNotify=false
MimeType=
Categories=
Icon=
#NoDisplay=true
4. (optional) Make Timidity the default MIDI player (after first having added a desktop entry as in the previous step):
sudo cp /usr/share/ applications/ defaults. list /usr/share/ applications/ defaults. list.backup. midi applications/ defaults. list
sudo gedit /usr/share/
Insert/replace the audio/midi entry as follows:
audio/midi= timidity. desktop
5. (optional) Install high quality sound fonts:
wget -c -O /tmp/timidity- patches- eaw http:// www.fbriere. net/debian/ dists/etch/ misc/deb/ timidity- patches- eaw_12- 0fbriere. 1_all.deb patches- eaw.deb timidity. cfg
sudo dpkg -i /tmp/timidity-
sudo gedit /etc/timidity/
Change:
source /etc/timidity/ freepats. cfg
to:
source /usr/share/ doc/timidity- patches- eaw/examples/ timidity. cfg
6. (optional) Reduce Timidity's CPU usage:
sudo gedit /etc/timidity/ timidity. cfg
Add:
opt EFresamp=d #disable resampling (or "opt EFresamp=l" for linear resampling)
opt EFvlpf=d #disable VLPF
opt EFreverb=d #disable reverb
opt EFchorus=d #disable chorus
opt EFdelay=d #disable delay
Save and close the file.
Here is a script to do steps 1 - 5 for automatically:
sudo apt-get install timidity timidity- interfaces- extra nEncoding= UTF-8\nName= Timidity MIDI Player\ nComment= Play MIDI audio files\nExec= timidity -ig\nTerminal= false\nType= Application\ nStartupNotif y=false\ nMimeType= audio/midi; \nCategories= Application; AudioVideo; \n#Icon= ? ??\n#NoDisplay= true\n' ) | sudo tee /usr/share/ applications/ timidity. desktop applications/ defaults. list /usr/share/ applications/ defaults. list.backup. midi applications/ defaults. list | grep "audio/midi"; then (printf 'audio/ midi=timidity. desktop\ n') | sudo tee -a /usr/share/ applications/ defaults. list; else sudo sed -i -e's@audio/ midi.*$ @audio/ midi=timidity. desktop@ g' /usr/share/ applications/ defaults. list; fi;
(printf '[Desktop Entry]\
sudo cp /usr/share/
if ! cat /usr/share/
wget -c -O /t...