After the latest update and a restart, my raspberry pi 3b can’t go past the following line: [OK] Started Update UTMP about System Runlevel Changes
I can SSH into it and I can see all other services running normally like SickChill, CouchPotato and NextCloud.
Only mediacenter service is not running. Restarting the service doesn’t help.
systemctl status mediacenter gives following output:
mediacenter.service - media center application
Loaded: loaded (/lib/systemd/system/mediacenter.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2019-11-01 23:15:08 CET; 19s ago
Process: 1648 ExecStopPost=/usr/bin/mediacenter stop (code=exited, status=0/SUCCESS)
Process: 1634 ExecStart=/usr/bin/mediacenter (code=exited, status=2)
Main PID: 1634 (code=exited, status=2)
Nov 01 23:15:08 osmc systemd[1]: Started media center application.
Nov 01 23:15:08 osmc mediacenter[1634]: /usr/bin/mediacenter: line 112: syntax error near unexpected token `(’
Nov 01 23:15:08 osmc mediacenter[1634]: [54B blob data]
Nov 01 23:15:08 osmc systemd[1]: mediacenter.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Nov 01 23:15:08 osmc systemd[1]: mediacenter.service: Unit entered failed state.
Nov 01 23:15:08 osmc systemd[1]: mediacenter.service: Failed with result ‘exit-code’.
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 Index of /debian stretch InRelease
Hit:3 Index of /debian stretch-updates InRelease
Hit:4 Index of /debian stretch Release
Ign:7 Index of /download/repository sarge InRelease
Hit:8 Index of /download/repository sarge Release
Hit:6 Index of /osmc/osmc/apt stretch InRelease
Problem parsing dependency 20
Error occurred while processing libadminutil0 (NewVersion2)
Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_stretch_main_binary-armhf_Packages
The package lists or status file could not be parsed or opened.
Can’t call method “policy” on an undefined value at /usr/bin/apt-show-versions line 56.
Reading package lists… Error!
E: Problem executing scripts APT::Update::Post-Invoke-Success ‘test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i’
E: Sub-process returned an error code
E: Problem parsing dependency 20
E: Error occurred while processing libadminutil0 (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_stretch_main_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
I don’t have a SSH port opened on my router. I’m only forwarding the 443 port for the NexctCloud.
What does this log entry mean?