Comment 7 for bug 989371

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Mythbuntu-bugs] [Bug 989371] Re: postinst error from mythv-database

Sounds like we need to test for an empty value in that postinst if there
are scenarios like this where it's not set indeed.

On Fri, Apr 27, 2012 at 08:57, Thomas Mashos <email address hidden> wrote:

> Sounds like for some reason you didn't have that option set in debconf.
>
> Thanks,
>
> Thomas Mashos
>
>
> On Thu, Apr 26, 2012 at 10:48 PM, Bradley Baetz <email address hidden> wrote:
> > On Fri, Apr 27, 2012 at 2:59 PM, Thomas Mashos
> > <email address hidden> wrote:
> >> Did it ask you that question previously on the upgrade that you
> >> received the error?
> >
> > No; that was an apt-get update/apt-get upgrade.
> >
> > mythtv was installed from the mythbuntu 12.04 beta2 media (via a USB
> > stick) and I'm pretty sure that I wasn't asked at the time.
> >
> > Bradley
> >
> > --
> > You received this bug notification because you are a member of Mythbuntu
> > Bug Team, which is subscribed to Mythbuntu.
> > https://bugs.launchpad.net/bugs/989371
> >
> > Title:
> > postinst error from mythv-database
> >
> > Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
> > New
> >
> > Bug description:
> > When upgrading mythtv via apt-get, I see:
> >
> > Setting up mythtv-database
> (2:0.25.0+fixes.20120427.58fd2a5-0ubuntu0mythbuntu4) ...
> > /var/lib/dpkg/info/mythtv-database.postinst: 115: [: =: unexpected
> operator
> >
> > line 115 is:
> >
> > if [ $RET = true ]; then
> >
> > I think that that should be:
> >
> > if [ $RET = "true" ]; then
> >
> > (ie with quotes) ?
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/mythbuntu/+bug/989371/+subscriptions
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~mythbuntu-bugs
> > Post to : <email address hidden>
> > Unsubscribe : https://launchpad.net/~mythbuntu-bugs
> > More help : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mythbuntu-bugs
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~mythbuntu-bugs
> More help : https://help.launchpad.net/ListHelp
>

--
Mario Limonciello
<email address hidden>