[Bug 2049243] Re: [SRU] package timidity-daemon 2.14.0-8ubuntu1 failed to install/upgrade: installed timidity-daemon package post-installation script subprocess returned error exit status 5

Seiichi Nakashima 2049243 at bugs.launchpad.net
Sun Feb 11 23:27:10 UTC 2024


I use ppa, but timidity do not work as same as ubuntu-20.04.
I use timidity for wine application.


$ LANG=C

$ sudo add-apt-repository ppa:sudipmuk/timidity
リポジトリ: 'deb https://ppa.launchpadcontent.net/sudipmuk/timidity/ubuntu/ jammy main'
より詳しい情報: https://launchpad.net/~sudipmuk/+archive/ubuntu/timidity
リポジトリを追加しています。
続けるには「Enter」キーを、中止するにはCtrl-cを押してください。
Adding deb entry to /etc/apt/sources.list.d/sudipmuk-ubuntu-timidity-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/sudipmuk-ubuntu-timidity-jammy.list
Adding key to /etc/apt/trusted.gpg.d/sudipmuk-ubuntu-timidity.gpg with fingerprint 47DF41F9326C826108F6155EE29259627BAE58E8
Hit:1 http://ftp.riken.jp/Linux/ubuntu jammy InRelease
Hit:2 http://ftp.riken.jp/Linux/ubuntu jammy-updates InRelease
Hit:3 http://ftp.riken.jp/Linux/ubuntu jammy-backports InRelease
Hit:4 http://ftp.riken.jp/Linux/ubuntu jammy-security InRelease
Get:5 https://ppa.launchpadcontent.net/sudipmuk/timidity/ubuntu jammy InRelease [18.0 kB]
Get:6 https://ppa.launchpadcontent.net/sudipmuk/timidity/ubuntu jammy/main amd64 Packages [1,344 B]
Get:7 https://ppa.launchpadcontent.net/sudipmuk/timidity/ubuntu jammy/main i386 Packages [752 B]
Get:8 https://ppa.launchpadcontent.net/sudipmuk/timidity/ubuntu jammy/main Translation-en [1,084 B]
Fetched 21.2 kB in 2s (8,782 B/s)               
Reading package lists... Done

$ sudo apt update
Hit:1 http://ftp.riken.jp/Linux/ubuntu jammy InRelease
Hit:2 http://ftp.riken.jp/Linux/ubuntu jammy-updates InRelease
Hit:3 http://ftp.riken.jp/Linux/ubuntu jammy-backports InRelease
Hit:4 http://ftp.riken.jp/Linux/ubuntu jammy-security InRelease
Hit:5 https://ppa.launchpadcontent.net/sudipmuk/timidity/ubuntu jammy InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

$ sudo apt-get -y install timidity
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  fluid-soundfont-gm
Suggested packages:
  fluid-soundfont-gs freepats pmidi timidity-daemon
The following NEW packages will be installed:
  fluid-soundfont-gm timidity
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 130 MB of archives.
After this operation, 150 MB of additional disk space will be used.
Get:1 http://ftp.riken.jp/Linux/ubuntu jammy/universe amd64 fluid-soundfont-gm all 3.1-5.3 [130 MB]
Get:2 https://ppa.launchpadcontent.net/sudipmuk/timidity/ubuntu jammy/main amd64 timidity amd64 2.14.0-8ubuntu1.22.04.1~ppa [698 kB]
Fetched 130 MB in 14s (9,231 kB/s)                                             
Selecting previously unselected package fluid-soundfont-gm.
(Reading database ... 210432 files and directories currently installed.)
Preparing to unpack .../fluid-soundfont-gm_3.1-5.3_all.deb ...
Unpacking fluid-soundfont-gm (3.1-5.3) ...
Selecting previously unselected package timidity.
Preparing to unpack .../timidity_2.14.0-8ubuntu1.22.04.1~ppa_amd64.deb ...
Unpacking timidity (2.14.0-8ubuntu1.22.04.1~ppa) ...
Setting up timidity (2.14.0-8ubuntu1.22.04.1~ppa) ...
Setting up fluid-soundfont-gm (3.1-5.3) ...
update-alternatives: using /usr/share/sounds/sf2/FluidR3_GM.sf2 to provide /usr/share/sounds/sf2/default-GM.sf2 (default-GM.sf2) in auto mode
update-alternatives: using /usr/share/sounds/sf2/FluidR3_GM.sf2 to provide /usr/share/sounds/sf3/default-GM.sf3 (default-GM.sf3) in auto mode
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

$ echo "timidity -iAD -B2,8 -Os1l -s 44100 -x'soundfont
/usr/share/midi/sf2/mypatches.sf2 order=1'" >> .profile

$ reboot

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2049243

Title:
  [SRU] package timidity-daemon 2.14.0-8ubuntu1 failed to
  install/upgrade: installed timidity-daemon package post-installation
  script subprocess returned error exit status 5

Status in timidity package in Ubuntu:
  Fix Released
Status in timidity source package in Jammy:
  Confirmed
Status in timidity package in Debian:
  Fix Released

Bug description:
  [ Impact ]

  timidity-daemon is completely unusable as it will even fail to install
  with the following error:

  Failed to stop timidity.service: Unit timidity.service not loaded.
  invoke-rc.d: initscript timidity, action "stop" failed.
  dpkg: error processing package timidity-daemon (--configure):
   installed timidity-daemon package post-installation script subprocess returned error exit status 5

  [ Test Plan ]

  * Install timidity-daemon, it will fail to install if its not fixed.
  * With the fixed package, timidity-daemon will be installed

  [ Where problems could occur ]

  Its only installing the init scripts links before trying to stop it.
  Since there is no change in code, so the chances of regression is very
  less.

  [ Other Info ]

   * It has been fixed in Debian by timidity/2.14.0-8.1.

  [ Original Bug Description ]

  wine 8.02 not work
  Failed to stop timidity.service: Unit timidity.service not loaded.
  invoke-rc.d: initscript timidity, action "stop" failed.
   installed timidity-daemon package post-installation script subprocess returned
  error exit status 5

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: timidity-daemon 2.14.0-8ubuntu1
  ProcVersionSignature: Ubuntu 6.5.0-14.14~22.04.1-generic 6.5.3
  Uname: Linux 6.5.0-14-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  AptOrdering:
   timidity-daemon:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Sat Jan 13 09:55:30 2024
  ErrorMessage: installed timidity-daemon package post-installation script subprocess returned error exit status 5
  InstallationDate: Installed on 2023-03-08 (310 days ago)
  InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.2
   apt  2.4.11
  SourcePackage: timidity
  Title: package timidity-daemon 2.14.0-8ubuntu1 failed to install/upgrade: installed timidity-daemon package post-installation script subprocess returned error exit status 5
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/timidity/+bug/2049243/+subscriptions




More information about the Ubuntu-sponsors mailing list