package mythexport 2.2.4-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1492585 reported by Miles Brennan on 2015-09-05
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mythexport (Ubuntu)
Undecided
Unassigned

Bug Description

Logged in as general (non admin) user, selected MythExport plugin in Mythbuntu Control Center, and it starts to throw system errors saying MythExport plugin is being stopped.

Have uninstalled MythExport, still get the same error, now MythBackend does not work with startup script, must login and start mythbackend as root. It won't switch to mythtv user. Seems to error out and crash immediately.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: mythexport (not installed)
ProcVersionSignature: Ubuntu 3.13.0-62.102-generic 3.13.11-ckt24
Uname: Linux 3.13.0-62-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.12
Architecture: amd64
Date: Sat Sep 5 23:04:49 2015
DuplicateSignature: package:mythexport:(not installed):subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-12-11 (268 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.4
 apt 1.0.1ubuntu2.10
SourcePackage: mythexport
Title: package mythexport (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Miles Brennan (miles-i) wrote :
tags: removed: need-duplicate-check
Harry Coin (hcoin) wrote :

Confirmed. Fresh install 0.27+ fixes as of 1/26/16. Everything running normally. Enabled Myhtexport in the ubuntu control center, exactly symptoms as above appeared.

Harry Coin (hcoin) wrote :

Bug is here:

Note mythexport/dir in debconf's config.dat is empty.

mythexport.postinst:
...
case "$1" in
    configure)
    . /usr/share/debconf/confmodule

    db_get mythexport/dir
    dir="$RET"
-- if [ -n $dir ]; then
++ if [ "x$dir" != "x" ]; then
       mkdir -p $dir

        chown mythtv:mythtv $dir || true

        mkdir -p $dir

        chown mythtv:mythtv $dir || true
...

Launchpad Janitor (janitor) wrote :

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

Changed in mythexport (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers