![]() |
[SOLVED] RPi1 upgrade error today. - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Configuration (/forum-17.html) +--- Thread: [SOLVED] RPi1 upgrade error today. (/thread-3485.html) Pages: 1 2 |
RPi1 upgrade error today. - Skywatch - 31st Mar, 2016 05:47 AM All other packages upgraded successfully, but not these two.... Code: The following packages have unmet dependencies: RE: RPi1 upgrade error today. - Nachteule - 31st Mar, 2016 07:07 AM Remove complained cec packages with Terminal sudo dpkg -r --force-all cec-utils sudo dpkg -r --force-all libcec-dev and then run Terminal sudo apt-get install -f AFAIR was already here on the forum (or perhaps on github) ![]() RE: RPi1 upgrade error today. - Skywatch - 31st Mar, 2016 07:44 AM A search on here for libcec unmet came back with nothing found. (31st Mar, 2016 07:07 AM)Nachteule Wrote: That last command give me..... Code: xbian@lounge ~ $ sudo apt-get install -f I guess that it is not safe to do that? RE: RPi1 upgrade error today. - Nachteule - 31st Mar, 2016 08:01 AM Hmmm, not really Next try: remove all cec packages ( dpkg -r --force-all ) and reinstall libcec. This should install 4 packages RE: RPi1 upgrade error today. - Skywatch - 31st Mar, 2016 08:23 AM Thanks for your support. That command, should it have cec in it somewhere? Or just as you wrote? (sorry, I am getting a little paranoid now as 2 pi units both seemed to fail simulatneously today and have spent the evening reflashing, configuring and updating/upgrading again). RE: RPi1 upgrade error today. - Nachteule - 31st Mar, 2016 08:40 AM Hmmm, ok: Terminal sudo dpkg -l | grep cec ii cec-utils 3.0.1-1~xbian-1453441848 armhf libCEC communication Library (utility programs) ii libcec 3.0.1-1~xbian-1453441848 armhf Meta package libCEC. ii libcec-dev 3.0.1-1~xbian-1453441848 armhf libCEC communication Library (development files) ii libcec3:armhf 3.0.1-1~xbian-1453441848 armhf libCEC communication Library (shared library) ii python-libcec 3.0.1-1~xbian-1453441848 armhf Python bindings for libCEC That gives you the installed cec packages And then remove all packages, in my case Terminal sudo dpkg -r --force-all cec-utils sudo dpkg -r --force-all libcec sudo dpkg -r --force-all libcec-dev sudo dpkg -r --force-all libcec3:armhf sudo dpkg -r --force-all python-libcec And finally Terminal sudo install libcec should install all cec packages again RE: RPi1 upgrade error today. - Skywatch - 31st Mar, 2016 08:51 AM OK, so now I get this... Terminal xbian@lounge ~ $ sudo install libcec install: missing destination file operand after ‘libcec’ Try 'install --help' for more information. xbian@lounge ~ $ sudo apt-get install libcec Reading package lists... Done Building dependency tree Reading state information... Done Package libcec is a virtual package provided by: libcec3 3.0.1-1~xbian-1453441848 [Not candidate version] E: Package 'libcec' has no installation candidate Also, just tried to go back and double check and get the following..... Terminal xbian@lounge ~ $ sudo dpkg -l | grep cec rc libcec3:armhf 3.0.1-1~xbian-1453441848 armhf libCEC communication Library (shared library) rc xbian-package-cec 9.2.2.0-1-1436247112 armhf libcec 2.2.0 for XBian (rpi/master) xbian@lounge ~ $ sudo dpkg -r --force-all libcec3:armhf dpkg: warning: ignoring request to remove libcec3:armhf, only the config files of which are on the system; use --purge to remove them too xbian@lounge ~ $ sudo dpkg -r --force-all xbian-package-cec dpkg: warning: ignoring request to remove xbian-package-cec, only the config files of which are on the system; use --purge to remove them too xbian@lounge ~ $ How did I get into this mess in the first place? Was it something I did? Can I avoid it in the future? RE: RPi1 upgrade error today. - Nachteule - 31st Mar, 2016 08:57 AM Did you do a sudo apt-get update? please run Terminal sudo apt-cache search libcec libcec2 - USB CEC Adaptor communication Library (shared library) cec-utils - libCEC communication Library (utility programs) libcec - Meta package libCEC. libcec-dev - libCEC communication Library (development files) libcec3 - libCEC communication Library (shared library) python-libcec - Python bindings for libCEC Seems your /etc/apt/sources.list.d/xbian.list is broken RE: RPi1 upgrade error today. - Skywatch - 31st Mar, 2016 09:10 AM (31st Mar, 2016 08:57 AM)Nachteule Wrote: Did you do a sudo apt-get update? No, you never said to do that ![]() Terminal xbian@lounge ~ $ sudo apt-cache search libcec libcec-dev - USB CEC Adaptor communication Library (development files) libcec2 - USB CEC Adaptor communication Library (shared library) xbian@lounge ~ $ (31st Mar, 2016 08:57 AM)Nachteule Wrote: Seems your /etc/apt/sources.list.d/xbian.list is broken I Have.... Terminal deb mirror://apt.xbian.org/mirror.txt stable main rpi-jessie deb mirror://apt.xbian.org/mirror.txt staging main rpi-jessie ##deb mirror://apt.xbian.org/mirror.txt devel main rpi-jessie Are you normally up this late? ![]() RE: RPi1 upgrade error today. - Nachteule - 31st Mar, 2016 09:17 AM Quote:Well that *is* weird, the file is totally blank. Nothing. Ok, now we have the explanation for that strange behavior Quote:I'll repopulate it and see how it goes. Are you normally up this late? Nachteule == Nightowl (you understand) ![]() RE: RPi1 upgrade error today. - Skywatch - 31st Mar, 2016 09:25 AM I updated my post above. I left out the /etc/ at the start, getting late I suppose. Anyway the apt list is OK. Anyway, I will let you fly now as I need my sleep! RE: RPi1 upgrade error today. - Nachteule - 31st Mar, 2016 09:32 AM Ok, good night ![]() Maybe a mirror is broken, you could try (for testing) http://apt.xbian.org instead of mirror://apt.xbian.org/mirror.txt in file xbian.list RE: RPi1 upgrade error today. - Skywatch - 31st Mar, 2016 06:38 PM OK, I modified the mirror and still the same happens.... Terminal xbian@lounge ~ $ sudo apt-get install libcec Reading package lists... Done Building dependency tree Reading state information... Done Package libcec is a virtual package provided by: libcec3 3.0.1-1~xbian-1453441848 [Not candidate version] E: Package 'libcec' has no installation candidate xbian@lounge ~ $ OK - I have this sorted now! Phew! ![]() From memory the process was..... Change the mirror apt-get clean apt-get update apt-get -f install apt-get update apt-get upgrade (from xbian-config) Now all packages are back to the latest versions. What could have caused this and can I prevent it in the future? RE: RPi1 upgrade error today. - Nachteule - 31st Mar, 2016 09:24 PM Quote:What could have caused this and can I prevent it in the future? Maybe some serious error(s)/warning(s) ignored? Bad mirror? Or simply shit happens ... Impossible to say ... RE: RPi1 upgrade error today. - Skywatch - 1st Apr, 2016 03:49 AM Probably the last one ![]() Thanks for the support on getting this sorted out though, I really appreciate it! ![]() |