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

Bug #1986544 reported by mohamed tarek mostafa kamel elbassiuoni
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
timidity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

error to install timidity-daemon

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: timidity-daemon 2.14.0-8ubuntu1
ProcVersionSignature: Ubuntu 5.15.0-46.49-generic 5.15.39
Uname: Linux 5.15.0-46-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
AptOrdering:
 fluid-soundfont-gm:amd64: Install
 timidity:amd64: Install
 timidity-daemon:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Mon Aug 15 17:26:12 2022
ErrorMessage: installed timidity-daemon package post-installation script subprocess returned error exit status 5
InstallationDate: Installed on 2022-08-15 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.7
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)

Revision history for this message
mohamed tarek mostafa kamel elbassiuoni (mehmettarik1994) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in timidity (Ubuntu):
status: New → Confirmed
Revision history for this message
Mack McBride (macckone) wrote :

This is a result of line 59 of the post install script failing.

line 59: invoke-rc.d timidity stop

code section:

# make sure we really stop, because packaging system doesn't
# understand what we're trying to do with migration to timidity-daemon
[ -f "/etc/init.d/timidity" ] && if which invoke-rc.d >/dev/null 2>&1; then
  invoke-rc.d timidity stop
else
  /etc/init.d/timidity stop
fi

as a workaround I prefaced the line with echo and the install completed successfully.
another check is needed to see if timidity is running and this stop is necessary.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.