mythtv 0.28+fixes20161017-dmo1 packages are uninstallable

トップ ページ

このメッセージに返信
著者: Craig Sanders
日付:  
To: dmo-discussion
題目: mythtv 0.28+fixes20161017-dmo1 packages are uninstallable
If I try to upgrade to the latest mythtv packages, apt-get wants to remove
mysql-server* and mysql-client*, which would leave myth without a database.

this seems to be because mythtv-common now depends on default-mysql-client,
which depends on mariadb-client-10.0

this is probably a bug on the debian default-mysql-client package (which
probably shouldn't depend on mariadb-client-10.0 - mariadb is NOT a drop-in
replacement for mysql), but mythtv-common should depend on mysql-client (like
it used to) at least until debian fixes this (or forever, if they dont).

an example:

# apt-get -d -u install mythtv-backend mythtv-common mythtv-frontend  
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
mythtv-common : Depends: default-mysql-client but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


ok, so install default-mysql-client:


# apt-get -d -u install mythtv-backend mythtv-common mythtv-frontend  default-mysql-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
default-mysql-client : Depends: mariadb-client-10.0 but it is not going to be installed


right, install mariadb-client-10.0 too:


# apt-get -V -d -u install mythtv-backend mythtv-common mythtv-frontend default-mysql-client mariadb-client-10.0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
   mariadb-client-core-10.0 (10.0.27-2)
Suggested packages:
   mythweb (1:0.28+fixes20161016+1-dmo1)
   mythweather (1:0.28+fixes20161017-dmo1)
   mythgallery (1:0.28+fixes20161017-dmo1)
   mythgame (1:0.28+fixes20161017-dmo1)
Recommended packages:
   mythtv-database (0.28+fixes20161017-dmo1)
The following packages will be REMOVED:
   mysql-client (5.7.15-1)
   mysql-client-5.7 (5.7.15-1)
   mysql-client-core-5.7 (5.7.15-1)
   mysql-server (5.7.15-1)
   mysql-server-5.7 (5.7.15-1)
The following NEW packages will be installed:
   default-mysql-client (1.0.0)
   mariadb-client-10.0 (10.0.27-2)
   mariadb-client-core-10.0 (10.0.27-2)
The following packages will be upgraded:
   mythtv-backend (0.28+fixes20160826-dmo1 => 0.28+fixes20161017-dmo1)
   mythtv-common (0.28+fixes20160826-dmo1 => 0.28+fixes20161017-dmo1)
   mythtv-frontend (0.28+fixes20160826-dmo1 => 0.28+fixes20161017-dmo1)
3 upgraded, 3 newly installed, 5 to remove and 0 not upgraded.
Need to get 27.2 MB of archives.
After this operation, 69.5 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.


umm, no, i don't think so.




NOTE: mythtv-database is not installed because the database was copied over
from my previous myth box. attempting to install mythtv-database makes no
difference, apt-get still wants to remove mysql-*. the mythtv packages have
been working fine for years without it, anyway.

craig

--
craig sanders <cas@???>