Mythtv-pvr no longer available; broken dependency

Hey, looks like something related to MythTV PVR functionality broke. I’m not exactly sure when, but this is what I’m getting:

osmc@vernon:~/.kodi/temp$ sudo apt update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:3 http://ftp.debian.org/debian stretch InRelease
Hit:4 http://ftp.debian.org/debian stretch-updates InRelease
Hit:5 http://ftp.debian.org/debian stretch Release
Hit:2 http://ftp.fau.de/osmc/osmc/apt stretch InRelease

osmc@vernon:~/.kodi/temp$ sudo apt full-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

osmc@vernon:~/.kodi/temp$ apt-cache search mythtv | grep kodi
kodi-pvr-mythtv - MythTV PVR Addon for Kodi

osmc@vernon:~/.kodi/temp$ sudo apt install kodi-pvr-mythtv
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:
kodi-pvr-mythtv : Depends: kodi-api-pvr (= 5.2.1)
E: Unable to correct problems, you have held broken packages.

Just for kicks, I tried getting kodi-api-pvr but doing that apt wanted to remove osmc so … that’s a no-go :slight_smile:

Can you fix your repos so I can play back LiveTV again pretty please?

osmc@vernon:~/.kodi/temp$ sudo apt install kodi-api-pvr
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘kodi’ instead of ‘kodi-api-pvr’
The following packages were automatically installed and are no longer required:
armv7-libass-osmc armv7-libbluray-osmc armv7-libnfs-osmc armv7-librtmp-osmc armv7-libshairplay-osmc
armv7-libsqlite-osmc libavahi-compat-libdnssd1 libcap2-bin libenca0 libevdev2 libfstrcmp0 libinput-bin
libinput10 libiso9660-8 libmad0 libmtdev1 libnspr4 libnss3 libssh-4 libwacom-common libwacom2
libxkbcommon0 mediacenter-addon-osmc mediacenter-eventclients-common-osmc mediacenter-send-osmc
mediacenter-skin-osmc python-chardet python-pexpect python-pkg-resources python-ptyprocess
python-requests python-six python-unidecode python-urllib3 vero3-libcec-osmc xkb-data
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
fonts-noto-hinted fonts-noto-mono fonts-roboto-hinted kodi-bin kodi-data libass5 libasyncns0 libatomic1
libavcodec57 libavfilter6 libavformat57 libavresample3 libavutil55 libbluetooth3 libbluray1 libbs2b0
libcairo2 libchromaprint1 libdrm2 libebur128-1 libegl1-mesa libfftw3-double3 libflac8 libflite1
libfontenc1 libgbm1 libgl1-mesa-glx libglapi-mesa libgles2-mesa libglew2.0 libglu1-mesa libgme0
libgomp1 libgsm1 libice6 libjs-iscroll libjs-jquery libmp3lame0 libmpg123-0 libopencv-core2.4v5
libopencv-imgproc2.4v5 libopenjp2-7 libopenmpt0 libopus0 libpgm-5.2-0 libpixman-1-0 libpostproc54
libpulse0 librubberband2 libshine3 libsm6 libsnappy1v5 libsndfile1 libsodium18 libsoxr0 libspeex1
libssh-gcrypt-4 libswresample2 libswscale4 libtag1v5 libtheora0 libtwolame0 libva-drm1 libva-x11-1
libva1 libvdpau1 libvorbisfile3 libvpx4 libwavpack1 libwayland-client0 libwayland-server0 libx11-6
libx11-data libx11-xcb1 libx264-148 libx265-95 libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1
libxcomposite1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxmuu1
libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxtst6 libxv1 libxvidcore4 libxxf86dga1
libxxf86vm1 libzmq5 libzvbi-common libzvbi0 mesa-utils x11-common x11-utils
Suggested packages:
libbluray-bdj libfftw3-bin libfftw3-dev alsa-base glew-utils opus-tools pulseaudio speex
Recommended packages:
kodi-visualization-spectrum libcec4 libmodplug1 libnfs8 udisks2 libgl1-mesa-dri javascript-common
va-driver-all | va-driver vdpau-driver-all | vdpau-driver
The following packages will be REMOVED:
vero3-device-osmc vero3-mediacenter-osmc
The following NEW packages will be installed:
fonts-noto-hinted fonts-noto-mono fonts-roboto-hinted kodi kodi-bin kodi-data libass5 libasyncns0
libatomic1 libavcodec57 libavfilter6 libavformat57 libavresample3 libavutil55 libbluetooth3 libbluray1
libbs2b0 libcairo2 libchromaprint1 libdrm2 libebur128-1 libegl1-mesa libfftw3-double3 libflac8
libflite1 libfontenc1 libgbm1 libgl1-mesa-glx libglapi-mesa libgles2-mesa libglew2.0 libglu1-mesa
libgme0 libgomp1 libgsm1 libice6 libjs-iscroll libjs-jquery libmp3lame0 libmpg123-0 libopencv-core2.4v5
libopencv-imgproc2.4v5 libopenjp2-7 libopenmpt0 libopus0 libpgm-5.2-0 libpixman-1-0 libpostproc54
libpulse0 librubberband2 libshine3 libsm6 libsnappy1v5 libsndfile1 libsodium18 libsoxr0 libspeex1
libssh-gcrypt-4 libswresample2 libswscale4 libtag1v5 libtheora0 libtwolame0 libva-drm1 libva-x11-1
libva1 libvdpau1 libvorbisfile3 libvpx4 libwavpack1 libwayland-client0 libwayland-server0 libx11-6
libx11-data libx11-xcb1 libx264-148 libx265-95 libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1
libxcomposite1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxmu6 libxmuu1
libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxtst6 libxv1 libxvidcore4 libxxf86dga1
libxxf86vm1 libzmq5 libzvbi-common libzvbi0 mesa-utils x11-common x11-utils
0 upgraded, 115 newly installed, 2 to remove and 0 not upgraded.
Need to get 63.6 MB of archives.
After this operation, 136 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

osmc@osmc-4k:~$ apt-cache depends kodi-pvr-mythtv
kodi-pvr-mythtv
  Depends: libc6
  Depends: libgcc1
  Depends: libp8-platform2
  Depends: libstdc++6
  Depends: zlib1g
  Depends: <kodi-api-pvr>
    kodi

The package kodi-api-pvr is a virtual package that comprises just kodi . So to install kodi-api-pvr you actually install kodi, which conflicts with vero3-mediacenter-osmc.

As to why it’s occurring now, perhaps @sam_nazarko can advise.

PVR add ons should be bundled by default and shouldn’t be installed via APT

Ahhhhhh, found it. It was listed – disabled – in “My Addons”. I had been looking to install from repository.