Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

(Solved) - Update error after disabling CEC adapter
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
(Solved) - Update error after disabling CEC adapter
3rd Aug, 2016, 04:22 AM
Post: #1
supernano Offline
Registered
Posts: 24
Joined: Jan 2015
Reputation: 0
(Solved) - Update error after disabling CEC adapter
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!
Find all posts by this user
3rd Aug, 2016, 05:22 AM
Post: #2
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Update error after disabling CEC adapter
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
Find all posts by this user
3rd Aug, 2016, 05:57 AM
Post: #3
supernano Offline
Registered
Posts: 24
Joined: Jan 2015
Reputation: 0
RE: Update error after disabling CEC adapter
(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.
Find all posts by this user
3rd Aug, 2016, 06:03 AM (This post was last modified: 3rd Aug, 2016 06:03 AM by Nachteule.)
Post: #4
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Update error after disabling CEC adapter
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
Find all posts by this user
3rd Aug, 2016, 06:14 AM
Post: #5
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Update error after disabling CEC adapter
(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
Find all posts by this user
3rd Aug, 2016, 05:05 PM
Post: #6
supernano Offline
Registered
Posts: 24
Joined: Jan 2015
Reputation: 0
RE: Update error after disabling CEC adapter
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
Find all posts by this user
3rd Aug, 2016, 09:07 PM
Post: #7
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Update error after disabling CEC adapter
Please look into XBian' FAQ, first section.
Find all posts by this user
4th Aug, 2016, 05:19 AM
Post: #8
supernano Offline
Registered
Posts: 24
Joined: Jan 2015
Reputation: 0
RE: Update error after disabling CEC adapter
(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.
Find all posts by this user
18th May, 2020, 09:28 PM
Post: #9
Antonio Offline
Registered
Posts: 6
Joined: Sep 2019
Reputation: 0
RE: (Solved) - Update error after disabling CEC adapter
Thanks! That helps me too
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  (Solved) GPG error while running apt-get update Joecastra 9 23,470 29th May, 2016 02:26 AM
Last Post: Nachteule
  Gpg error when trying to update onyx666 5 15,692 16th Sep, 2015 06:50 PM
Last Post: Skywatch
Bug [SOLVED] Bluetooth ok, "hcitool dev" OK, and "No such adapter" bolbit 1 8,821 5th May, 2015 07:48 AM
Last Post: bolbit
  apt-get update returns error feign 14 37,092 27th Feb, 2015 03:20 AM
Last Post: picard12
  (Solved) Error: another copy is running ... 1 effemmeffe 6 15,336 21st Dec, 2014 08:22 AM
Last Post: f1vefour

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 12th May, 2025, 09:15 AM Powered By MyBB, © 2002-2025 MyBB Group.