On Raspbian Lite I'm trying to run apt-get upgrade but running into following issue:
Setting up libssl1.0.2:armhf (1.0.2r-1~deb9u1) ...
dpkg: error processing package libssl1.0.2:armhf (--configure):
subprocess installed post-installation script was killed by signal (Illegal instruction)
So I tried reconfiguring but that also fails.
pi@raspberrypi:~ $ sudo dpkg --configure -a
Setting up libssl1.0.2:armhf (1.0.2r-1~deb9u1) ...
dpkg: error processing package libssl1.0.2:armhf (--configure):
subprocess installed post-installation script was killed by signal (Illegal instruction)
I tried running apt-get update, clean, reconfigure in a few combinations but always end up with the same issue. So I started suspecting it's the sources - but they look clean.
pi@raspberrypi:/ $ cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
Any suggestion what else to check are welcome. This is PI 2B+
/etc/apt/sources.list.d/
. https://manpages.debian.org/stretch/apt/sources.list.5.en.html – Roger Jones Mar 14 '19 at 12:07