Unable to install kodi and mythtv

Bug #1609169 reported by Scott Newton
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mythbuntu
Confirmed
Medium
Thomas Mashos

Bug Description

OS Version: Mythbuntu 16.04.1

Xenial uses libtag1v5.
Kodi uses libtag1v5.
MythTV uses libtag1c2a.

The result is that when you try to install Kodi on a system that is using MythTV you end up with a conflict and the only way you can install Kodi is to remove ALL of mythv. The conflict is caused by MythTV being compiled against the wrong version of libtag1.

MythTV Repo: deb http://ppa.launchpad.net/mythbuntu/0.28/ubuntu xenial main

Kodi Repo: deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu xenial main

mythbuntu@mythtv:~$ sudo apt install kodi kodi-bin libtag1v5 libtag1v5-vanilla
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libtidy-0.99-0 python-feedparser python-libxml2 python-utidylib
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libao-common libao4 libcec3 libcrossguid1 libgif7 libglew1.13 libmad0 libmicrohttpd10 libnfs8 libpcrecpp0v5 libplatform2 libsdl2-2.0-0 libshairplay0 libsndio6.1 libssh-4 libtinyxml2.6.2v5 libyajl2 python-bluez python-simplejson
Suggested packages:
  kodi-pvr-vuplus kodi-pvr-vdr-vnsi kodi-pvr-njoy kodi-pvr-nextpvr kodi-pvr-mediaportal-tvserver kodi-pvr-tvheadend-hts kodi-pvr-dvbviewer kodi-pvr-argustv kodi-pvr-iptvsimple kodi-audioencoder-vorbis kodi-audioencoder-flac kodi-audioencoder-lame glew-utils sndiod
The following packages will be REMOVED:
  libmyth-0.28-0 libtag1-vanilla libtag1c2a mytharchive mythbrowser mythbuntu-bare-client mythbuntu-desktop mythgallery mythmusic mythnetvision mythnews mythtv mythtv-backend mythtv-backend-master mythtv-common mythtv-database mythtv-dbg mythtv-frontend
  mythtv-theme-mythbuntu mythtv-transcode-utils mythweather mythweb
The following NEW packages will be installed:
  kodi kodi-bin libao-common libao4 libcec3 libcrossguid1 libgif7 libglew1.13 libmad0 libmicrohttpd10 libnfs8 libpcrecpp0v5 libplatform2 libsdl2-2.0-0 libshairplay0 libsndio6.1 libssh-4 libtag1v5 libtag1v5-vanilla libtinyxml2.6.2v5 libyajl2 python-bluez
  python-simplejson
0 upgraded, 23 newly installed, 22 to remove and 0 not upgraded.
Need to get 26.2 MB/26.9 MB of archives.
After this operation, 242 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

Solution: Recompile MythTV for xenial 0.28 branch against the system libtag1v5 library.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: mythtv 2:0.28.0+fixes.20160727.e5ce273-0ubuntu0mythbuntu5 [origin: unknown]
ProcVersionSignature: Ubuntu 4.4.0-31.50-generic 4.4.13
Uname: Linux 4.4.0-31-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CrashDB: mythbuntu
CurrentDesktop: XFCE
Date: Wed Aug 3 10:51:55 2016
Installed_mythtv_dbg: 2:0.28.0+fixes.20160727.e5ce273-0ubuntu0mythbuntu5
PackageArchitecture: all
SourcePackage: mythtv
UpgradeStatus: Upgraded to xenial on 2016-07-31 (2 days ago)

Revision history for this message
Scott Newton (scottn) wrote :
Revision history for this message
Thomas Mashos (tgm4883) wrote :

MythTV uses libtag1v5 as well. Here is the build log for the amd64 packages https://launchpadlibrarian.net/275233431/buildlog_ubuntu-xenial-amd64.mythtv_2%3A0.28.0+fixes.20160727.e5ce273-0ubuntu0mythbuntu2_BUILDING.txt.gz

Did you have some other PPA installed? I'm not even sure where you got libtag1c2a

Changed in mythbuntu:
assignee: nobody → Thomas Mashos (tgm4883)
importance: Undecided → Medium
status: New → Invalid
Revision history for this message
Scott Newton (scottn) wrote :

Ok. Weird.

I have three other PPA's - google-chrome-stable, avidemux and zabbix. Disabled all three and uninstalled the packages they provided + any dependencies. Then cleared my package lists from /var/lib/apt/lists and tried again. Same issue.

The following packages will be REMOVED:
  libmyth-0.28-0 libtag1-vanilla libtag1c2a mytharchive mythbrowser mythbuntu-bare-client
  mythbuntu-desktop mythgallery mythmusic mythnetvision mythnews mythtv mythtv-backend
  mythtv-backend-master mythtv-common mythtv-database mythtv-dbg mythtv-frontend
  mythtv-theme-mythbuntu mythtv-transcode-utils mythweather mythweb

Given the information you had given me I took the plunge and uninstalled all the mythtv packages and then installed kodi - which installed the libtag1v5 and libtag1v5-vanilla packages. During the uninstall I noticed something interesting.

Removing libtag1c2a:amd64 (1.9.1-2.2~ppa~trusty) ...
Removing libtag1-vanilla:amd64 (1.9.1-2.2~ppa~trusty) ...

So during the upgrade these had not been upgraded. Why I have no idea.

Once I had installed kodi I re-installed mythtv and had a working system again...

And then re-installed mythtv. The list of packages to install was:

The following NEW packages will be installed:
  hdhomerun-config-gui libaa1 libbasicusageenvironment1 libcddb2 libchromaprint0 libdirectfb-1.2-9
  libdvbpsi10 libexiv2-14 libfreerdp-cache1.1 libfreerdp-client1.1 libfreerdp-codec1.1
  libfreerdp-common1.1.0 libfreerdp-core1.1 libfreerdp-crypto1.1 libfreerdp-gdi1.1
  libfreerdp-locale1.1 libfreerdp-primitives1.1 libfreerdp-utils1.1 libgles1-mesa libgles2-mesa
  libgroupsock8 libhdhomerun2 libiso9660-8 libkate1 liblivemedia50 liblua5.2-0 libmpcdec6
  libmyth-0.28-0 libqt5x11extras5 libresid-builder0c2a libsdl-image1.2 libshout3 libsidplay2v5
  libssh2-1 libupnp6 libusageenvironment3 libvcdinfo0 libvlc5 libvncclient1 libwinpr-crt0.1
  libwinpr-dsparse0.1 libwinpr-environment0.1 libwinpr-file0.1 libwinpr-handle0.1 libwinpr-heap0.1
  libwinpr-input0.1 libwinpr-interlocked0.1 libwinpr-library0.1 libwinpr-path0.1 libwinpr-pool0.1
  libwinpr-registry0.1 libwinpr-rpc0.1 libwinpr-sspi0.1 libwinpr-synch0.1 libwinpr-sysinfo0.1
  libwinpr-thread0.1 libwinpr-utils0.1 libxcb-composite0 libxcb-xv0 libxml-catalog-perl
  libxml-treebuilder-perl mytharchive mythbrowser mythbuntu-bare-client mythbuntu-desktop
  mythgallery mythmusic mythnetvision mythnews mythtv mythtv-backend mythtv-backend-master
  mythtv-common mythtv-database mythtv-dbg mythtv-frontend mythtv-theme-mythbuntu
  mythtv-transcode-utils mythweather mythweb vlc vlc-nox vlc-plugin-samba

which looks to me like that although I had upgraded to 0.28 before doing the 16.04.1 upgrade something had caused certain packages to be held but not sure what or why.

Thanks for your help.

Revision history for this message
gottabefoss (jas7n) wrote :

Verified as affecting upgrades from 14.04.5 to 16.04.1 that already have current 0.28 mythtv installed pre-upgrading to 16.04.1 (Tested in a VM as a fresh 14.04.5 install --> .28 --> 16.04.1).

Adding kodi repository gives error:

"The following packages have unmet dependencies. Kodi: Depends: kodi-bin (>= 2:16.1-git20160425.1001-final-0xenial) but it is not going to be installed.

E: Unable to correct problems, you have held broken packages."

Solution:

sudo apt-get remove mythbuntu-desktop

sudo apt-get install kodi

sudo apt-get install mythbuntu-desktop

It appears upgrading from 14.04.5 to 16.04 misses or uninstalls some dependencies, which get reinstalled by removing and then reinstalling the "master" mythbuntu package.

This procedure also reinstalls useful mythbuntu tools like the HDHomeRun utility, which the 16.04 upgrade removed.

Changed in mythbuntu:
status: Invalid → Confirmed
Revision history for this message
gottabefoss (jas7n) wrote :

Correction:

Working solution is:

sudo apt-get remove mythbuntu-desktop

sudo apt-get remove mythtv*

sudo apt-get install kodi

sudo apt-get install mythbuntu-desktop

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.