No image output after "sudo apt-get upgrade"

Hello!
I have installed OSMC to HDD and ran “sudo apt-get update” and “sudo apt-get upgrade” commands via SSH to upgrade all packages to the latest versions. Then I had seen a prompt screen saying that new version of NVidia display driver doesn’t match kernel version or something like that and that this issue will be solved after reboot. But when I had rebooted ATV, there was no image output to TV via HDMI, though I could connect via SSH. There was no issues with “sudo apt-get upgrade” on Crytalbuntu 2 and previous USB-only version of OSMC. Maybe, some packages in latest OSMC release should be marked as non upgradable, so the users can safely run “sudo apt-get upgrade” command?

Don’t use sudo apt-get upgrade, only use sudo apt-get dist-upgrade.

I think the preferred option is to use the dist-upgrade command rather than a straight upgrade command. I believe this will stop me you getting packages that are too new. If you can still SSH in I think you should be able to undo the upgrade or simply downgrade the problematic package.

I have just reinstalled OSMC from scratch and run “sudo apt-get dist-upgrade” instead of “sudo apt-get upgrade” and get the same result.
Below is the console log:

osmc@osmc:~$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages will be upgraded:
apt apt-utils base-files bind9-host ca-certificates dpkg exfat-fuse exfat-utils fuse libapt-inst1.5 libapt-pkg4.12 libbind9-90 libc-bin libc6 libdns100 libfuse2
libgl1-nvidia-legacy-304xx-glx libgudev-1.0-0 libisc95 libisccc90 libisccfg90 libldap-2.4-2 liblwres90 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
libpam0g libpcre3 libpcrecpp0 libssh-4 libsystemd0 libudev1 locales login multiarch-support nvidia-legacy-304xx-alternative passwd systemd systemd-sysv tzdata udev
xserver-xorg-video-nvidia-legacy-304xx
43 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.6 MB of archives.
After this operation, 152 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org/ jessie/updates/main fuse i386 2.9.3-15+deb8u2 [70.9 kB]
Get:2 Index of /debian jessie/main base-files i386 8+deb8u3 [69.6 kB]
Get:3 http://security.debian.org/ jessie/updates/main libfuse2 i386 2.9.3-15+deb8u2 [144 kB]
Get:4 Index of /debian jessie/main dpkg i386 1.17.26 [3015 kB]
Get:5 http://security.debian.org/ jessie/updates/main bind9-host i386 1:9.9.5.dfsg-9+deb8u5 [71.9 kB]
Get:6 http://security.debian.org/ jessie/updates/main libisc95 i386 1:9.9.5.dfsg-9+deb8u5 [177 kB]
Get:7 http://security.debian.org/ jessie/updates/main libdns100 i386 1:9.9.5.dfsg-9+deb8u5 [733 kB]
Get:8 http://security.debian.org/ jessie/updates/main libisccc90 i386 1:9.9.5.dfsg-9+deb8u5 [37.1 kB]
Get:9 http://security.debian.org/ jessie/updates/main libisccfg90 i386 1:9.9.5.dfsg-9+deb8u5 [57.1 kB]
Get:10 http://security.debian.org/ jessie/updates/main libbind9-90 i386 1:9.9.5.dfsg-9+deb8u5 [45.1 kB]
Get:11 http://security.debian.org/ jessie/updates/main liblwres90 i386 1:9.9.5.dfsg-9+deb8u5 [54.5 kB]
Get:12 Index of /debian jessie/main login i386 1:4.2-3+deb8u1 [723 kB]
Get:13 Index of /debian jessie/main libc-bin i386 2.19-18+deb8u2 [1225 kB]
Get:14 Index of /debian jessie/main libc6 i386 2.19-18+deb8u2 [3980 kB]
Get:15 Index of /debian jessie/main libapt-pkg4.12 i386 1.0.9.8.2 [799 kB]
Get:16 Index of /debian jessie/main apt i386 1.0.9.8.2 [1110 kB]
Get:17 Index of /debian jessie/main libudev1 i386 215-17+deb8u3 [58.7 kB]
Get:18 Index of /debian jessie/main udev i386 215-17+deb8u3 [880 kB]
Get:19 Index of /debian jessie/main libsystemd0 i386 215-17+deb8u3 [95.6 kB]
Get:20 Index of /debian jessie/main systemd i386 215-17+deb8u3 [2569 kB]
Get:21 Index of /debian jessie/main systemd-sysv i386 215-17+deb8u3 [34.8 kB]
Get:22 Index of /debian jessie/main libpam-systemd i386 215-17+deb8u3 [130 kB]
Get:23 Index of /debian jessie/main libpam0g i386 1.1.8-3.1+deb8u1 [128 kB]
Get:24 Index of /debian jessie/main libpam-modules-bin i386 1.1.8-3.1+deb8u1 [105 kB]
Get:25 Index of /debian jessie/main libpam-modules i386 1.1.8-3.1+deb8u1 [316 kB]
Get:26 Index of /debian jessie/main libpam-runtime all 1.1.8-3.1+deb8u1 [213 kB]
Get:27 Index of /debian jessie/main libpcre3 i386 2:8.35-3.3+deb8u2 [320 kB]
Get:28 Index of /debian jessie/main libapt-inst1.5 i386 1.0.9.8.2 [170 kB]
Get:29 Index of /debian jessie/main libldap-2.4-2 i386 2.4.40+dfsg-1+deb8u2 [228 kB]
Get:30 Index of /debian jessie/non-free xserver-xorg-video-nvidia-legacy-304xx i386 304.131-1 [2266 kB]
Get:31 Index of /debian jessie/non-free nvidia-legacy-304xx-alternative i386 304.131-1 [103 kB]
Get:32 Index of /debian jessie/non-free libgl1-nvidia-legacy-304xx-glx i386 304.131-1 [6417 kB]
Get:33 Index of /debian jessie/main libgudev-1.0-0 i386 215-17+deb8u3 [41.1 kB]
Get:34 Index of /debian jessie/main libpcrecpp0 i386 2:8.35-3.3+deb8u2 [142 kB]
Get:35 Index of /debian jessie/main libssh-4 i386 0.6.3-4+deb8u1 [143 kB]
Get:36 Index of /debian jessie/main multiarch-support i386 2.19-18+deb8u2 [179 kB]
Get:37 Index of /debian jessie/main passwd i386 1:4.2-3+deb8u1 [973 kB]
Get:38 Index of /debian jessie/main tzdata all 2015g-0+deb8u1 [184 kB]
Get:39 Index of /debian jessie/main apt-utils i386 1.0.9.8.2 [371 kB]
Get:40 Index of /debian jessie/main locales all 2.19-18+deb8u2 [3954 kB]
Get:41 Index of /debian jessie/main ca-certificates all 20141019+deb8u1 [204 kB]
Get:42 Index of /debian jessie/main exfat-fuse i386 1.1.0-2+deb8u1 [32.7 kB]
Get:43 Index of /debian jessie/main exfat-utils i386 1.1.0-2+deb8u1 [50.7 kB]
Fetched 32.6 MB in 31s (1024 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/base-files_8+deb8u3_i386.deb …
Unpacking base-files (8+deb8u3) over (8+deb8u2) …
Setting up base-files (8+deb8u3) …
Installing new version of config file /etc/debian_version …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/archives/dpkg_1.17.26_i386.deb …
Unpacking dpkg (1.17.26) over (1.17.25) …
Setting up dpkg (1.17.26) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/login_1%3a4.2-3+deb8u1_i386.deb …
Unpacking login (1:4.2-3+deb8u1) over (1:4.2-3) …
Setting up login (1:4.2-3+deb8u1) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libc-bin_2.19-18+deb8u2_i386.deb …
Unpacking libc-bin (2.19-18+deb8u2) over (2.19-18+deb8u1) …
Setting up libc-bin (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libc6_2.19-18+deb8u2_i386.deb …
Unpacking libc6:i386 (2.19-18+deb8u2) over (2.19-18+deb8u1) …
Setting up libc6:i386 (2.19-18+deb8u2) …
Processing triggers for libc-bin (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libapt-pkg4.12_1.0.9.8.2_i386.deb …
Unpacking libapt-pkg4.12:i386 (1.0.9.8.2) over (1.0.9.8.1) …
Setting up libapt-pkg4.12:i386 (1.0.9.8.2) …
Processing triggers for libc-bin (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/apt_1.0.9.8.2_i386.deb …
Unpacking apt (1.0.9.8.2) over (1.0.9.8.1) …
Setting up apt (1.0.9.8.2) …
Processing triggers for libc-bin (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libudev1_215-17+deb8u3_i386.deb …
Unpacking libudev1:i386 (215-17+deb8u3) over (215-17+deb8u2) …
Setting up libudev1:i386 (215-17+deb8u3) …
Processing triggers for libc-bin (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/udev_215-17+deb8u3_i386.deb …
Unpacking udev (215-17+deb8u3) over (215-17+deb8u2) …
Processing triggers for systemd (215-17+deb8u2) …
Setting up udev (215-17+deb8u3) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libsystemd0_215-17+deb8u3_i386.deb …
Unpacking libsystemd0:i386 (215-17+deb8u3) over (215-17+deb8u2) …
Setting up libsystemd0:i386 (215-17+deb8u3) …
Processing triggers for libc-bin (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/systemd_215-17+deb8u3_i386.deb …
Unpacking systemd (215-17+deb8u3) over (215-17+deb8u2) …
Processing triggers for dbus (1.8.20-0+deb8u1) …
Setting up systemd (215-17+deb8u3) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/systemd-sysv_215-17+deb8u3_i386.deb …
Unpacking systemd-sysv (215-17+deb8u3) over (215-17+deb8u2) …
Setting up systemd-sysv (215-17+deb8u3) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libpam-systemd_215-17+deb8u3_i386.deb …
Unpacking libpam-systemd:i386 (215-17+deb8u3) over (215-17+deb8u2) …
Preparing to unpack …/libpam0g_1.1.8-3.1+deb8u1_i386.deb …
Unpacking libpam0g:i386 (1.1.8-3.1+deb8u1) over (1.1.8-3.1) …
Setting up libpam0g:i386 (1.1.8-3.1+deb8u1) …
Processing triggers for libc-bin (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libpam-modules-bin_1.1.8-3.1+deb8u1_i386.deb …
Unpacking libpam-modules-bin (1.1.8-3.1+deb8u1) over (1.1.8-3.1) …
Setting up libpam-modules-bin (1.1.8-3.1+deb8u1) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libpam-modules_1.1.8-3.1+deb8u1_i386.deb …
Unpacking libpam-modules:i386 (1.1.8-3.1+deb8u1) over (1.1.8-3.1) …
Setting up libpam-modules:i386 (1.1.8-3.1+deb8u1) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libpam-runtime_1.1.8-3.1+deb8u1_all.deb …
Unpacking libpam-runtime (1.1.8-3.1+deb8u1) over (1.1.8-3.1) …
Setting up libpam-runtime (1.1.8-3.1+deb8u1) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libpcre3_2%3a8.35-3.3+deb8u2_i386.deb …
Unpacking libpcre3:i386 (2:8.35-3.3+deb8u2) over (2:8.35-3.3) …
Setting up libpcre3:i386 (2:8.35-3.3+deb8u2) …
Processing triggers for libc-bin (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/libapt-inst1.5_1.0.9.8.2_i386.deb …
Unpacking libapt-inst1.5:i386 (1.0.9.8.2) over (1.0.9.8.1) …
Preparing to unpack …/libldap-2.4-2_2.4.40+dfsg-1+deb8u2_i386.deb …
Unpacking libldap-2.4-2:i386 (2.4.40+dfsg-1+deb8u2) over (2.4.40+dfsg-1+deb8u1) …
Preparing to unpack …/fuse_2.9.3-15+deb8u2_i386.deb …
Unpacking fuse (2.9.3-15+deb8u2) over (2.9.3-15+deb8u1) …
Preparing to unpack …/libfuse2_2.9.3-15+deb8u2_i386.deb …
Unpacking libfuse2:i386 (2.9.3-15+deb8u2) over (2.9.3-15+deb8u1) …
Preparing to unpack …/xserver-xorg-video-nvidia-legacy-304xx_304.131-1_i386.deb …
Unpacking xserver-xorg-video-nvidia-legacy-304xx (304.131-1) over (304.125-1) …
Preparing to unpack …/nvidia-legacy-304xx-alternative_304.131-1_i386.deb …
Unpacking nvidia-legacy-304xx-alternative (304.131-1) over (304.125-1) …
Preparing to unpack …/libgl1-nvidia-legacy-304xx-glx_304.131-1_i386.deb …
Unpacking libgl1-nvidia-legacy-304xx-glx:i386 (304.131-1) over (304.125-1) …
Preparing to unpack …/libgudev-1.0-0_215-17+deb8u3_i386.deb …
Unpacking libgudev-1.0-0:i386 (215-17+deb8u3) over (215-17+deb8u2) …
Preparing to unpack …/libpcrecpp0_2%3a8.35-3.3+deb8u2_i386.deb …
Unpacking libpcrecpp0:i386 (2:8.35-3.3+deb8u2) over (2:8.35-3.3) …
Preparing to unpack …/libssh-4_0.6.3-4+deb8u1_i386.deb …
Unpacking libssh-4:i386 (0.6.3-4+deb8u1) over (0.6.3-4) …
Preparing to unpack …/multiarch-support_2.19-18+deb8u2_i386.deb …
Unpacking multiarch-support (2.19-18+deb8u2) over (2.19-18+deb8u1) …
Processing triggers for mime-support (3.58) …
Setting up multiarch-support (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/passwd_1%3a4.2-3+deb8u1_i386.deb …
Unpacking passwd (1:4.2-3+deb8u1) over (1:4.2-3) …
Setting up passwd (1:4.2-3+deb8u1) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/tzdata_2015g-0+deb8u1_all.deb …
Unpacking tzdata (2015g-0+deb8u1) over (2015f-0+deb8u1) …
Setting up tzdata (2015g-0+deb8u1) …

Current default time zone: ‘Europe/Kiev’
Local time is now: Sun Jan 24 17:47:20 EET 2016.
Universal Time is now: Sun Jan 24 15:47:20 UTC 2016.
Run ‘dpkg-reconfigure tzdata’ if you wish to change it.

(Reading database … 25988 files and directories currently installed.)
Preparing to unpack …/apt-utils_1.0.9.8.2_i386.deb …
Unpacking apt-utils (1.0.9.8.2) over (1.0.9.8.1) …
Preparing to unpack …/bind9-host_1%3a9.9.5.dfsg-9+deb8u5_i386.deb …
Unpacking bind9-host (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) …
Preparing to unpack …/libisc95_1%3a9.9.5.dfsg-9+deb8u5_i386.deb …
Unpacking libisc95 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) …
Preparing to unpack …/libdns100_1%3a9.9.5.dfsg-9+deb8u5_i386.deb …
Unpacking libdns100 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) …
Preparing to unpack …/libisccc90_1%3a9.9.5.dfsg-9+deb8u5_i386.deb …
Unpacking libisccc90 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) …
Preparing to unpack …/libisccfg90_1%3a9.9.5.dfsg-9+deb8u5_i386.deb …
Unpacking libisccfg90 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) …
Preparing to unpack …/libbind9-90_1%3a9.9.5.dfsg-9+deb8u5_i386.deb …
Unpacking libbind9-90 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) …
Preparing to unpack …/liblwres90_1%3a9.9.5.dfsg-9+deb8u5_i386.deb …
Unpacking liblwres90 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) …
Preparing to unpack …/locales_2.19-18+deb8u2_all.deb …
Unpacking locales (2.19-18+deb8u2) over (2.19-18+deb8u1) …
Preparing to unpack …/ca-certificates_20141019+deb8u1_all.deb …
Unpacking ca-certificates (20141019+deb8u1) over (20141019) …
Preparing to unpack …/exfat-fuse_1.1.0-2+deb8u1_i386.deb …
Unpacking exfat-fuse (1.1.0-2+deb8u1) over (1.1.0-2) …
Preparing to unpack …/exfat-utils_1.1.0-2+deb8u1_i386.deb …
Unpacking exfat-utils (1.1.0-2+deb8u1) over (1.1.0-2) …
Setting up libpam-systemd:i386 (215-17+deb8u3) …
Setting up libapt-inst1.5:i386 (1.0.9.8.2) …
Setting up libldap-2.4-2:i386 (2.4.40+dfsg-1+deb8u2) …
Setting up libfuse2:i386 (2.9.3-15+deb8u2) …
Setting up fuse (2.9.3-15+deb8u2) …
Setting up nvidia-legacy-304xx-alternative (304.131-1) …
Setting up libgudev-1.0-0:i386 (215-17+deb8u3) …
Setting up libpcrecpp0:i386 (2:8.35-3.3+deb8u2) …
Setting up libssh-4:i386 (0.6.3-4+deb8u1) …
Setting up apt-utils (1.0.9.8.2) …
Setting up libisc95 (1:9.9.5.dfsg-9+deb8u5) …
Setting up libdns100 (1:9.9.5.dfsg-9+deb8u5) …
Setting up libisccc90 (1:9.9.5.dfsg-9+deb8u5) …
Setting up libisccfg90 (1:9.9.5.dfsg-9+deb8u5) …
Setting up libbind9-90 (1:9.9.5.dfsg-9+deb8u5) …
Setting up liblwres90 (1:9.9.5.dfsg-9+deb8u5) …
Setting up bind9-host (1:9.9.5.dfsg-9+deb8u5) …
Setting up locales (2.19-18+deb8u2) …
Generating locales (this might take a while)…
Generation complete.
Setting up ca-certificates (20141019+deb8u1) …
Setting up exfat-fuse (1.1.0-2+deb8u1) …
Setting up exfat-utils (1.1.0-2+deb8u1) …
Processing triggers for nvidia-legacy-304xx-alternative (304.131-1) …
Processing triggers for glx-alternative-nvidia (0.5.1) …
Setting up libgl1-nvidia-legacy-304xx-glx:i386 (304.131-1) …

Progress: [ 98%] [#########################################################################################################################################################…]
Package configuration
qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqConfiguring libgl1-nvidia-legacy-304xx-glx:i386qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Mismatching nvidia kernel module loaded x
x x
x The NVIDIA driver that is being installed (version 304.131) does not match the nvidia kernel module currently loaded (version 304.125). x
x x
x The X server, OpenGL, and GPGPU applications may not work properly. x
x x
x The easiest way to fix this is to reboot the machine once the installation has finished. You can also stop the X server (usually by stopping the login manager, e.g. x
x gdm3, kdm, or xdm), manually unload the module (“rmmod nvidia”), and restart the X server. x
x x
x x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
x < OK > x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Setting up xserver-xorg-video-nvidia-legacy-304xx (304.131-1) …

Processing triggers for libc-bin (2.19-18+deb8u2) …
Processing triggers for ca-certificates (20141019+deb8u1) …
Updating certificates in /etc/ssl/certs… 19 added, 18 removed; done.
Running hooks in /etc/ca-certificates/update.d…done.
osmc@osmc:~$

This was a fresh install?
So no custom packages installed by yourself?

Yes, this was a fresh install. The only thing I did, is install updates via OSMC GUI.

Maybe someone with more ATV knowledge should have a look at this, for me it’s kinda weird to have x11 or xorg packages in OSMC, but I’m used to a RPi :grin:

Debian bumped legacy libraries.

I’ll look at this soon.

I faced the same problem yesterday evening.
I have a USB install and used the OSMC embedded update function. The system stucked during the update with the same message (NVIDIA driver error) on the screen and never started again.

Debian updated their NVIDIA libraries and this caused a mismatch with the kernel module which we have customised and ship in OSMC.

I rebased the new module changes today and have made a new kernel available which will resolve this issue for you. Please execute the following commands via an SSH session:

sudo apt-get update
sudo apt-get dist-upgrade
sudo reboot

Apologies for the inconvenience

Sam

I have just reinstalled OSMC from scratch, again, and after I used the OSMC embedded update function the screen goes off. Then, as Sam proposed, I have run “sudo apt-get update” and “sudo apt-get dist-upgrade” via SSH and get an error:

osmc@osmc:~$ 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 [136 kB]
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie Release
Hit http://apt.osmc.tv jessie InRelease
Get:3 http://security.debian.org jessie/updates/main i386 Packages [199 kB]
Get:4 http://security.debian.org jessie/updates/contrib i386 Packages [2526 B]
Get:5 http://ftp.debian.org jessie-updates/main i386 Packages/DiffIndex [367 B]
Get:6 http://security.debian.org jessie/updates/non-free i386 Packages [14 B]
Get:7 http://security.debian.org jessie/updates/contrib Translation-en [1211 B]
Get:8 http://ftp.debian.org jessie-updates/contrib i386 Packages [32 B]
Get:9 http://ftp.debian.org jessie-updates/non-free i386 Packages [32 B]
Get:10 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
Get:11 http://ftp.debian.org jessie-updates/main Translation-en [2506 B]
Get:12 http://ftp.debian.org jessie-updates/non-free Translation-en [14 B]
Get:13 http://security.debian.org jessie/updates/main Translation-en [107 kB]
Hit http://ftp.debian.org jessie/main i386 Packages
Hit http://ftp.debian.org jessie/contrib i386 Packages
Hit http://ftp.debian.org jessie/non-free i386 Packages
Hit http://ftp.debian.org jessie/contrib Translation-en
Get:14 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Hit http://ftp.debian.org jessie/main Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Get:15 http://apt.osmc.tv jessie/main i386 Packages/DiffIndex [1195 B]
Ign http://apt.osmc.tv jessie/main Translation-en
Fetched 513 kB in 13s (39.1 kB/s)
Reading package lists… Done
osmc@osmc:~$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… The following package was automatically installed and is no longer required:
atv-image-4.2.3-6-osmc
Use ‘apt-get autoremove’ to remove it.
Done
The following NEW packages will be installed:
atv-image-4.2.3-7-osmc
The following packages will be upgraded:
apt-utils atv-kernel-osmc atv-userland-osmc bind9-host ca-certificates curl
exfat-fuse exfat-utils libbind9-90 libcurl3 libdns100 libisc95 libisccc90
libisccfg90 liblwres90 locales passwd tzdata
18 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 481 kB/22.7 MB of archives.
After this operation, 42.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Abort.
osmc@osmc:~$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… The following package was automatically installed and is no longer required:
atv-image-4.2.3-6-osmc
Use ‘apt-get autoremove’ to remove it.
Done
The following NEW packages will be installed:
atv-image-4.2.3-7-osmc
The following packages will be upgraded:
apt-utils atv-kernel-osmc atv-userland-osmc bind9-host ca-certificates curl
exfat-fuse exfat-utils libbind9-90 libcurl3 libdns100 libisc95 libisccc90
libisccfg90 liblwres90 locales passwd tzdata
18 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
12 not fully installed or removed.
Need to get 481 kB/22.7 MB of archives.
After this operation, 42.9 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 curl i386 7.38.0-4+deb8u3 [202 kB]
Get:2 http://security.debian.org/ jessie/updates/main libcurl3 i386 7.38.0-4+deb8u3 [279 kB]
Fetched 481 kB in 0s (1177 kB/s)
Preconfiguring packages …
Setting up multiarch-support (2.19-18+deb8u2) …
(Reading database … 25985 files and directories currently installed.)
Preparing to unpack …/atv-image-4.2.3-7-osmc_7_i386.deb …
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/001-preprocess-atv 4.2.3-7-osmc /boot/vmlinuz-4.2.3-7-osmc
Done.
Unpacking atv-image-4.2.3-7-osmc (7) …
dpkg: error processing archive /var/cache/apt/archives/atv-image-4.2.3-7-osmc_7_i386.deb (–unpack):
unable to clean up mess surrounding `./boot/config-4.2.3-7-osmc’ before installing another version: Read-only file system
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
Preparing to unpack …/curl_7.38.0-4+deb8u3_i386.deb …
Unpacking curl (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) …
Preparing to unpack …/libcurl3_7.38.0-4+deb8u3_i386.deb …
Unpacking libcurl3:i386 (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) …
Preparing to unpack …/passwd_1%3a4.2-3+deb8u1_i386.deb …
Unpacking passwd (1:4.2-3+deb8u1) over (1:4.2-3) …
Errors were encountered while processing:
/var/cache/apt/archives/atv-image-4.2.3-7-osmc_7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
osmc@osmc:~$

Please help to resolve this issue.

You haven’t run the complete set of commands – can you copy the ones I put above?

If you’re uncomfortable with these changes I’d advise just waiting for the January image to become available

Sam

Sam, I have run all commands that you proposed. The command “sudo reboot” isn’t in console log because I have run it after I saved it. After reboot I still have no image on TV.

I only see the output of apt-get update and apt-get dist-upgrade up there.

I’d recommend you wait for the January update and reinstall then.

Sam

Sam, I have executed all three commands and there was no output after “sudo reboot”, because the terminal session ended right away after this command.

@Lamoboy - I had exactly the same problem as you and followed the instructions here and got to the same point. After that I tried the solution sam posted in the other thread. Now everything went back to normal.
You should give it a try.

@joeben, thank you! Now I have an image of sad emoticon on TV. Below is my console log:
http://paste.osmc.io/uwujevoher.coffee

This solved my problem, thanks Sam.