[mythtv-users] debian multimedia.org deb problem

nick njbweb at bresnan.net
Tue Apr 22 01:29:16 UTC 2008


Yan Seiner wrote:
> I've installed the latest and greatest from debian_multimedia.org. 
> Everything works fine, expect I keep getting this error:
> 
> Setting up mythtv-common (0.21-0.12) ...
> dpkg: error processing mythtv-common (--configure):
>  subprocess post-installation script returned error exit status 1
> 
> Everything works fine, but I now get these errors every time I try to use
> apt-get/dpkg/etc.
> 
> I've tried various settings but I can't get any more information about
> this mysterious error exit status and the reason why it's showing up.
> 

What are the contents of /var/lib/dpkg/info/mythtv-common.postinst?

I had the same problem a few weeks back when upgrading to .20 --> .21. I 
don't remember the details, and I don't speak bash, but I think the 
script was trying to create mythtv user if req'd, get and/or set mythtv 
DB, host, user, password, etc.

This was probably the Wrong Thing To Do, but out of frustration I edited 
the script as follows:

  #!/bin/sh -e
  exit 0

Then, of course, I had no post-install script failure :). Note: this is 
*not* advice - it's just what *I* did. If you can parse the script
maybe you can figure out exactly why it breaks.

Everything seemed to upgrade fine after that - I might have broken 
something, but, if so, I haven't noticed in the few weeks it's been 
since I upgraded.





More information about the mythtv-users mailing list