Forum

Full Version: Uninstalling and reinstalling CEC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
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:

Desired=Unknown/Install/Remove/Purge/Hold
| 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
etc.



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?
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:

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

If the file is ok, run:

Code:
sudo dpkg -r --force-all  libcec libcec3
sudo apt-get update
sudo apt-get install libcec
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.
xbian-package-cec is obsolete, but you are right - libcec is a meta package
Reference URL's