Error installing ssh-app-osmc

I get this error trying to uninstall tvheadend. any thoughts?

Yes, I think that logs would be useful.

1 Like

log file hastebin

You have provided a Kodi log that gives no information about updates.

The simplest thing would be for you to run grab-logs -A from the command line and telll us the URL it returns.

1 Like

OK here it is.

https://paste.osmc.tv/ibefimehoj

thanks for your help.

It looks like you tried to remove ssh-app-osmc way back (probably in 2017 or early 2018) and it failed. The system has been trying to remove it ever since and always failing for the same reason.

Unless you have a good reason to remove it, why not reinstall it?

sudo apt-get install --reinstall ssh-app-osmc
1 Like

It’s intentional that a user can’t remoce this package. We depend on it in base-files-app-osmc

Sam

Thanks I reinstalled and was then able to install TVheadend but I still get an error htsp server not responding properly. I also can not access the tvheadend web interface.

new log file here. https://paste.osmc.tv/oqarayirip

I don’t know what’s happening but your log is showing multiple issues:

1 tvheadend keeps aborting/crashing and restarting

May 12 14:10:37 osmc tvheadend[4593]: config: backup: completed
May 12 14:10:37 osmc tvheadend[4593]: config: loaded
May 12 14:10:37 osmc tvheadend[4593]: config: scanfile (re)initialization with path <none>
May 12 14:10:37 osmc systemd[1]: tvheadend.service: Main process exited, code=killed, status=6/ABRT
May 12 14:10:37 osmc systemd[1]: tvheadend.service: Unit entered failed state.
May 12 14:10:37 osmc systemd[1]: tvheadend.service: Failed with result 'signal'.

2 Your log is being spammed by what might be related messages.

In the system journal:

May 12 13:11:04 osmc mediacenter[388]: [2.0K blob data]
May 12 13:11:06 osmc mediacenter[388]: [2.0K blob data]
May 12 13:11:08 osmc mediacenter[388]: [2.0K blob data]
May 12 13:11:10 osmc mediacenter[388]: [2.0K blob data]

and in the Kodi log:

14:04:59.688 T:1769992960   ERROR: CecLogMessage - could not start CEC communications
14:05:09.688 T:1769992960   ERROR: CecLogMessage - RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
14:05:09.689 T:1769992960   ERROR: CecLogMessage - Open - vc_cec could not be initialised
14:05:09.689 T:1769992960   ERROR: CecLogMessage - could not open a connection (try 1)
14:05:10.689 T:1769992960   ERROR: CecLogMessage - RegisterLogicalAddress - CEC is being used by another application. Run "tvservice --off" and try again.
14:05:10.689 T:1769992960   ERROR: CecLogMessage - Open - vc_cec could not be initialised
14:05:10.689 T:1769992960   ERROR: CecLogMessage - could not open a connection (try 2)

So CEC is being used by another application but what’s causing this message is unclear and a search on this forum didn’t answer the question. Whether this is also causing tvheadend to crash I cannot say. I don’t use tvheadend myself so perhaps someone else can offer some suggestions why it might be crashing.

sounds like a wipe and start over might be the only solution doesn’t it

A reinstall might well be the most straightforward option. If you have a highly configured installation, it might be worth installing to a different SD card and keep the old one as a reference.