I’m running OSMC on several machines, and on two of them I have issues installing and updating packages.
I’ll happily provide more info when needed.
Here’s output from one machine that I’ll like to try and fix first.
osmc@Sovrum:~/RPi.GPIO-0.5.11$ sudo apt-get install python-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libexpat1 libexpat1-dev libpython-dev libpython2.7-dev python2.7-dev
The following NEW packages will be installed:
libexpat1-dev libpython-dev libpython2.7-dev python-dev python2.7-dev
The following packages will be upgraded:
libexpat1
1 upgraded, 5 newly installed, 0 to remove and 14 not upgraded.
Need to get 0 B/28.2 MB of archives.
After this operation, 36.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
/usr/bin/dpkg: error while loading shared libraries: hd-linux-armhf,so.?: cannot open shared object
file: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (127)
osmc@Sovrum:~/RPi.GPIO-0.5.11$
I tried:
osmc@Sovrum:~/RPi.GPIO-0.5.11$ sudo dpkg --configure -a
dpkg: error while loading shared libraries: hd-linux-armhf,so.?: cannot open shared object file: No such file or directory
osmc@Sovrum:~/RPi.GPIO-0.5.11$