Unfortunately a purge made no difference. And as you can see, I verified I do not even have
i386 listed as a foreign architecture... and that the
amd_64.deb file
is the package that gets installed:
Code:
box:~# apt-get --purge autoremove kodi-pvr-mythtv
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
kodi-pvr-mythtv*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 2,538 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 214601 files and directories currently installed.)
Removing kodi-pvr-mythtv (4.12.7-1~trusty) ...
Purging configuration files for kodi-pvr-mythtv (4.12.7-1~trusty) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
box:~#
box:~# uname -a
Linux box 3.13.0-107-generic #154-Ubuntu SMP Tue Dec 20 09:57:27 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
box:~#
box:~# dpkg --print-foreign-architectures
box:~#
box:~# apt-get -V install kodi-pvr-mythtv
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
kodi-pvr-mythtv (4.12.7-1~trusty)
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/754 kB of archives.
After this operation, 2,538 kB of additional disk space will be used.
Selecting previously unselected package kodi-pvr-mythtv.
(Reading database ... 214433 files and directories currently installed.)
Preparing to unpack .../kodi-pvr-mythtv_4.12.7-1~trusty_amd64.deb ...
Unpacking kodi-pvr-mythtv (4.12.7-1~trusty) ...
Setting up kodi-pvr-mythtv (4.12.7-1~trusty) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
box:~#
But it
still gets installed in the
i386-linux-gnu directory:
Code:
box:~# ls -lc /usr/lib/i386-linux-gnu/kodi/addons/pvr.mythtv
total 1052
lrwxrwxrwx 1 root root 18 Jan 18 19:59 pvr.mythtv.so -> pvr.mythtv.so.17.0
lrwxrwxrwx 1 root root 20 Jan 18 19:59 pvr.mythtv.so.17.0 -> pvr.mythtv.so.4.12.7
-rw-r--r-- 1 root root 1075048 Jan 18 19:59 pvr.mythtv.so.4.12.7
and even though it's in the
i386-linux-gnu directory, it actually
is the x86_64 version!
Code:
box:~# file /usr/lib/i386-linux-gnu/kodi/addons/pvr.mythtv/pvr.mythtv.so.4.12.7
/usr/lib/i386-linux-gnu/kodi/addons/pvr.mythtv/pvr.mythtv.so.4.12.7: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=15eda584445be6fd0cb75c2a5c94bad90fc1f97e, stripped
For reference, there are definitely other things installed in the
x86_64-linux-gnu directory, e.g.:
Code:
box:~# ls -l /usr/lib/x86_64-linux-gnu/kodi/addons
total 32
drwxr-xr-x 2 root root 4096 Jan 18 19:01 library.kodi.adsp/
drwxr-xr-x 2 root root 4096 Jan 18 19:01 library.kodi.audioengine/
drwxr-xr-x 2 root root 4096 Jan 18 19:01 library.kodi.guilib/
drwxr-xr-x 2 root root 4096 Jan 18 19:01 library.kodi.inputstream/
drwxr-xr-x 2 root root 4096 Jan 18 19:01 library.kodi.peripheral/
drwxr-xr-x 2 root root 4096 Jan 18 19:01 library.xbmc.addon/
drwxr-xr-x 2 root root 4096 Jan 18 19:01 library.xbmc.codec/
drwxr-xr-x 2 root root 4096 Jan 18 19:01 library.xbmc.pvr/
Any thoughts on how to help debug this further?