Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Uninstalling and reinstalling CEC
29th Feb, 2016, 07:34 AM
Post: #1
Uninstalling and reinstalling CEC
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?
Find all posts by this user
Quote this message in a reply
29th Feb, 2016, 08:14 AM
Post: #2
RE: Uninstalling and reinstalling CEC
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
Find all posts by this user
Quote this message in a reply
1st Mar, 2016, 08:54 AM
Post: #3
RE: Uninstalling and reinstalling CEC
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.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
1st Mar, 2016, 09:16 AM
Post: #4
RE: Uninstalling and reinstalling CEC
xbian-package-cec is obsolete, but you are right - libcec is a meta package
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: