mythtv-dmo multi-arch (for cross-grade i386->amd64)

Top Page

Reply to this message
Author: Ian Campbell
Date:  
To: dmo-discussion
Subject: mythtv-dmo multi-arch (for cross-grade i386->amd64)
Hi Christian,

My current mythtv system is i386 but well capable of running amd64 so I
thought I would start with running and amd64 kernel and switching
mythtv and its dependencies to amd64.

I'm a little wary of a full switch since I already know that the i386
version of mythtv is unable to drive my tuner when running an amd64
kernel, I suspect because of some compat ioctl issue. I'm not 100% sure
that running amd64 mythtv on an amd64 kernel will work (if the issue is
something else).

I enabled amd64 and enumerated all the i386 myth packages on my system
and tried an "apt install" with the :amd64 version of all of them, I
then iterated adding dependencies as apt complained. (I also use the
"/sid" suffix where necessary since I have `APT::Default-Release
"buster"`).

Eventually I ended up with the command line pasted at the end of this
mail which results in:

    The following packages have unmet dependencies:
     mythtv-backend:amd64 : Depends: mythtv-common:amd64 (>= 29+fixes20170927.gited4356116a-dmo2) but it is not installable
                            Depends: cron:amd64 but it is not going to be installed or
                                     cron-daemon:amd64
                            Depends: python-mythtv:amd64 but it is not installable
                            Recommends: mythtv-database:amd64 but it is not installable
                            Recommends: logrotate:amd64 but it is not going to be installed
                            Recommends: xmltv-util:amd64 but it is not installable
     mythtv-frontend:amd64 : Depends: mythtv-common:amd64 (>= 29+fixes20170927.gited4356116a-dmo2) but it is not installable
                             Depends: python-mythtv:amd64 but it is not installable
     mythtv-transcode:amd64 : Depends: mythtv-common:amd64 but it is not installable
     mythweather:amd64 : Depends: libdate-manip-perl:amd64 but it is not installable
                         Depends: libimage-size-perl:amd64 but it is not installable
                         Depends: libwww-perl:amd64 but it is not installable
                         Depends: libsoap-lite-perl:amd64 but it is not installable
                         Depends: libxml-parser-perl:amd64 but it is not going to be installed
                         Depends: libxml-sax-perl:amd64 but it is not installable
                         Depends: libxml-xpath-perl:amd64 but it is not installable
                         Depends: libdatetime-format-iso8601-perl:amd64 but it is not installable
                         Depends: libdate-calc-perl:amd64 but it is not installable
                         Depends: libjson-perl:amd64 but it is not installable
     python-pycurl:amd64 : Depends: python:amd64 (< 2.8) but it is not going to be installed
                           Depends: python:amd64 (>= 2.7~) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.


This is all a bit weird since many of the mythtv-*:amd64 packages it
complains about are actually arch:all, likewise the Perl and Python
stuff is often arch:all and in any case should be fine sticking with
the arch:i386 versions for now, same for cron etc.

My hypothesis is that this is because the various mythtv packages are
not annotated with Multi-Arch fields, although I see there are
commented out fields in debian/control.

I appreciate that maintaining correct Multi-Arch tags might be a burden
you aren't too keen on, which is a bit fiddly to get and keep correct
and on which you will probably not get too much demand for or feedback
from the community. I just wanted to check with you that this was the
case before I took more drastic steps (like a full system cross-grade
or uninstalling bits of myth in the hopes I can put them back as
amd64).

Ian.

sudo apt install --download-only libmyth-29:amd64/sid libmythavcodec57:amd64/sid libmythavdevice57:amd64/sid libmythavfilter6:amd64/sid libmythavformat57:amd64/sid libmythavutil55:amd64/sid libmythpostproc54:amd64/sid libmythswresample2:amd64/sid libmythswscale4:amd64/sid mythffmpeg:amd64/sid mythgallery:amd64/sid mythmusic:amd64/sid mythtv-backend:amd64/sid mythtv-frontend:amd64/sid mythtv-transcode:amd64/sid mythweather:amd64/sid libass9:amd64 libfontconfig1:amd64 libfreetype6:amd64 libharfbuzz0b:amd64 libpng16-16:amd64 libbluray2:amd64  libqt5core5a:amd64 libqt5sql5:amd64 libqt5webkit5:amd64 libqt5sql5-mysql:amd64  libxvidcore4:amd64 librtmp1:amd64 python-pycurl:amd64 transcode:amd64  libavcodec57:amd64 libavformat57:amd64 libquicktime2:amd64  libpostproc54:amd64  libavutil55:amd64 libswresample2:amd64  libx265-130:amd64  libswscale4:amd64 python-mythtv:all/sid  mythtv-common:all/sid  libavcodec57:amd64/sid libavformat57:amd64/sid libmjpegutils-2.1-0:amd64  libpostproc54:amd64  libpostproc54:amd64/sid libfdk-aac1:amd64/sid libswresample2:amd64/sid libx265-130:amd64/sid 
[sudo] password for ijc: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mythtv-common is already the newest version (29+fixes20170927.gited4356116a-dmo2).
python-mythtv is already the newest version (29+fixes20170927.gited4356116a-dmo2).
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libmyth-29:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libmythavcodec57:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libmythavdevice57:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libmythavfilter6:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libmythavformat57:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libmythavutil55:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libmythpostproc54:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libmythswresample2:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libmythswscale4:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'mythffmpeg:amd64'
Selected version '1.8.3-2' (Debian:unstable, Debian:testing [amd64]) for 'libva1:amd64' because of 'mythffmpeg:amd64'
Selected version '1:29-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'mythgallery:amd64'
Selected version '1:29-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'mythmusic:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'mythtv-backend:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'mythtv-frontend:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'mythtv-transcode:amd64'
Selected version '1:29-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'mythweather:amd64'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [all]) for 'python-mythtv'
Selected version '29+fixes20170927.gited4356116a-dmo2' (Unofficial Multimedia Packages:0.0/unstable [all]) for 'mythtv-common'
Selected version '10:3.3.4-dmo1' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libavcodec57:amd64'
Selected version '10:3.3.4-dmo1' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libavformat57:amd64'
Selected version '10:3.3.4-dmo1' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libpostproc54:amd64'
Selected version '1:0.1.5-dmo2' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libfdk-aac1:amd64'
Selected version '10:3.3.4-dmo1' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libswresample2:amd64'
Selected version '1:2.5-dmo1' (Unofficial Multimedia Packages:0.0/unstable [amd64]) for 'libx265-130:amd64'
Selected version '1:7.2.0-7' (Debian:unstable, Debian:testing [amd64]) for 'libgcc1:amd64' because of 'libx265-130:amd64'
Selected version '7.2.0-7' (Debian:unstable, Debian:testing [amd64]) for 'gcc-7-base:amd64' because of 'libgcc1:amd64'
Selected version '7.2.0-7' (Debian:unstable, Debian:testing [amd64]) for 'libstdc++6:amd64' because of 'libx265-130:amd64'
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-backend:amd64 : Depends: mythtv-common:amd64 (>= 29+fixes20170927.gited4356116a-dmo2) but it is not installable
                        Depends: cron:amd64 but it is not going to be installed or
                                 cron-daemon:amd64
                        Depends: python-mythtv:amd64 but it is not installable
                        Recommends: mythtv-database:amd64 but it is not installable
                        Recommends: logrotate:amd64 but it is not going to be installed
                        Recommends: xmltv-util:amd64 but it is not installable
 mythtv-frontend:amd64 : Depends: mythtv-common:amd64 (>= 29+fixes20170927.gited4356116a-dmo2) but it is not installable
                         Depends: python-mythtv:amd64 but it is not installable
 mythtv-transcode:amd64 : Depends: mythtv-common:amd64 but it is not installable
 mythweather:amd64 : Depends: libdate-manip-perl:amd64 but it is not installable
                     Depends: libimage-size-perl:amd64 but it is not installable
                     Depends: libwww-perl:amd64 but it is not installable
                     Depends: libsoap-lite-perl:amd64 but it is not installable
                     Depends: libxml-parser-perl:amd64 but it is not going to be installed
                     Depends: libxml-sax-perl:amd64 but it is not installable
                     Depends: libxml-xpath-perl:amd64 but it is not installable
                     Depends: libdatetime-format-iso8601-perl:amd64 but it is not installable
                     Depends: libdate-calc-perl:amd64 but it is not installable
                     Depends: libjson-perl:amd64 but it is not installable
 python-pycurl:amd64 : Depends: python:amd64 (< 2.8) but it is not going to be installed
                       Depends: python:amd64 (>= 2.7~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.