OSMC used to work well on my raspberry pi2. Then the “sudo apt update && sudo apt upgrade” command couldn’t be finished without errors. So OSMC is still working but I am not able to update the system.
How can I fix this issue so that I am able to update that machine?
I pasted the output of apt upgrade below. You can find all logs here: https://paste.osmc.tv/jicewogave
Thanks for your help!
$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: rbp2-image-4.9.29-10-osmc The following packages have been kept back: rbp2-device-osmc The following packages will be upgraded: armv7-libsqlite-osmc armv7-network-osmc armv7-splash-osmc base-files-osmc bind9-host curl git git-man gnupg gpgv libavcodec56 libavfilter5 libavformat56 libavresample2 libavutil54 libbind9-90 libcurl3 libcurl3-gnutls libdns100 libisc95 libisccc90 libisccfg90 liblwres90 libmysqlclient18 libsmbclient libswscale3 libwbclient0 libxml2 linux-libc-dev mediacenter-addon-osmc mysql-common perl perl-base perl-modules rbp-bootloader-osmc rbp-userland-osmc rbp2-kernel-osmc rbp2-mediacenter-osmc samba-common samba-libs tzdata wget wpasupplicant 43 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/95.1 MB of archives. After this operation, 68.4 MB of additional disk space will be used. Do you want to continue? [Y/n] Extracting templates from packages: 100% Preconfiguring packages ... dpkg: error processing archive /var/cache/apt/archives/perl_5.20.2-3+deb8u9_armhf.deb (--unpack): subprocess dpkg-deb --control was killed by signal (Segmentation fault) dpkg: error processing archive /var/cache/apt/archives/perl-base_5.20.2-3+deb8u9_armhf.deb (--unpack): subprocess dpkg-deb --control was killed by signal (Segmentation fault) Errors were encountered while processing: /var/cache/apt/archives/perl_5.20.2-3+deb8u9_armhf.deb /var/cache/apt/archives/perl-base_5.20.2-3+deb8u9_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1)