Update error with unknown package

I just did a fresh install, with a new SD card, and now I am getting “Error installing unknown package” when I try to update.

https://paste.osmc.tv/ilifajezif

EDIT: This is on a Raspberry PI 3b

Fresh install, what was the problem with the previous install?
Could it be that your SD Card is gone?
What was the errors you got on the command line when you installed the below packages?

Start-Date: 2020-02-02  19:24:52
Commandline: /usr/bin/apt-get-real -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 --yes --no-install-recommends install cron dnsutils iputils-ping lsof netcat unzip idn2 sqlite3 dns-root-data resolvconf lighttpd php-common php-cgi php-sqlite3
Requested-By: osmc (1000)
Install: php7.0-cgi:armhf (7.0.33-0+deb9u6, automatic), php7.0-cli:armhf (7.0.33-0+deb9u6, automatic), ifupdown:armhf (0.8.19, automatic), php-common:armhf (1:49), php7.0-opcache:armhf (7.0.33-0+deb9u6, automatic), lsof:armhf (4.89+dfsg-0.1), dnsutils:armhf (1:9.10.3.dfsg.P4-12.3+deb9u5), php7.0-common:armhf (7.0.33-0+deb9u6, automatic), resolvconf:armhf (1.79), php7.0-sqlite3:armhf (7.0.33-0+deb9u6, automatic), php-sqlite3:armhf (1:7.0+49), libmagic1:armhf (1:5.30-1+deb9u3, automatic), lighttpd:armhf (1.4.45-1), sqlite3:armhf (3.16.2-5+deb9u1), php7.0-json:armhf (7.0.33-0+deb9u6, automatic), libmagic-mgc:armhf (1:5.30-1+deb9u3, automatic), php7.0-readline:armhf (7.0.33-0+deb9u6, automatic), php-cgi:armhf (1:7.0+49), libfam0:armhf (2.7.0-17.2+b1, automatic), unzip:armhf (6.0-21+deb9u2), iputils-ping:armhf (3:20161105-1), idn2:armhf (0.16-1+deb9u1), netcat:armhf (1.10-41), dns-root-data:armhf (2019031302~deb9u1), netcat-traditional:armhf (1.10-41+b1, automatic), cron:armhf (3.0pl1-128+deb9u1)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2020-02-02  19:25:23

It told me I needed to run sudo dpkg --configure -a, and after running that, it no longer says an update is available. I guess that fixed it.