Latest update wants to remove OSMC?

This output worried me, so I thought asking here first:

osmc@osmc:~$ sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoclean
Ign http://ftp.debian.org stretch InRelease   
Get:1 http://ftp.debian.org stretch-updates InRelease [91.0 kB]
Get:2 http://security.debian.org stretch/updates InRelease [63.0 kB]
Get:3 http://apt.osmc.tv stretch InRelease [4,667 B]                   
Get:4 http://ftp.debian.org stretch Release.gpg [2,434 B]         
Get:5 http://ftp.debian.org stretch Release [118 kB] 
Get:6 http://security.debian.org stretch/updates/main i386 Packages [266 kB]
Get:7 http://security.debian.org stretch/updates/contrib i386 Packages [1,352 B] 
Get:8 http://ftp.debian.org stretch-updates/contrib i386 Packages [32 B]         
Get:9 http://security.debian.org stretch/updates/non-free i386 Packages [1,268 B]
Get:10 http://ftp.debian.org stretch-updates/non-free i386 Packages [32 B]       
Get:11 http://security.debian.org stretch/updates/contrib Translation-en [1,023 B]
Err http://apt.osmc.tv stretch/main i386 Packages                                
  
Get:12 http://ftp.debian.org stretch-updates/contrib Translation-en [14 B]       
Get:13 http://ftp.debian.org stretch-updates/main Translation-en [3,583 B]       
Get:14 http://ftp.debian.org stretch-updates/non-free Translation-en [14 B]      
Get:15 http://ftp.debian.org stretch-updates/main i386 Packages [5,956 B]        
Get:16 http://security.debian.org stretch/updates/main Translation-en [116 kB]   
Get:17 http://security.debian.org stretch/updates/non-free Translation-en [481 B]
Get:18 http://ftp.debian.org stretch/main i386 Packages [7,103 kB]               
Err http://apt.osmc.tv stretch/main i386 Packages                                
  
Get:19 http://apt.osmc.tv stretch/main i386 Packages [7,342 B]                   
Ign http://apt.osmc.tv stretch/main Translation-en_GB                            
Ign http://apt.osmc.tv stretch/main Translation-en         
Get:20 http://ftp.debian.org stretch/contrib i386 Packages [47.9 kB]             
Get:21 http://ftp.debian.org stretch/non-free i386 Packages [68.9 kB]            
Get:22 http://ftp.debian.org stretch/contrib Translation-en [45.9 kB]            
Get:23 http://ftp.debian.org stretch/main Translation-en [5,393 kB]              
Get:24 http://ftp.debian.org stretch/non-free Translation-en [79.2 kB]           
Fetched 13.4 MB in 28s (477 kB/s)                                                
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  alsa-utils cpp cpp-4.9 cpp-6 fontconfig-config fonts-dejavu-core
  glx-alternative-mesa glx-alternative-nvidia glx-diversions i386-libass-osmc
  i386-libbluray-osmc i386-libcec-osmc i386-libcrossguid-osmc
  i386-libcrystalhd-osmc i386-libnfs-osmc i386-librtmp-osmc
  i386-libshairplay-osmc i386-libsqlite-osmc keyboard-configuration
  libapt-inst1.5 libasound2 libasound2-data libavahi-client3 libbind9-90
  libcdio13 libcloog-isl4 libconfuse-common libcups2 libdbus-1-dev libdns100
  libdpkg-perl libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
  libdrm2 libegl1-mesa libelf1 libenca0 libepoxy0 libevdev2 libfftw3-single3
  libfontconfig1 libfontenc1 libfreetype6 libfribidi0 libgbm1 libgif4
  libgl1-mesa-glx libgl1-nvidia-legacy-304xx-glx libglapi-mesa libglew1.10
  libglu1-mesa libgomp1 libgraphite2-3 libharfbuzz0b libice6 libicu52
  libinput-bin libinput10 libisc95 libisccc90 libisccfg90 libisl10 libisl15
  libjbig0 libjpeg62-turbo liblcms2-2 libldb1 libllvm3.5 libllvm3.9 liblwres90
  liblzo2-2 libmad0 libmicrohttpd10 libmongo-client0 libmpc3 libmpfr4 libmtdev1
  libmysqlclient18 libntdb1 libnvidia-legacy-304xx-glcore libogg0 libpciaccess0
  libpcrecpp0 libperl4-corelibs-perl libpixman-1-0 libplist2 libpng16-16 libpsl0
  libpython2.7 libsamplerate0 libsensors4 libsm6 libsmbclient libssh-4
  libtag1-vanilla libtdb1 libtevent0 libtiff5 libtinyxml2.6.2 libvorbis0a
  libvorbisenc2 libwacom-common libwacom2 libwayland-client0 libwayland-server0
  libwebp5 libwebp6 libwebpdemux1 libwebpdemux2 libwebpmux1 libwebpmux2
  libx11-xcb1 libxatracker2 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
  libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-sync1 libxcb-util0
  libxcb-xfixes0 libxcursor1 libxdamage1 libxfixes3 libxfont1 libxfont2 libxi6
  libxinerama1 libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1
  libxslt1.1 libxss1 libxt6 libxtst6 libxv1 libxvmc1 libxxf86vm1
  mediacenter-addon-osmc mediacenter-eventclients-common-osmc
  mediacenter-send-osmc mediacenter-skin-osmc mysql-common
  nvidia-installer-cleanup nvidia-legacy-304xx-alternative nvidia-support
  nvidia-xconfig pkg-config python-chardet python-dbus-dev python-imaging
  python-pexpect python-pil python-pkg-resources python-ptyprocess
  python-requests python-six python-talloc python-unidecode python-urllib3
  samba-libs update-glx x11-common x11-xkb-utils x11-xserver-utils xfonts-base
  xfonts-encodings xfonts-utils xinit xkb-data xserver-common xserver-xorg
  xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
  xserver-xorg-input-libinput xserver-xorg-input-mouse
  xserver-xorg-input-synaptics xserver-xorg-legacy xserver-xorg-video-all
  xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-cirrus
  xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-mach64
  xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nouveau
  xserver-xorg-video-nvidia-legacy-304xx xserver-xorg-video-openchrome
  xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-savage
  xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb
  xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa
  xserver-xorg-video-vmware
Use 'apt-get autoremove' to remove them.
Done
The following packages will be REMOVED:
  atv-device-osmc atv-mediacenter-osmc diskmount-osmc libconfuse0
  module-init-tools perl-modules udisks-glue xserver-xorg-input-vmmouse
  xserver-xorg-video-modesetting
The following NEW packages will be installed:
  cpp-6 dirmngr gcc-6-base gnupg-agent keyutils libapparmor1 libapt-inst2.0
  libapt-pkg5.0 libassuan0 libatomic1 libbind9-140 libbson-1.0-0 libc-l10n
  libdbus-1-dev libdns162 libdpkg-perl libdrm-amdgpu1 libfdisk1 libfftw3-single3
  libgnutls30 libgomp1 libhogweed4 libicu57 libidn2-0 libinput-bin libinput10
  libip4tc0 libip6tc0 libiptc0 libisc160 libisccc140 libisccfg140 libisl15
  libjson-c3 libksba8 libldap-common libllvm3.9 liblwres141 liblz4-1
  libmagic-mgc libmnl0 libmongoc-1.0-0 libnetfilter-conntrack3 libnettle6
  libnghttp2-14 libnpth0 libntfs-3g871 libnvidia-legacy-304xx-glcore libperl5.24
  libpng16-16 libprocps6 libpsl5 libreadline7 libseccomp2 libsensors4
  libssl1.0.2 libssl1.1 libunistring0 libutempter0 libwacom-common libwacom2
  libwebp6 libwebpdemux2 libwebpmux2 libxfont2 libxinerama1 libxss1 libxtables12
  perl-modules-5.24 pinentry-curses python-ptyprocess syslog-ng-mod-journal
  update-glx xserver-xorg-input-libinput xserver-xorg-legacy
  xserver-xorg-video-amdgpu xxd
The following packages will be upgraded:
  acl adduser alsa-utils apt apt-utils avahi-daemon b43-fwcutter base-files
  base-files-osmc base-passwd bash bind9-host bluez bsdutils busybox bzip2
  ca-certificates ccze cifs-utils coreutils cpp cron curl dash dbus debconf
  debconf-i18n debian-archive-keyring debianutils dialog diffutils dmsetup
  dosfstools dpkg e2fslibs e2fsprogs eject exfat-fuse exfat-utils fbset
  findutils firmware-b43-installer fontconfig-config fonts-dejavu-core fuse
  gir1.2-glib-2.0 glx-alternative-mesa glx-alternative-nvidia glx-diversions
  gnupg gpgv grep gzip haveged hdparm hfsprogs hfsutils hostname init
  init-system-helpers initscripts insserv iptables kbd keyboard-configuration
  kmod less lftp libacl1 libasound2 libasound2-data libatasmart4 libattr1
  libaudit-common libaudit1 libavahi-client3 libavahi-common-data
  libavahi-common3 libavahi-core7 libblkid1 libbsd0 libbz2-1.0 libc-bin libc6
  libcap-ng0 libcap2 libcap2-bin libcdio13 libcloog-isl4 libcomerr2
  libconfuse-common libcryptsetup4 libcups2 libcurl3 libdb5.3 libdbi1
  libdbus-1-3 libdbus-glib-1-2 libdebconfclient0 libdevmapper-event1.02.1
  libdevmapper1.02.1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2
  libedit2 libegl1-mesa libelf1 libenca0 libepoxy0 libevdev2 libevent-2.0-5
  libevtlog0 libexpat1 libffi6 libfontconfig1 libfontenc1 libfreetype6
  libfribidi0 libfuse2 libgbm1 libgcc1 libgcrypt20 libgdbm3 libgeoip1
  libgirepository-1.0-1 libgl1-mesa-glx libgl1-nvidia-legacy-304xx-glx
  libglapi-mesa libglib2.0-0 libglu1-mesa libgmp10 libgpg-error0 libgpm2
  libgraphite2-3 libgssapi-krb5-2 libgudev-1.0-0 libharfbuzz0b libhavege1
  libice6 libidn11 libivykis0 libjbig0 libjpeg62-turbo libk5crypto3 libkeyutils1
  libkmod2 libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 libldb1
  liblocale-gettext-perl liblvm2app2.2 liblzma5 liblzo2-2 libmagic1
  libmongo-client0 libmount1 libmpc3 libmpfr4 libmtdev1 libncurses5 libncursesw5
  libnfsidmap2 libnl-3-200 libnl-genl-3-200 libnspr4 libnss-mdns
  libnss-myhostname libnss3 libntdb1 libopts25 libp11-kit0 libpam-modules
  libpam-modules-bin libpam-runtime libpam-systemd libpam0g libparted2
  libpciaccess0 libpcre3 libpcsclite1 libperl4-corelibs-perl libpixman-1-0
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libpopt0
  libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib
  libqdbm14 librtmp1 libsamplerate0 libsasl2-2 libsasl2-modules-db libselinux1
  libsemanage-common libsemanage1 libsepol1 libsgutils2-2 libslang2 libsm6
  libsmartcols1 libsmbclient libsqlite3-0 libss2 libssh-4 libssh2-1 libstdc++6
  libsystemd0 libtalloc2 libtasn1-6 libtdb1 libtevent0 libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libtiff5 libtinfo5 libtirpc1 libudev1
  libupsclient4 libusb-0.1-4 libusb-1.0-0 libustr-1.0-1 libuuid1 libvorbis0a
  libvorbisenc2 libwayland-client0 libwayland-server0 libwbclient0 libwrap0
  libx11-6 libx11-data libx11-xcb1 libxatracker2 libxaw7 libxcb-dri2-0
  libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shape0
  libxcb-sync1 libxcb-util0 libxcb-xfixes0 libxcb1 libxcursor1 libxdamage1
  libxdmcp6 libxext6 libxfixes3 libxfont1 libxi6 libxkbfile1 libxml2 libxmu6
  libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxslt1.1 libxt6
  libxtst6 libxv1 libxvmc1 libxxf86vm1 libyajl2 locales login logrotate lsb-base
  lsof make mawk mediacenter-addon-osmc mediacenter-eventclients-common-osmc
  mediacenter-send-osmc mediacenter-skin-osmc mime-support mount
  multiarch-support mysql-common nano ncurses-base ncurses-bin net-tools netbase
  nfs-common niceprioritypolicy-osmc ntfs-3g ntp nut nut-client nut-server
  nvidia-installer-cleanup nvidia-legacy-304xx-alternative nvidia-support
  nvidia-xconfig openssh-client openssh-server openssh-sftp-server openssl
  passwd perftune-osmc perl perl-base pkg-config policykit-1 procps psmisc
  python python-apt python-apt-common python-chardet python-dbus python-dbus-dev
  python-gi python-gobject python-gobject-2 python-imaging python-minimal
  python-pexpect python-pil python-pkg-resources python-requests python-six
  python-talloc python-unidecode python-urllib3 python2.7 python2.7-minimal
  readline-common rpcbind rsync samba-common samba-libs sed sensible-utils
  ssh-app-osmc startpar sudo syslog-ng syslog-ng-core syslog-ng-mod-json
  syslog-ng-mod-mongodb syslog-ng-mod-sql systemd systemd-sysv sysv-rc
  sysvinit-utils tar tmux tree tzdata ucf udev usbutils util-linux vim
  vim-common vim-runtime wget wireless-firmware-osmc wpasupplicant x11-common
  x11-xkb-utils x11-xserver-utils xauth xfonts-base xfonts-utils xinit xkb-data
  xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all
  xserver-xorg-input-evdev xserver-xorg-input-mouse xserver-xorg-input-synaptics
  xserver-xorg-video-all xserver-xorg-video-ati xserver-xorg-video-cirrus
  xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-mach64
  xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nouveau
  xserver-xorg-video-nvidia-legacy-304xx xserver-xorg-video-openchrome
  xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-savage
  xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb
  xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa
  xserver-xorg-video-vmware zlib1g
405 upgraded, 77 newly installed, 9 to remove and 0 not upgraded.
Need to get 196 MB of archives.
After this operation, 37.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

If I update all these packages, and atv-device-osmc, atv-mediacenter-osmc, among others are removed, how can I get OSMC back?

Hi,

Unfortunately, there are no longer any further updates for Apple TV. See Saying goodbye to Apple TV - OSMC.

We removed the updater from My OSMC for that reason. By updating via the CLI, you’ve attempted to update to newer OSMC packages which are not supported. You receive the removal messages because we no longer build the i386 binaries, as we no longer have any i386 hardware supported.

Sam

Thanks Sam,

So, if I were to go it alone is there some other alternative, or some documentation I could follow?

There’s not much documentation, but you have all of the OSMC source code on GitHub.
You can also just stay on an older version of OSMC. It won’t stop working, we have just stopped updating it.

I also ran into this issue when I tried to update to Debian Stretch to get the latest package of squeezelite 1.8-4.
I’ve found a work around for it.
When you first time run “sudo apt-get dist-upgrade”
OSMC will update latest jessie package and also update /etc/apt/sources.list as below

deb Index of /debian stretch main contrib non-free
deb Index of /debian stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://apt.osmc.tv stretch main

Just change the last line to

deb http://apt.osmc.tv jessie main

then run

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

you will be able to upgrade to Stretch packages and keep the OSMC package in your system.
Hope this can help someone wants to do the same.

This is not supported however; and you may experience adverse effects from doing this.

I understand this is not a proper way to get things done but end of support for ATV1 leave me very few choice.
This is just a way to get what I need with minimum effort.
I also hope someone can help make a new build of OSMC for ATV1 with latest Debian Stretch. it’s just exceeded my capability.

I suspect Sam refers to landing sooner or later in some dependency hell and library clashes which will break osmc. I guess this can be managed through regular back ups, but its a hassle. For some of us ATV1 is still a useful box for playing music and low(er) definition videos, as well as using Linux to set up a networked log server, back up server, VPN gateway, etc.

However, with Meltdown and Spectre it will need migrating to a later kernel asap.

I am not familiar enough with Debian, especially since its move to systemd. I’m also not up to speed with ATV1’s HFS boot partition and the boot mechanism for OSMC. I was hoping for a ‘how to’ with guidance on installing OSMC. If this was made available I could give it a go at keeping ATV1 running with the latest Debian release and as long as I am using it myself I would of course share the binaries with other users.