Uninstalling and reinstalling CEC - Printable Version

+- Forum (
+-- Forum: Software (/forum-6.html)
+--- Forum: Additional Packages (/forum-22.html)
+--- Thread: Uninstalling and reinstalling CEC (/thread-3409.html)

Uninstalling and reinstalling CEC - Imad Safieddine - 29th Feb, 2016 07:34 AM

I might have broken something on my Kodi installation.

I'm running the latest version (that's what my Update tells me):
Kodi 15.2 Git:2015-12-04-85ee60
Operating System: XBian 1.0 (knockout)(kernel: Linux 4.1.13+)

I was trying to have Kodi respond to my AVR remote through CEC, but it wasn't working.
Runing cec-client was just waiting there for input after all the initializations.

So I decided to uninstall cec through the XBian configuration menu, under Packages then Utils.
After uninstallation, it remained there, and clicking on Get more... gave me choice to install cec once more.

Installing it gives the message didn't work.

Now, cec-client returns : -bash: cec-client: command not found
Listing the installed packages : dpkg-query -l '*cec*' returns:

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
un icecast2 <none> <none> (no description available)
un icecc <none> <none> (no description available)
ii libcec 3.0.1-1~xbian-143820938 armhf Meta package libCEC.
un libcec1 <none> <none> (no description available)
un libcec2 <none> <none> (no description available)
ii libcec3:armhf 3.0.1-1~xbian-143820938 armhf libCEC communication Library (shared library)

Trying to install libcec and libcec3 tells me that I have the newest version.

Back in the XBian configuration tool, clicking on Information on cec, gives me :
Name: xbian-package-cec
Remote version: 1.1-1
Local version: Not installed

When I try to install xbian-package-cec via SSH, it selects 'libcec2' instead of 'xbian-package-cec' and proceeds with showing a whole bunch of packages that will need to be removed:
libcec libcec3 xbian-package-config-xbmc xbian-package-transmission xbian-package-xbmc xbian-update

I stopped right there !

Any help on this?

RE: Uninstalling and reinstalling CEC - Nachteule - 29th Feb, 2016 08:14 AM

Don't know what exactly happens, but this should help

First, make sure that the file /etc/apt/sources.list.d/xbian.list is correct. Should be something like this:

deb mirror://      stable  main rpi2-jessie
### deb mirror://  staging main rpi2-jessie
### deb mirror://  devel   main rpi2-jessie
(rpi2 for RPi2, rpi for RPi1 and imx6 for Cubox-i/Hummingboard)

If the file is ok, run:

sudo dpkg -r --force-all  libcec libcec3
sudo apt-get update
sudo apt-get install libcec

RE: Uninstalling and reinstalling CEC - f1vefour - 1st Mar, 2016 08:54 AM

Without looking (not home) I'm assuming xbian-package-cec is a meta-package which would at least describe what you're seeing.

Definitely try @Nachteule suggestion.

RE: Uninstalling and reinstalling CEC - Nachteule - 1st Mar, 2016 09:16 AM

xbian-package-cec is obsolete, but you are right - libcec is a meta package