Problem with kernel version?

Had an issue upgrading OSMC today on my ATV1, did the usual:

  • ssh-ed in, ran apt-get -f install, apt-get dist-upgrade
  • still had an issue so unmounted boot, fsck, remount rw
  • was able to complete dist-upgrade, but kernel now running is:

osmc@appletv:~$ uname -r

Logs are here:

It looks like maybe a kernel issue? I am not sure so need your expert advice!

Ok I have a little more idea what I’m doing. I have two kernels installed:


I suspect the upgrade was never able to boot, so it was then not able to remove

I really don’t want to have to start from scratch, but I guess that is what it’s coming down too.

Have you had a quick search about the mount rw issue?

Just run sudo apt-get install --reinstall atv-image-4.2.DESIRED-VERSION

and all will be fine

I don’t think I have the rw issue, mount and remount works ok.
But I am getting the famous

E: Sub-process /usr/bin/dpkg returned an error code (1)

message, when I look back through the dpkg history it looks like it happens right after installing remote-client:

Start-Date: 2017-03-05 14:38:50
Commandline: /usr/bin/apt-get-real dist-upgrade
Install: atv-image-4.2.3-22-osmc:i386 (22, automatic)
Upgrade: atv-remoteclient-osmc:i386 (1.0.4, 1.0.6), i386-libbluray-osmc:i386 (0.
9.1-1, 0.9.3-2), atv-mediacenter-osmc:i386 (16.1.0-27, 17.0.0-4), i386-libcec-os
mc:i386 (3.0.1-19, 4.0.2-1), libisccc90:i386 (9.9.5.dfsg-9+deb8u8, 9.9.5.dfsg-9+
deb8u10), i386-libsqlite-osmc:i386 (3.15.0-1, 3.16.0-2), mediacenter-skin-osmc:i
386 (3.1.0-4, 4.4.1-4), libisc95:i386 (9.9.5.dfsg-9+deb8u8, 9.9.5.dfsg-9+deb8u10
), libbind9-90:i386 (9.9.5.dfsg-9+deb8u8, 9.9.5.dfsg-9+deb8u10), libdns100:i386
(9.9.5.dfsg-9+deb8u8, 9.9.5.dfsg-9+deb8u10), locales:i386 (2.19-18+deb8u6, 2.19-
18+deb8u7), mediacenter-addon-osmc:i386 (3.0.624, 3.0.629), i386-network-osmc:i3
86 (1.6.4, 1.6.6), liblwres90:i386 (9.9.5.dfsg-9+deb8u8, 9.9.5.dfsg-9+deb8u10),
openssl:i386 (1.0.1t-1+deb8u5, 1.0.1t-1+deb8u6), libisccfg90:i386 (9.9.5.dfsg-9+
deb8u8, 9.9.5.dfsg-9+deb8u10), atv-kernel-osmc:i386 (3.1.1, 3.1.8), bind9-host:i
386 (9.9.5.dfsg-9+deb8u8, 9.9.5.dfsg-9+deb8u10), i386-libcrossguid-osmc:i386 (1.
0.0-2, 1.0.0-3), base-files-osmc:i386 (2.0.4, 2.0.7), ca-certificates:i386 (2014
1019+deb8u1, 20141019+deb8u2), perftune-osmc:i386 (1.2.0, 1.2.1)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2017-03-05 14:46:43

Any ideas?

btw I tried this and no luck.

I decided to try a fresh install to hdd – thanks anyway for your patience Sam!