OSMC does not want to update (remotely)

I have a headless RPi2. I tried to update it to the latest version (October 2016). It seemed to update correctly, but os-release version is reporting July. Did I do something wrong?

logs here: http://paste.osmc.io/zuxewofugo (non-debug, which I hope is OK for upgrade process?)

process used:

  1. sudo apt-get update
  2. sudo apt-get dist-upgrade
  3. sudo reboot

results of ‘cat /etc/os-release’ (July 2016):

PRETTY_NAME="Open Source Media Center"
NAME="OSMC"
VERSION="July 2016"
VERSION_ID="2016.07-1"
ID=osmc
ID_LIKE=debian

ANSI_COLOR="1;31"
HOME_URL="http://www.osmc.tv"
SUPPORT_URL="http://www.osmc.tv"
BUG_REPORT_URL="http://www.osmc.tv"

There is no indication in this log that you attempted to dist-upgrade, fail or success. Please pastebin the command line outputs while attempting the process you described above.

I thought I did! Let me try again. I’ll run the 3 commands I mentioned, and then after the reboot run sudo grab-logs -A. Is that what you meant?

`End-Date: 2016-08-06 19:48:53

---------------------- APT history.log END --------------- B8sj7DO8`

Either your SD card is in read only or you executed the commands on a different machine

1 Like

Not exactly. Show us the entire command line history while you are executing those commands and the output for each one. You can then also provide grab-logs -A, no need to reboot.

Got it. Following is the command line output.

Two new (troubling?) issues this time around:

  1. ‘grab-logs -A’ failed with syntax error (shown at end of output)
  2. ‘sudo reboot’ failing too. Command accepted, but machine does not immediately close connection and reboot. Just seems to do nothing.

login as: osmc

osmc@192.168.0.114's password:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Nov  5 09:07:13 2016 from 192.168.0.109
osmc@piradio:~$ cat /etc/os-release
PRETTY_NAME="Open Source Media Center"
NAME="OSMC"
VERSION="July 2016"
VERSION_ID="2016.07-1"
ID=osmc
ID_LIKE=debian

ANSI_COLOR="1;31"
HOME_URL="http://www.osmc.tv"
SUPPORT_URL="http://www.osmc.tv"
BUG_REPORT_URL="http://www.osmc.tv"
osmc@piradio:~$ grab-logs -A
Logs successfully uploaded.
Logs available at http://paste.osmc.io/zuxewofugo
osmc@piradio:~$ sudo apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://ftp.debian.org jessie InRelease
Get:2 http://ftp.debian.org jessie-updates InRelease [145 kB]
Get:3 http://apt.osmc.tv jessie InRelease [4666 B]
Get:4 http://security.debian.org jessie/updates/main armhf Packages [303 kB]
Get:5 http://ftp.debian.org jessie Release.gpg [2373 B]
Get:6 http://ftp.debian.org jessie Release [148 kB]
Get:7 http://apt.osmc.tv jessie/main armhf Packages/DiffIndex [2023 B]
Get:8 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [5932 B                               ]
Get:9 http://ftp.debian.org jessie-updates/contrib armhf Packages [32 B]
Get:10 http://ftp.debian.org jessie-updates/non-free armhf Packages/DiffIndex [7                               36 B]
Get:11 http://security.debian.org jessie/updates/contrib armhf Packages [1138 B]
Get:12 http://security.debian.org jessie/updates/non-free armhf Packages [14 B]
Get:13 http://security.debian.org jessie/updates/contrib Translation-en [1211 B]
Get:14 http://security.debian.org jessie/updates/main Translation-en [168 kB]
Get:15 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
Get:16 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Get:17 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [2704                                B]
Get:18 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [7                               36 B]
Err http://apt.osmc.tv jessie/main armhf Packages

Get:19 http://ftp.debian.org jessie/main armhf Packages [6641 kB]
Err http://apt.osmc.tv jessie/main armhf Packages

Get:20 http://apt.osmc.tv jessie/main armhf Packages [27.5 kB]
Ign http://apt.osmc.tv jessie/main Translation-en
Get:21 http://ftp.debian.org jessie/contrib armhf Packages [38.1 kB]
Get:22 http://ftp.debian.org jessie/non-free armhf Packages [62.2 kB]
Get:23 http://ftp.debian.org jessie/contrib Translation-en [38.5 kB]
Get:24 http://ftp.debian.org jessie/main Translation-en [4583 kB]
Get:25 http://ftp.debian.org jessie/non-free Translation-en [72.3 kB]
Get:26 http://ftp.debian.org jessie-updates/main armhf 2016-10-25-2111.01.pdiff                                [524 B]
Get:27 http://ftp.debian.org jessie-updates/main armhf 2016-10-25-2111.01.pdiff                                [524 B]
Fetched 12.3 MB in 29s (420 kB/s)
Reading package lists... Done
osmc@piradio:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and a                               re no longer required:
  apt-transport-https libasn1-8-heimdal libgssapi3-heimdal libhcrypto4-heimdal
  libheimbase1-heimdal libheimntlm0-heimdal libhx509-5-heimdal
  libkrb5-26-heimdal libroken18-heimdal libwind0-heimdal
  rbp2-image-4.4.13-1-osmc rbp2-image-4.4.16-1-osmc rbp2-image-4.4.3-3-osmc
  rbp2-image-4.4.8-3-osmc
Use 'apt-get autoremove' to remove them.
Done
The following NEW packages will be installed:
  rbp2-image-4.4.27-2-osmc
The following packages will be upgraded:
  armv7-libsqlite-osmc armv7-splash-osmc base-files base-files-osmc bind9-host
  curl e2fslibs e2fsprogs fontconfig-config gnupg gpgv libbind9-90 libc-bin
  libc-dev-bin libc6 libc6-dev libcomerr2 libcurl3 libcurl3-gnutls libdns100
  libfontconfig1 libgcrypt20 libgudev-1.0-0 libidn11 libisc95 libisccc90
  libisccfg90 liblwres90 libmysqlclient18 libpam-systemd libpolkit-agent-1-0
  libpolkit-backend-1-0 libpolkit-gobject-1-0 libpython2.7 libpython2.7-dev
  libpython2.7-minimal libpython2.7-stdlib libsqlite3-0 libss2 libssl1.0.0
  libsystemd0 libudev1 libxml2 linux-libc-dev locales mediacenter-addon-osmc
  multiarch-support mysql-common openssl policykit-1 python2.7 python2.7-dev
  python2.7-minimal rbp-bootloader-osmc rbp-userland-osmc rbp2-kernel-osmc
  rbp2-mediacenter-osmc systemd systemd-sysv tar tzdata udev wget
  wpasupplicant
64 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 110 MB of archives.
After this operation, 66.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org/ jessie/updates/main linux-libc-dev armhf 3.16.                               36-1+deb8u2 [1015 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main base-files armhf 8+deb8u6 [69.7                                kB]
Get:3 http://security.debian.org/ jessie/updates/main tar armhf 1.27.1-2+deb8u1                                [651 kB]
Get:4 http://apt.osmc.tv/ jessie/main rbp2-image-4.4.27-2-osmc armhf 2 [18.9 MB]
Get:5 http://ftp.debian.org/debian/ jessie/main libc6-dev armhf 2.19-18+deb8u6 [                               1749 kB]
Get:6 http://security.debian.org/ jessie/updates/main libssl1.0.0 armhf 1.0.1t-1                               +deb8u5 [868 kB]
Get:7 http://security.debian.org/ jessie/updates/main curl armhf 7.38.0-4+deb8u5                                [196 kB]
Get:8 http://security.debian.org/ jessie/updates/main libcurl3 armhf 7.38.0-4+de                               b8u5 [236 kB]
Get:9 http://security.debian.org/ jessie/updates/main libcurl3-gnutls armhf 7.38                               .0-4+deb8u5 [229 kB]
Get:10 http://security.debian.org/ jessie/updates/main mysql-common all 5.5.52-0                               +deb8u1 [80.1 kB]
Get:11 http://security.debian.org/ jessie/updates/main libmysqlclient18 armhf 5.                               5.52-0+deb8u1 [624 kB]
Get:12 http://security.debian.org/ jessie/updates/main bind9-host armhf 1:9.9.5.                               dfsg-9+deb8u8 [66.1 kB]
Get:13 http://security.debian.org/ jessie/updates/main libisc95 armhf 1:9.9.5.df                               sg-9+deb8u8 [153 kB]
Get:14 http://security.debian.org/ jessie/updates/main libdns100 armhf 1:9.9.5.d                               fsg-9+deb8u8 [625 kB]
Get:15 http://security.debian.org/ jessie/updates/main libisccc90 armhf 1:9.9.5.                               dfsg-9+deb8u8 [34.2 kB]
Get:16 http://security.debian.org/ jessie/updates/main libisccfg90 armhf 1:9.9.5                               .dfsg-9+deb8u8 [50.6 kB]
Get:17 http://security.debian.org/ jessie/updates/main libbind9-90 armhf 1:9.9.5                               .dfsg-9+deb8u8 [41.6 kB]
Get:18 http://security.debian.org/ jessie/updates/main liblwres90 armhf 1:9.9.5.                               dfsg-9+deb8u8 [47.8 kB]
Get:19 http://security.debian.org/ jessie/updates/main openssl armhf 1.0.1t-1+de                               b8u5 [659 kB]
Get:20 http://ftp.debian.org/debian/ jessie/main libc-dev-bin armhf 2.19-18+deb8u6 [232 kB]
Get:21 http://ftp.debian.org/debian/ jessie/main libc-bin armhf 2.19-18+deb8u6 [1158 kB]
Get:22 http://ftp.debian.org/debian/ jessie/main libc6 armhf 2.19-18+deb8u6 [3963 kB]
Get:23 http://ftp.debian.org/debian/ jessie/main e2fslibs armhf 1.42.12-2 [174 kB]
Get:24 http://ftp.debian.org/debian/ jessie/main e2fsprogs armhf 1.42.12-2 [735 kB]
Get:25 http://ftp.debian.org/debian/ jessie/main libudev1 armhf 215-17+deb8u5 [52.1 kB]
Get:26 http://ftp.debian.org/debian/ jessie/main udev armhf 215-17+deb8u5 [854 kB]
Get:27 http://ftp.debian.org/debian/ jessie/main libsystemd0 armhf 215-17+deb8u5 [82.0 kB]
Get:28 http://ftp.debian.org/debian/ jessie/main systemd armhf 215-17+deb8u5 [2315 kB]
Get:29 http://ftp.debian.org/debian/ jessie/main systemd-sysv armhf 215-17+deb8u5 [35.6 kB]
Get:30 http://ftp.debian.org/debian/ jessie/main libpam-systemd armhf 215-17+deb8u5 [114 kB]
Get:31 http://ftp.debian.org/debian/ jessie/main libcomerr2 armhf 1.42.12-2 [59.6 kB]
Get:32 http://ftp.debian.org/debian/ jessie/main libss2 armhf 1.42.12-2 [63.1 kB]
Get:33 http://ftp.debian.org/debian/ jessie/main libgcrypt20 armhf 1.6.3-2+deb8u2 [355 kB]
Get:34 http://ftp.debian.org/debian/ jessie/main libidn11 armhf 1.29-1+deb8u2 [133 kB]
Get:35 http://ftp.debian.org/debian/ jessie/main libsqlite3-0 armhf 3.8.7.1-1+deb8u2 [384 kB]
Get:36 http://ftp.debian.org/debian/ jessie/main libxml2 armhf 2.9.1+dfsg1-5+deb8u3 [718 kB]
Get:37 http://ftp.debian.org/debian/ jessie/main fontconfig-config all 2.11.0-6.3+deb8u1 [274 kB]
Get:38 http://ftp.debian.org/debian/ jessie/main libfontconfig1 armhf 2.11.0-6.3+deb8u1 [313 kB]
Get:39 http://ftp.debian.org/debian/ jessie/main libgudev-1.0-0 armhf 215-17+deb8u5 [39.8 kB]
Get:40 http://ftp.debian.org/debian/ jessie/main libpolkit-gobject-1-0 armhf 0.105-15~deb8u2 [38.0 kB]
Get:41 http://ftp.debian.org/debian/ jessie/main libpolkit-agent-1-0 armhf 0.105-15~deb8u2 [21.9 kB]
Get:42 http://ftp.debian.org/debian/ jessie/main libpolkit-backend-1-0 armhf 0.105-15~deb8u2 [40.7 kB]
Get:43 http://ftp.debian.org/debian/ jessie/main python2.7-dev armhf 2.7.9-2+deb8u1 [284 kB]
Get:44 http://ftp.debian.org/debian/ jessie/main libpython2.7-dev armhf 2.7.9-2+deb8u1 [18.0 MB]
Get:45 http://ftp.debian.org/debian/ jessie/main libpython2.7 armhf 2.7.9-2+deb8u1 [949 kB]
Get:46 http://ftp.debian.org/debian/ jessie/main python2.7 armhf 2.7.9-2+deb8u1 [252 kB]
Get:47 http://ftp.debian.org/debian/ jessie/main libpython2.7-stdlib armhf 2.7.9-2+deb8u1 [1805 kB]
Get:48 http://ftp.debian.org/debian/ jessie/main python2.7-minimal armhf 2.7.9-2+deb8u1 [1152 kB]
Get:49 http://ftp.debian.org/debian/ jessie/main libpython2.7-minimal armhf 2.7.9-2+deb8u1 [376 kB]
Get:50 http://ftp.debian.org/debian/ jessie/main gpgv armhf 1.4.18-7+deb8u3 [181 kB]
Get:51 http://ftp.debian.org/debian/ jessie/main gnupg armhf 1.4.18-7+deb8u3 [1086 kB]
Get:52 http://ftp.debian.org/debian/ jessie/main multiarch-support armhf 2.19-18+deb8u6 [180 kB]
Get:53 http://ftp.debian.org/debian/ jessie-updates/main tzdata all 2016h-0+deb8u1 [186 kB]
Get:54 http://ftp.debian.org/debian/ jessie/main wget armhf 1.16-1+deb8u1 [476 kB]
Get:55 http://ftp.debian.org/debian/ jessie/main policykit-1 armhf 0.105-15~deb8u2 [60.8 kB]
Get:56 http://ftp.debian.org/debian/ jessie/main locales all 2.19-18+deb8u6 [3945 kB]
Get:57 http://ftp.debian.org/debian/ jessie/main wpasupplicant armhf 2.3-1+deb8u4 [804 kB]
Get:58 http://apt.osmc.tv/ jessie/main armv7-splash-osmc armhf 1.2.9 [1956 kB]
Get:59 http://apt.osmc.tv/ jessie/main base-files-osmc all 2.0.2 [15.0 kB]
Get:60 http://apt.osmc.tv/ jessie/main rbp-bootloader-osmc armhf 1.6.0-1 [1795 kB]
Get:61 http://apt.osmc.tv/ jessie/main rbp-userland-osmc armhf 1.5.0-1 [1186 kB]
Get:62 http://apt.osmc.tv/ jessie/main rbp2-kernel-osmc armhf 3.0.7 [994 B]
Get:63 http://apt.osmc.tv/ jessie/main mediacenter-addon-osmc all 3.0.621 [5030 kB]
Get:64 http://apt.osmc.tv/ jessie/main armv7-libsqlite-osmc armhf 3.15.0-1 [824 kB]
Get:65 http://apt.osmc.tv/ jessie/main rbp2-mediacenter-osmc armhf 16.1.0-24 [30.7 MB]
Fetched 110 MB in 2min 28s (740 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 33120 files and directories currently installed.)
Preparing to unpack .../base-files_8+deb8u6_armhf.deb ...
Unpacking base-files (8+deb8u6) over (8+deb8u5) ...
Setting up base-files (8+deb8u6) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 33120 files and directories currently installed.)
Preparing to unpack .../libc6-dev_2.19-18+deb8u6_armhf.deb ...
Unpacking libc6-dev:armhf (2.19-18+deb8u6) over (2.19-18+deb8u4) ...
Preparing to unpack .../libc-dev-bin_2.19-18+deb8u6_armhf.deb ...
Unpacking libc-dev-bin (2.19-18+deb8u6) over (2.19-18+deb8u4) ...
Preparing to unpack .../linux-libc-dev_3.16.36-1+deb8u2_armhf.deb ...
Unpacking linux-libc-dev:armhf (3.16.36-1+deb8u2) over (3.16.7-ckt25-2+deb8u3) ...
Preparing to unpack .../libc-bin_2.19-18+deb8u6_armhf.deb ...
Unpacking libc-bin (2.19-18+deb8u6) over (2.19-18+deb8u4) ...
Setting up libc-bin (2.19-18+deb8u6) ...
(Reading database ... 33120 files and directories currently installed.)
Preparing to unpack .../libc6_2.19-18+deb8u6_armhf.deb ...
Unpacking libc6:armhf (2.19-18+deb8u6) over (2.19-18+deb8u4) ...
Setting up libc6:armhf (2.19-18+deb8u6) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
(Reading database ... 33120 files and directories currently installed.)
Preparing to unpack .../e2fslibs_1.42.12-2_armhf.deb ...
Unpacking e2fslibs:armhf (1.42.12-2) over (1.42.12-1.1) ...
Setting up e2fslibs:armhf (1.42.12-2) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
(Reading database ... 33120 files and directories currently installed.)
Preparing to unpack .../e2fsprogs_1.42.12-2_armhf.deb ...
Unpacking e2fsprogs (1.42.12-2) over (1.42.12-1.1) ...
Setting up e2fsprogs (1.42.12-2) ...
(Reading database ... 33120 files and directories currently installed.)
Preparing to unpack .../tar_1.27.1-2+deb8u1_armhf.deb ...
Unpacking tar (1.27.1-2+deb8u1) over (1.27.1-2+b1) ...
Processing triggers for mime-support (3.58) ...
Setting up tar (1.27.1-2+deb8u1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/sbin/rmt-tar because link group rmt is broken
(Reading database ... 33119 files and directories currently installed.)
Preparing to unpack .../libudev1_215-17+deb8u5_armhf.deb ...
Unpacking libudev1:armhf (215-17+deb8u5) over (215-17+deb8u4) ...
Setting up libudev1:armhf (215-17+deb8u5) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
(Reading database ... 33119 files and directories currently installed.)
Preparing to unpack .../udev_215-17+deb8u5_armhf.deb ...
Unpacking udev (215-17+deb8u5) over (215-17+deb8u4) ...
Processing triggers for systemd (215-17+deb8u4) ...
Setting up udev (215-17+deb8u5) ...
addgroup: The group `input' already exists as a system group. Exiting.
(Reading database ... 33119 files and directories currently installed.)
Preparing to unpack .../libsystemd0_215-17+deb8u5_armhf.deb ...
Unpacking libsystemd0:armhf (215-17+deb8u5) over (215-17+deb8u4) ...
Setting up libsystemd0:armhf (215-17+deb8u5) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
(Reading database ... 33119 files and directories currently installed.)
Preparing to unpack .../systemd_215-17+deb8u5_armhf.deb ...
Unpacking systemd (215-17+deb8u5) over (215-17+deb8u4) ...
Processing triggers for dbus (1.8.20-0+deb8u1) ...
Setting up systemd (215-17+deb8u5) ...
addgroup: The group `systemd-journal' already exists as a system group. Exiting.
(Reading database ... 33119 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_215-17+deb8u5_armhf.deb ...
Unpacking systemd-sysv (215-17+deb8u5) over (215-17+deb8u4) ...
Setting up systemd-sysv (215-17+deb8u5) ...
(Reading database ... 33119 files and directories currently installed.)
Preparing to unpack .../libpam-systemd_215-17+deb8u5_armhf.deb ...
Unpacking libpam-systemd:armhf (215-17+deb8u5) over (215-17+deb8u4) ...
Preparing to unpack .../libcomerr2_1.42.12-2_armhf.deb ...
Unpacking libcomerr2:armhf (1.42.12-2) over (1.42.12-1.1) ...
Setting up libcomerr2:armhf (1.42.12-2) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
(Reading database ... 33119 files and directories currently installed.)
Preparing to unpack .../libss2_1.42.12-2_armhf.deb ...
Unpacking libss2:armhf (1.42.12-2) over (1.42.12-1.1) ...
Setting up libss2:armhf (1.42.12-2) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
(Reading database ... 33119 files and directories currently installed.)
Preparing to unpack .../libgcrypt20_1.6.3-2+deb8u2_armhf.deb ...
Unpacking libgcrypt20:armhf (1.6.3-2+deb8u2) over (1.6.3-2+deb8u1) ...
Setting up libgcrypt20:armhf (1.6.3-2+deb8u2) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
(Reading database ... 33119 files and directories currently installed.)
Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u5_armhf.deb ...
Unpacking libssl1.0.0:armhf (1.0.1t-1+deb8u5) over (1.0.1t-1+deb8u2) ...
Preparing to unpack .../libidn11_1.29-1+deb8u2_armhf.deb ...
Unpacking libidn11:armhf (1.29-1+deb8u2) over (1.29-1+deb8u1) ...
Preparing to unpack .../libsqlite3-0_3.8.7.1-1+deb8u2_armhf.deb ...
Unpacking libsqlite3-0:armhf (3.8.7.1-1+deb8u2) over (3.8.7.1-1+deb8u1) ...
Preparing to unpack .../libxml2_2.9.1+dfsg1-5+deb8u3_armhf.deb ...
Unpacking libxml2:armhf (2.9.1+dfsg1-5+deb8u3) over (2.9.1+dfsg1-5+deb8u2) ...
Preparing to unpack .../curl_7.38.0-4+deb8u5_armhf.deb ...
Unpacking curl (7.38.0-4+deb8u5) over (7.38.0-4+deb8u4) ...
Preparing to unpack .../libcurl3_7.38.0-4+deb8u5_armhf.deb ...
Unpacking libcurl3:armhf (7.38.0-4+deb8u5) over (7.38.0-4+deb8u4) ...
Preparing to unpack .../libcurl3-gnutls_7.38.0-4+deb8u5_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.38.0-4+deb8u5) over (7.38.0-4+deb8u4) ...
Preparing to unpack .../fontconfig-config_2.11.0-6.3+deb8u1_all.deb ...
Unpacking fontconfig-config (2.11.0-6.3+deb8u1) over (2.11.0-6.3) ...
Preparing to unpack .../libfontconfig1_2.11.0-6.3+deb8u1_armhf.deb ...
Unpacking libfontconfig1:armhf (2.11.0-6.3+deb8u1) over (2.11.0-6.3) ...
Preparing to unpack .../libgudev-1.0-0_215-17+deb8u5_armhf.deb ...
Unpacking libgudev-1.0-0:armhf (215-17+deb8u5) over (215-17+deb8u4) ...
Preparing to unpack .../mysql-common_5.5.52-0+deb8u1_all.deb ...
Unpacking mysql-common (5.5.52-0+deb8u1) over (5.5.50-0+deb8u1) ...
Preparing to unpack .../libmysqlclient18_5.5.52-0+deb8u1_armhf.deb ...
Unpacking libmysqlclient18:armhf (5.5.52-0+deb8u1) over (5.5.50-0+deb8u1) ...
Preparing to unpack .../libpolkit-gobject-1-0_0.105-15~deb8u2_armhf.deb ...
Unpacking libpolkit-gobject-1-0:armhf (0.105-15~deb8u2) over (0.105-8) ...
Preparing to unpack .../libpolkit-agent-1-0_0.105-15~deb8u2_armhf.deb ...
Unpacking libpolkit-agent-1-0:armhf (0.105-15~deb8u2) over (0.105-8) ...
Preparing to unpack .../libpolkit-backend-1-0_0.105-15~deb8u2_armhf.deb ...
Unpacking libpolkit-backend-1-0:armhf (0.105-15~deb8u2) over (0.105-8) ...
Preparing to unpack .../python2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
Unpacking python2.7-dev (2.7.9-2+deb8u1) over (2.7.9-2) ...
Preparing to unpack .../libpython2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
Unpacking libpython2.7-dev:armhf (2.7.9-2+deb8u1) over (2.7.9-2) ...
Preparing to unpack .../libpython2.7_2.7.9-2+deb8u1_armhf.deb ...
Unpacking libpython2.7:armhf (2.7.9-2+deb8u1) over (2.7.9-2) ...
Preparing to unpack .../python2.7_2.7.9-2+deb8u1_armhf.deb ...
Unpacking python2.7 (2.7.9-2+deb8u1) over (2.7.9-2) ...
Preparing to unpack .../libpython2.7-stdlib_2.7.9-2+deb8u1_armhf.deb ...
Unpacking libpython2.7-stdlib:armhf (2.7.9-2+deb8u1) over (2.7.9-2) ...
Preparing to unpack .../python2.7-minimal_2.7.9-2+deb8u1_armhf.deb ...
Unpacking python2.7-minimal (2.7.9-2+deb8u1) over (2.7.9-2) ...
Preparing to unpack .../libpython2.7-minimal_2.7.9-2+deb8u1_armhf.deb ...
Unpacking libpython2.7-minimal:armhf (2.7.9-2+deb8u1) over (2.7.9-2) ...
Selecting previously unselected package rbp2-image-4.4.27-2-osmc.
Preparing to unpack .../rbp2-image-4.4.27-2-osmc_2_armhf.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/001-preprocess-rbp 4.4.27-2-osmc /boot/vmlinuz-4.4.27-2-osmc
Done.
Unpacking rbp2-image-4.4.27-2-osmc (2) ...
Preparing to unpack .../gpgv_1.4.18-7+deb8u3_armhf.deb ...
Unpacking gpgv (1.4.18-7+deb8u3) over (1.4.18-7+deb8u1) ...
Processing triggers for mime-support (3.58) ...
Setting up gpgv (1.4.18-7+deb8u3) ...
(Reading database ... 34925 files and directories currently installed.)
Preparing to unpack .../gnupg_1.4.18-7+deb8u3_armhf.deb ...
Unpacking gnupg (1.4.18-7+deb8u3) over (1.4.18-7+deb8u1) ...
Setting up gnupg (1.4.18-7+deb8u3) ...
(Reading database ... 34925 files and directories currently installed.)
Preparing to unpack .../multiarch-support_2.19-18+deb8u6_armhf.deb ...
Unpacking multiarch-support (2.19-18+deb8u6) over (2.19-18+deb8u4) ...
Setting up multiarch-support (2.19-18+deb8u6) ...
(Reading database ... 34925 files and directories currently installed.)
Preparing to unpack .../tzdata_2016h-0+deb8u1_all.deb ...
Unpacking tzdata (2016h-0+deb8u1) over (2016f-0+deb8u1) ...
Setting up tzdata (2016h-0+deb8u1) ...

Current default time zone: 'America/Toronto'
Local time is now:      Sat Nov  5 09:38:37 EDT 2016.
Universal Time is now:  Sat Nov  5 13:38:37 UTC 2016.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

(Reading database ... 34928 files and directories currently installed.)
Preparing to unpack .../wget_1.16-1+deb8u1_armhf.deb ...
Unpacking wget (1.16-1+deb8u1) over (1.16-1) ...
Preparing to unpack .../armv7-splash-osmc_1.2.9_armhf.deb ...
Unpacking armv7-splash-osmc (1.2.9) over (1.2.6) ...
Preparing to unpack .../base-files-osmc_2.0.2_all.deb ...
Adding 'diversion of /usr/bin/apt-get to /usr/bin/apt-get-real by base-files-osmc'
Unpacking base-files-osmc (2.0.2) over (1.9.6) ...
Preparing to unpack .../rbp-bootloader-osmc_1.6.0-1_armhf.deb ...
Unpacking rbp-bootloader-osmc (1.6.0-1) over (1.3.0-1) ...
Preparing to unpack .../rbp-userland-osmc_1.5.0-1_armhf.deb ...
Unpacking rbp-userland-osmc (1.5.0-1) over (1.2.0-6) ...
Preparing to unpack .../rbp2-kernel-osmc_3.0.7_armhf.deb ...
Unpacking rbp2-kernel-osmc (3.0.7) over (2.9.6) ...
Preparing to unpack .../policykit-1_0.105-15~deb8u2_armhf.deb ...
Created symlink from /run/systemd/system/polkitd.service to /dev/null.
Unpacking policykit-1 (0.105-15~deb8u2) over (0.105-8) ...
Preparing to unpack .../mediacenter-addon-osmc_3.0.621_all.deb ...
Unpacking mediacenter-addon-osmc (3.0.621) over (3.0.618) ...
Preparing to unpack .../armv7-libsqlite-osmc_3.15.0-1_armhf.deb ...
Unpacking armv7-libsqlite-osmc (3.15.0-1) over (3.9.2.0-3) ...
Preparing to unpack .../rbp2-mediacenter-osmc_16.1.0-24_armhf.deb ...
Unpacking rbp2-mediacenter-osmc (16.1.0-24) over (16.1.0-16) ...
Preparing to unpack .../bind9-host_1%3a9.9.5.dfsg-9+deb8u8_armhf.deb ...
Unpacking bind9-host (1:9.9.5.dfsg-9+deb8u8) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libisc95_1%3a9.9.5.dfsg-9+deb8u8_armhf.deb ...
Unpacking libisc95 (1:9.9.5.dfsg-9+deb8u8) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libdns100_1%3a9.9.5.dfsg-9+deb8u8_armhf.deb ...
Unpacking libdns100 (1:9.9.5.dfsg-9+deb8u8) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libisccc90_1%3a9.9.5.dfsg-9+deb8u8_armhf.deb ...
Unpacking libisccc90 (1:9.9.5.dfsg-9+deb8u8) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libisccfg90_1%3a9.9.5.dfsg-9+deb8u8_armhf.deb ...
Unpacking libisccfg90 (1:9.9.5.dfsg-9+deb8u8) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../libbind9-90_1%3a9.9.5.dfsg-9+deb8u8_armhf.deb ...
Unpacking libbind9-90 (1:9.9.5.dfsg-9+deb8u8) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../liblwres90_1%3a9.9.5.dfsg-9+deb8u8_armhf.deb ...
Unpacking liblwres90 (1:9.9.5.dfsg-9+deb8u8) over (1:9.9.5.dfsg-9+deb8u6) ...
Preparing to unpack .../locales_2.19-18+deb8u6_all.deb ...
Unpacking locales (2.19-18+deb8u6) over (2.19-18+deb8u4) ...
Preparing to unpack .../openssl_1.0.1t-1+deb8u5_armhf.deb ...
Unpacking openssl (1.0.1t-1+deb8u5) over (1.0.1t-1+deb8u2) ...
Preparing to unpack .../wpasupplicant_2.3-1+deb8u4_armhf.deb ...
Unpacking wpasupplicant (2.3-1+deb8u4) over (2.3-1+deb8u3) ...
Processing triggers for dbus (1.8.20-0+deb8u1) ...
Processing triggers for mime-support (3.58) ...
Setting up libc-dev-bin (2.19-18+deb8u6) ...
Setting up linux-libc-dev:armhf (3.16.36-1+deb8u2) ...
Setting up libc6-dev:armhf (2.19-18+deb8u6) ...
Setting up libpam-systemd:armhf (215-17+deb8u5) ...
Setting up libssl1.0.0:armhf (1.0.1t-1+deb8u5) ...
Setting up libidn11:armhf (1.29-1+deb8u2) ...
Setting up libsqlite3-0:armhf (3.8.7.1-1+deb8u2) ...
Setting up libxml2:armhf (2.9.1+dfsg1-5+deb8u3) ...
Setting up libcurl3:armhf (7.38.0-4+deb8u5) ...
Setting up curl (7.38.0-4+deb8u5) ...
Setting up libcurl3-gnutls:armhf (7.38.0-4+deb8u5) ...
Setting up fontconfig-config (2.11.0-6.3+deb8u1) ...
Setting up libfontconfig1:armhf (2.11.0-6.3+deb8u1) ...
Setting up libgudev-1.0-0:armhf (215-17+deb8u5) ...
Setting up mysql-common (5.5.52-0+deb8u1) ...
Setting up libmysqlclient18:armhf (5.5.52-0+deb8u1) ...
Setting up libpolkit-gobject-1-0:armhf (0.105-15~deb8u2) ...
Setting up libpolkit-agent-1-0:armhf (0.105-15~deb8u2) ...
Setting up libpolkit-backend-1-0:armhf (0.105-15~deb8u2) ...
Setting up libpython2.7-minimal:armhf (2.7.9-2+deb8u1) ...
Setting up python2.7-minimal (2.7.9-2+deb8u1) ...
Setting up libpython2.7-stdlib:armhf (2.7.9-2+deb8u1) ...
Setting up python2.7 (2.7.9-2+deb8u1) ...
Setting up libpython2.7:armhf (2.7.9-2+deb8u1) ...
Setting up libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
Setting up python2.7-dev (2.7.9-2+deb8u1) ...
Setting up rbp2-image-4.4.27-2-osmc (2) ...

 Hmm. There is a symbolic link /lib/modules/4.4.27-2-osmc/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.4.27-2-osmc/build


 Hmm. The package shipped with a symbolic link /lib/modules/4.4.27-2-osmc/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.4.27-2-osmc/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.27-2-osmc /boot/vmlinuz-4.4.27-2-osmc
run-parts: executing /etc/kernel/postinst.d/inform-updater 4.4.27-2-osmc /boot/vmlinuz-4.4.27-2-osmc
run-parts: executing /etc/kernel/postinst.d/process-vmlinuz-rbp 4.4.27-2-osmc /boot/vmlinuz-4.4.27-2-osmc
Setting up wget (1.16-1+deb8u1) ...
Setting up armv7-splash-osmc (1.2.9) ...
Setting up base-files-osmc (2.0.2) ...
Setting up rbp-bootloader-osmc (1.6.0-1) ...
Setting up rbp-userland-osmc (1.5.0-1) ...
Setting up rbp2-kernel-osmc (3.0.7) ...
Setting up policykit-1 (0.105-15~deb8u2) ...
Removed symlink /run/systemd/system/polkitd.service.
Setting up mediacenter-addon-osmc (3.0.621) ...
Setting up armv7-libsqlite-osmc (3.15.0-1) ...
Setting up rbp2-mediacenter-osmc (16.1.0-24) ...
Setting up libisc95 (1:9.9.5.dfsg-9+deb8u8) ...
Setting up libdns100 (1:9.9.5.dfsg-9+deb8u8) ...
Setting up libisccc90 (1:9.9.5.dfsg-9+deb8u8) ...
Setting up libisccfg90 (1:9.9.5.dfsg-9+deb8u8) ...
Setting up libbind9-90 (1:9.9.5.dfsg-9+deb8u8) ...
Setting up liblwres90 (1:9.9.5.dfsg-9+deb8u8) ...
Setting up bind9-host (1:9.9.5.dfsg-9+deb8u8) ...
Setting up locales (2.19-18+deb8u6) ...
Generating locales (this might take a while)...
Generation complete.
Setting up openssl (1.0.1t-1+deb8u5) ...
Setting up wpasupplicant (2.3-1+deb8u4) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
osmc@piradio:~$ cat /etc/os-release
PRETTY_NAME="Open Source Media Center"
NAME="OSMC"
VERSION="October 2016"
VERSION_ID="2016.10-2"
ID=osmc
ID_LIKE=debian

ANSI_COLOR="1;31"
HOME_URL="http://www.osmc.tv"
SUPPORT_URL="http://www.osmc.tv"
BUG_REPORT_URL="http://www.osmc.tv"
osmc@piradio:~$ sudo grab-logs -A
/usr/bin/curl: 1: /usr/bin/curl: Syntax error: ")" unexpected
/usr/bin/curl: 1: /usr/bin/curl: Syntax error: ")" unexpected
Exception Details:

Traceback (most recent call last):
  File "/usr/bin/grab-logs", line 636, in dispatch_logs
    raise ValueError('Upload Returned Empty String')
ValueError: Upload Returned Empty String

Failed to upload log files, copying to /boot instead. (Unable to verify)
osmc@piradio:~$ grab-logs -A
/usr/bin/curl: 1: /usr/bin/curl: Syntax error: ")" unexpected
/usr/bin/curl: 1: /usr/bin/curl: Syntax error: ")" unexpected
Exception Details:

Traceback (most recent call last):
  File "/usr/bin/grab-logs", line 636, in dispatch_logs
    raise ValueError('Upload Returned Empty String')
ValueError: Upload Returned Empty String

Failed to upload log files, copying to /boot instead. (Unable to verify)
osmc@piradio:~$

I would assume SD card corrupted

Yes, being unable to connect to http://apt.osmc.tv could also be a symptom of this corruption.

Can you connect to http://apt.osmc.tv via a browser from your pc on the same internet connection?

Yes, I can connect to http://apt.osmc.tv from my PC.

Thanks @ActionA and @fzinken - I will re-image from a previous working state, and go from there.

SD Formatter reported the card was write protected, so I guess that further suggests corruption? (I seem to recall reading that the cards get set to read-only mode when I error is detected? Or was that just for AppleTV?)

Anyways, I am currently using Disk Imager to reinstall a known-good image. Hopefully that completes successfully. I am not too sure, as I was not able to remove the write-protection with SD formatter. I just proceeded to the image anyways, and it seems to be working so far…

1 Like

The card is corrupted. Either a bad card or PSU

A different situation, it’s only one partition, and not the root (ext4).