xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 46 forks source link

Can't upgrade old image pn Rpi 2 #785

Closed coderpop closed 8 years ago

coderpop commented 8 years ago

After the latest upgrade broke I2S audio, I re-flashed the SD card to an image from a month ago. It didn't have all the Jessie updates and now when I try to update hte 388 packages available I get the error "There are problems and -y was used without --force-yes" - Even tried one package at a time and still the same problem.

How do I proceed to get this updated and working again please?

Thanks.

mkreisl commented 8 years ago

what says apt-get install -f?

coderpop commented 8 years ago

Thanks again for your time and help.

It says.... sudo apt-get install -f [sudo] password for xbian: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 389 not upgraded.

Next I give you the following as it might help....

cat /etc/apt/sources.list.d/xbian.list 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

cat /etc/apt/sources list.... deb http://http.debian.net/debian stable main non-free

This looked wrong and if you look at http://www.xbian.org/faq/ it states it should be.... deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

So I tried that and only got about 20 packages to update/upgrade but it also gives even more errors......

I also tried changing deb mirror://apt.xbian.org/mirror.txt stable main rpi2-jessie to deb mirror://apt.xbian.org/mirror.txt stable main rpi2-wheezy but it made no difference, still get errors....

I'm sure it's something simple, but I don't know what to do next!

mkreisl commented 8 years ago

First, i would deactivate staging and devel repo

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

Second, you are using RPi2, so

deb http://http.debian.net/debian stable main non-free

is correct

And, assuming you are already on Jessie, don't use rpi2-wheezy, because this repo has never exist

Are you using xbian-config for doing updates or do you use apt-get update/apt-get upgrade? I would prefer 2nd method.

What says lsb_release -cs?

coderpop commented 8 years ago

lsb_release -cs says wheezy!

I use xbian-config as it is supposed to be the best way to do upgrades. For updates I use apt-get though as this is OK according to the forum.

Have returned settings as you said above, the Xbian site needs to be updated by admins to reflect this or others might have the same problems....

UPDATE - Have corrected an issue with the Debian GPG keys and now it is upgrading!.........

I'll let you know how it goes! :)

coderpop commented 8 years ago

Fully upgraded now.

Only issue is with I2S audio. I get frequent drop outs on the sound (several times per track).

Let me know if I can help.

mkreisl commented 8 years ago

I'm a little bit confused.

You told here https://github.com/xbianonpi/xbian/issues/770#issuecomment-147859818 everything is fine, what has been changed?

coderpop commented 8 years ago

Something odd is happening. Sound via I2S is fine now , only rebooted a couple of times. But, strangely, the I2S seems to cut off when the projector connected to the HDMI is turned off. It only just happened and I will try and test it some more tomorrow.

coderpop commented 8 years ago

Upgraded today and all issues seem to be fixed (at least the ones that were affecting my installation).

Will test some more, but looking good via ssh right now!

Thanks for a good job team!