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.
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) ... debconf/ confmodule debconf/ frontend /var/lib/ dpkg/info/ mythtv- common. postinst configure 0.21.0+ fixes18722- 0ubuntu1 debconf/ confmodule fixes18722- 0ubuntu1 ']' fixes18722- 0ubuntu1 lt 0.7-4
> + case "$1" in
> + . /usr/share/
> ++ '[' '!' '' ']'
> ++ PERL_DL_NONLAZY=1
> ++ export PERL_DL_NONLAZY
> ++ '[' '' ']'
> ++ exec /usr/share/
> + case "$1" in
> + . /usr/share/
> ++ '[' '!' 1 ']'
> ++ '[' -z '' ']'
> ++ exec
> ++ '[' '' ']'
> ++ exec
> ++ DEBCONF_REDIR=1
> ++ export DEBCONF_REDIR
> + '[' -n 0.21.0+
> + dpkg --compare-versions 0.21.0+
> + 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.