Forum

Full Version: (Solved) - Update error after disabling CEC adapter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I disabled the CEC adapter via System -> Settings -> System -> Input Devices -> Peripherals, and since then I'm getting this error everytime I try to update via the xbian-config interface in Kodi:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libcec : Depends: python-libcec but it is not going to be installed


I can update via ssh with apt-get upgrade, although when I run apt-get update before, I get a warning:
W: Duplicate sources.list entry mirror://apt.xbian.org/mirror.txt/ stable/rpi-jessie armhf Packages (/var/lib/apt/lists/apt.xbian.org_mirror.txt_dists_stable_rpi-jessie_binary-armhf_Packages)
I'm not 100% sure that this warning is related to disabling the CEC adapter.

I'm running xbian on an old Raspberry Pi, and disabling the CEC adapter reduces load on the cpu and helps it run significantly smoother, so it would be great to not have to enable to fix this issue.

Please let me know if there's any further info or logs I can provide to help troubleshoot.

Thanks!
Hmmm, this is wired.

Having exactly same hardware configuration (RPi1, TV connected via HDMI->DVI-D cable, no CEC, CEC disabled in Kodi settings). Absolutely no problem. Update runs without any issue. Just tested.

Maybe an sudo apt-get install -f could help
(3rd Aug, 2016 05:22 AM)Nachteule Wrote: [ -> ]Hmmm, this is wired.

Having exactly same hardware configuration (RPi1, TV connected via HDMI->DVI-D cable, no CEC, CEC disabled in Kodi settings). Absolutely no problem. Update runs without any issue. Just tested.

Maybe an sudo apt-get install -f could help

sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.


Same exact thing happens when I run sudo apt-get upgrade

Oh well, good to know you can't replicate the problem, might be a one off thing, I might try to reflash xbian then.
Hmmm, did your RPI crashed while running an update process?

Or do you have any packages on hold?

This "4 not upgraded" message is confusing me Huh
(3rd Aug, 2016 05:57 AM)supernano Wrote: [ -> ]Oh well, good to know you can't replicate the problem, might be a one off thing, I might try to reflash xbian then.

Before you reinstall XBian (IMO this is not necessary), I would try following

Deinstall all *cec* packages and reinstall them

Terminal

sudo apt-get update
dpkg -l | grep cec # this lists all cec packages

sudo dpkg -r --force-all cec-utils libcec libcec-dev libcec3:armhf python-libcec # unstall all cec packages
, ignore everything
sudo apt-get install -f # Should reinstall all cec packages

AFAIR I was telling this procedure another user here and this worked for him. But before you're doing this make sure that those packages are not on hold
So far so good! We'll see what happens next time there's new updates.

I'm still getting the duplicate sources warning. Could you please share your sources.list? to check if mine is different for some reason
Please look into XBian' FAQ, first section.
(3rd Aug, 2016 09:07 PM)Nachteule Wrote: [ -> ]Please look into XBian' FAQ, first section.

Great, I had seen that post but I wasn't sure if it was outdated. Found the duplicate in the xbian.list file. I had looked there before but missed it somehow. I can sleep soundly now, all is well in the world Smile
Thanks for all your help.
Thanks! That helps me too
Reference URL's