MYTHTV-COMMON 18722 subprocess post-installation script returned error exit status 1

Bug #295592 reported by john reid
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: mythtv

INSTALL OF mythbuntu-control-centre. Appears to work, but continually fails to configure mythtv-common, and all therefore all dependent packages.

Setting up mythtv-common (0.21.0+fixes18722-0ubuntu1) ...
dpkg: error processing mythtv-common (--configure):
 subprocess post-installation script returned error exit status 1

Description: Ubuntu 8.10
Release: 8.10

Updated from 8.04 via 8.10 beta and rc.

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: mythtv-common 0.21.0+fixes18722-0ubuntu1
PackageArchitecture: all
SourcePackage: mythtv
Title: package mythtv-common 0.21.0+fixes18722-0ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-7-generic i686

Revision history for this message
john reid (reidjr) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 295592] Re: MYTHTV-COMMON 18722 subprocess post-installation script returned error exit status 1

Can you modify /var/lib/dpkg/info/mythtv-common.postinst and add this line
near the top after the commented lines:

set -x

now run apt-get -f install

That should identify what's failing.

On Sat, Nov 8, 2008 at 09:28, john reid <email address hidden> wrote:

>
> ** Attachment added: "Dependencies.txt"
> http://launchpadlibrarian.net/19490155/Dependencies.txt
>
> ** Attachment added: "DpkgTerminalLog.gz"
> http://launchpadlibrarian.net/19490156/DpkgTerminalLog.gz
>
> --
> MYTHTV-COMMON 18722 subprocess post-installation script returned error
> exit status 1
> https://bugs.launchpad.net/bugs/295592
> You received this bug notification because you are a member of MythTV
> Ubuntu Maintainers, which is subscribed to mythtv in ubuntu.
>

--
Mario Limonciello
<email address hidden>

Changed in mythtv:
status: New → Incomplete
Revision history for this message
john reid (reidjr) wrote :

I replied to your original suggestion by mail, probably the wrong protocol. after adding set -x

> etting up mythtv-common (0.21.0+fixes18722-0ubuntu1) ...
> + case "$1" in
> + . /usr/share/debconf/confmodule
> ++ '[' '!' '' ']'
> ++ PERL_DL_NONLAZY=1
> ++ export PERL_DL_NONLAZY
> ++ '[' '' ']'
> ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/mythtv-common.postinst configure 0.21.0+fixes18722-0ubuntu1
> + case "$1" in
> + . /usr/share/debconf/confmodule
> ++ '[' '!' 1 ']'
> ++ '[' -z '' ']'
> ++ exec
> ++ '[' '' ']'
> ++ exec
> ++ DEBCONF_REDIR=1
> ++ export DEBCONF_REDIR
> + '[' -n 0.21.0+fixes18722-0ubuntu1 ']'
> + dpkg --compare-versions 0.21.0+fixes18722-0ubuntu1 lt 0.7-4
> + adduser --quiet --system --group --disabled-password --system --shell /bin/sh mythtv
> dpkg: error processing mythtv-common (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
> mythtv-common
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
adduser needs to be run with sudo, but apart from that ... It doesn't tell me anything.

Any ideas ?

I have hacked things by eding the status file to pretend mythtv-common is configured, then everything works but that obviousness not the real way to do it.

Thanks for the help.

Revision history for this message
Qluripax (qluripax) wrote :

Hope this help to debug...
I also have this problem. My system has the mythtv user already defined in a LDAP-tree. I don't think the problem is the LDAP but when i remarked (#) all adduser-lines in /var/lib/dpkg/info/mythtv-common.postinst the configuration problem disappears.

Revision history for this message
Mario Limonciello (superm1) wrote :

Is there an easy way to query for that scenario? If this adduser command fails it seems that you will likely have problems later, so i'm reluctant to just put || true to it.

Revision history for this message
john reid (reidjr) wrote :

For me, it is only the first adduser command that fails. If I comment out the first, then the others do not cause a problem.

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.