Solved: RPi1 upgrade error today.
|
31st Mar, 2016, 05:47 AM
Post: #1
|
|||
|
|||
RPi1 upgrade error today.
All other packages upgraded successfully, but not these two....
Code: The following packages have unmet dependencies: |
|||
31st Mar, 2016, 07:07 AM
Post: #2
|
|||
|
|||
RE: RPi1 upgrade error today.
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) |
|||
31st Mar, 2016, 07:44 AM
Post: #3
|
|||
|
|||
RE: RPi1 upgrade error today.
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? |
|||
31st Mar, 2016, 08:01 AM
(This post was last modified: 31st Mar, 2016 08:02 AM by Nachteule.)
Post: #4
|
|||
|
|||
RE: RPi1 upgrade error today.
Hmmm, not really
Next try: remove all cec packages ( dpkg -r --force-all ) and reinstall libcec. This should install 4 packages |
|||
31st Mar, 2016, 08:23 AM
Post: #5
|
|||
|
|||
RE: RPi1 upgrade error today.
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). |
|||
31st Mar, 2016, 08:40 AM
(This post was last modified: 31st Mar, 2016 08:42 AM by Nachteule.)
Post: #6
|
|||
|
|||
RE: RPi1 upgrade error today.
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 |
|||
31st Mar, 2016, 08:51 AM
Post: #7
|
|||
|
|||
RE: RPi1 upgrade error today.
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? |
|||
31st Mar, 2016, 08:57 AM
Post: #8
|
|||
|
|||
RE: RPi1 upgrade error today.
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 |
|||
31st Mar, 2016, 09:10 AM
Post: #9
|
|||
|
|||
RE: RPi1 upgrade error today.
(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? |
|||
31st Mar, 2016, 09:17 AM
Post: #10
|
|||
|
|||
RE: RPi1 upgrade error today.
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) |
|||
31st Mar, 2016, 09:25 AM
Post: #11
|
|||
|
|||
RE: RPi1 upgrade error today.
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! |
|||
31st Mar, 2016, 09:32 AM
Post: #12
|
|||
|
|||
RE: RPi1 upgrade error today.
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 |
|||
31st Mar, 2016, 06:38 PM
Post: #13
|
|||
|
|||
RE: RPi1 upgrade error today.
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? |
|||
31st Mar, 2016, 09:24 PM
Post: #14
|
|||
|
|||
RE: RPi1 upgrade error today.
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 ... |
|||
1st Apr, 2016, 03:49 AM
Post: #15
|
|||
|
|||
RE: RPi1 upgrade error today.
Probably the last one
Thanks for the support on getting this sorted out though, I really appreciate it! |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[PROBLEM] Package upgrade error | Eruurk | 3 | 10,676 |
17th Jan, 2015 12:32 AM Last Post: CurlyMo |
|
dpkg error while installing xbian-update/firmware during apt-get upgrade | n1ght28 | 3 | 11,730 |
16th Nov, 2014 03:25 AM Last Post: mk01 |
|
[PROBLEM] Error everytime i try to upgrade Python | Exnor | 9 | 33,560 |
21st Nov, 2013 08:57 PM Last Post: alfaromeo |
|
initscripts apt-get upgrade error | markosjal | 6 | 27,107 |
28th Oct, 2013 09:37 AM Last Post: Exnor |