Re: Problems installing mythtv-database

トップ ページ

このメッセージに返信
著者: Tom Furie
日付:  
To: dmo-discussion
題目: Re: Problems installing mythtv-database
On Mon, May 14, 2012 at 02:01:54PM +0200, Christian Marillat wrote:

> > No change with mythvideo removed. I also removed mythnetvision,
> > mythmusic and mythnews (and related dependencies that aren't depended
> > upon by other packages) afterwards since they're rarely used. Still no
> > change.


> > What do you suggest next? Could it be some problem with the encoding
> > of the password that the install scripts are passing? Perhaps the fact
> > that mysql is bound to the IP address of eth0 (though I doubt that as
> > I can connect to all of localhost, hostname, and FQDN)?
>
> The best is to read mythtv log files for errors/warnings.


What relevance do the mythtv log files have in this situation? This is
the install scripts (either mythtv-database.install or
mythtv-database.postinst) being unable to connect to the database
server specified in the debconf dialog. If I'm incorrect in my reading
of this, then please, give me some pointers on where to find the real
problem.

I looked anyway, but don't see anything in the log files that
helps. Is there a verbosity setting I can use that would shed light?
Where? Backend? Frontend?

Here again is the output from aptitude when I try to install mythtv-database:

E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up mythtv-database (0.24.2-0.0squeeze1) ...
Failed to connect to database: Access denied for user 'root'@'mythbe01.furie.org.uk' (using password: YES) at -e line 5, <> line 1.
Failed to connect to database: Access denied for user 'root'@'mythbe01.furie.org.uk' (using password: YES) at -e line 5, <> line 1.
dpkg: error processing mythtv-database (--configure):
subprocess installed post-installation script returned error exit status 255
Errors were encountered while processing:
mythtv-database
Press return to continue.

This is while trying to install mythtv-database 0.24.2-0.0squeeze1 on
Debian Squeeze amd64. The machine I'm trying to install to is the
mythbe01 referenced in the above error.

As I said before, I am able to connect to this mysql server as root
with the relevant password from itself to localhost, mythbe01, and
mythbe01.furie.org.uk. I am also able to connect to it from other
machines on the network as mythbe01 and mythbe01.furie.org.uk.

> > What is it about the mythvideo package that you thought the removal
> > might help?
>
> Because mythvideo has been merged in the core MythTV.


Isn't that only in 0.25? This is a 0.24.2-0.0squeeze1 installation.

I understand that 0.25 is almost ready to go into stable on your
repository, but I would really like to get this database transferred
over before that happens. I could create the database manually from
the sources, but I would like to keep the package management system
self-consistent.

Cheers,
Tom

-- 
Too clever is dumb.
        -- Ogden Nash