Forum
[PROBLEM] Distribution upgrade to Buster fails - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Installation (/forum-16.html)
+--- Thread: [PROBLEM] Distribution upgrade to Buster fails (/thread-4046.html)

Pages: 1 2 3 4 5


RE: Distribution upgrade to Buster fails - Nachteule - 22nd Nov, 2019 07:29 AM

Yes, I do

Found it, but still do not know why

Wrong GLES libriaries are used

Code:
libEGL.so => /opt/vc/lib/libEGL.so (0xb4de7000)
        libGLESv2.so => /opt/vc/lib/libGLESv2.so (0xb4dc2000)
        libbcm_host.so => /opt/vc/lib/libbcm_host.so (0xb4d98000)
        libvcos.so => /opt/vc/lib/libvcos.so (0xb4d7f000)
        libvchiq_arm.so => /opt/vc/lib/libvchiq_arm.so (0xb4d69000)

^^ those libs have to be used, your kodi-rbpi is using those libs required for kodi-gbm

So, a sudo ldconfig may help or reinstall firmware package: sudo apt-get install --reinstall xbian-package-firmware may help


RE: Distribution upgrade to Buster fails - rafhtl - 22nd Nov, 2019 06:00 PM

(22nd Nov, 2019 07:29 AM)Nachteule Wrote:  Yes, I do

Found it, but still do not know why

Wrong GLES libriaries are used

Code:
libEGL.so => /opt/vc/lib/libEGL.so (0xb4de7000)
        libGLESv2.so => /opt/vc/lib/libGLESv2.so (0xb4dc2000)
        libbcm_host.so => /opt/vc/lib/libbcm_host.so (0xb4d98000)
        libvcos.so => /opt/vc/lib/libvcos.so (0xb4d7f000)
        libvchiq_arm.so => /opt/vc/lib/libvchiq_arm.so (0xb4d69000)

^^ those libs have to be used, your kodi-rbpi is using those libs required for kodi-gbm

So, a sudo ldconfig may help or reinstall firmware package: sudo apt-get install --reinstall xbian-package-firmware may help

Unfortunately none of the two worked...
surely that is the problem
new sudo ldd /usr/local/lib/kodi/kodi-rbpi after the tries
https://pastebin.com/c8UmgNU9

thank you


RE: Distribution upgrade to Buster fails - Nachteule - 23rd Nov, 2019 12:40 AM

(22nd Nov, 2019 06:00 PM)rafhtl Wrote:  Unfortunately none of the two worked...
surely that is the problem
new sudo ldd /usr/local/lib/kodi/kodi-rbpi after the tries
https://pastebin.com/c8UmgNU9

thank you

Thats weird!

Could you please post output of ls -la /usr/local/lib/kodi again. Make sure that latest Kodi Leia 18.5 is installed

Terminal

root@kmxbilr2 /opt/vc # ls -la /usr/local/lib/kodi
insgesamt 57256
drwxr-xr-x 1 root root 74 Nov 22 15:13 .
drwxr-xr-x 1 root root 176 Okt 13 21:13 ..
drwxr-xr-x 1 root root 2028 Nov 22 15:13 addons
lrwxrwxrwx 1 root root 9 Nov 19 03:14 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 16:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 16:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Dez 17 2018 system
root@kmxbilr2 /opt/vc # dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

^^ This is my output ^^

For me it looks like on your system kodi-rbpi is the binary for Pi4 and not for Pi3


RE: Distribution upgrade to Buster fails - rafhtl - 23rd Nov, 2019 04:57 AM

(23rd Nov, 2019 12:40 AM)Nachteule Wrote:  
(22nd Nov, 2019 06:00 PM)rafhtl Wrote:  Unfortunately none of the two worked...
surely that is the problem
new sudo ldd /usr/local/lib/kodi/kodi-rbpi after the tries
https://pastebin.com/c8UmgNU9

thank you

Thats weird!

Could you please post output of ls -la /usr/local/lib/kodi again. Make sure that latest Kodi Leia 18.5 is installed

Terminal

root@kmxbilr2 /opt/vc # ls -la /usr/local/lib/kodi
insgesamt 57256
drwxr-xr-x 1 root root 74 Nov 22 15:13 .
drwxr-xr-x 1 root root 176 Okt 13 21:13 ..
drwxr-xr-x 1 root root 2028 Nov 22 15:13 addons
lrwxrwxrwx 1 root root 9 Nov 19 03:14 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 16:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 16:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Dez 17 2018 system
root@kmxbilr2 /opt/vc # dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

^^ This is my output ^^

For me it looks like on your system kodi-rbpi is the binary for Pi4 and not for Pi3

here it is
ls -la /usr/local/lib/kodi
total 57256
drwxr-xr-x 1 root root 74 Nov 21 17:58 .
drwxrwsr-x 1 root staff 294 Nov 20 21:34 ..
drwxr-xr-x 1 root root 1940 Nov 21 16:22 addons
lrwxrwxrwx 1 root root 9 Nov 21 17:08 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 15:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 15:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Nov 20 21:34 system


dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)


RE: Distribution upgrade to Buster fails - Nachteule - 23rd Nov, 2019 06:27 AM

(23rd Nov, 2019 04:57 AM)rafhtl Wrote:  
(23rd Nov, 2019 12:40 AM)Nachteule Wrote:  
(22nd Nov, 2019 06:00 PM)rafhtl Wrote:  Unfortunately none of the two worked...
surely that is the problem
new sudo ldd /usr/local/lib/kodi/kodi-rbpi after the tries
https://pastebin.com/c8UmgNU9

thank you

Thats weird!

Could you please post output of ls -la /usr/local/lib/kodi again. Make sure that latest Kodi Leia 18.5 is installed

Terminal

root@kmxbilr2 /opt/vc # ls -la /usr/local/lib/kodi
insgesamt 57256
drwxr-xr-x 1 root root 74 Nov 22 15:13 .
drwxr-xr-x 1 root root 176 Okt 13 21:13 ..
drwxr-xr-x 1 root root 2028 Nov 22 15:13 addons
lrwxrwxrwx 1 root root 9 Nov 19 03:14 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 16:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 16:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Dez 17 2018 system
root@kmxbilr2 /opt/vc # dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

^^ This is my output ^^

For me it looks like on your system kodi-rbpi is the binary for Pi4 and not for Pi3

here it is
ls -la /usr/local/lib/kodi
total 57256
drwxr-xr-x 1 root root 74 Nov 21 17:58 .
drwxrwsr-x 1 root staff 294 Nov 20 21:34 ..
drwxr-xr-x 1 root root 1940 Nov 21 16:22 addons
lrwxrwxrwx 1 root root 9 Nov 21 17:08 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 15:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 15:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Nov 20 21:34 system


dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

Seems to be identical to mine. For now, I have no more ideas Confused
There is something absolutely strange on your system
I've moved /opt/vc/lib folder away, ldd told me libraries not found. That is what I expected.


RE: Distribution upgrade to Buster fails - rafhtl - 23rd Nov, 2019 06:51 AM

(23rd Nov, 2019 06:27 AM)Nachteule Wrote:  
(23rd Nov, 2019 04:57 AM)rafhtl Wrote:  
(23rd Nov, 2019 12:40 AM)Nachteule Wrote:  
(22nd Nov, 2019 06:00 PM)rafhtl Wrote:  Unfortunately none of the two worked...
surely that is the problem
new sudo ldd /usr/local/lib/kodi/kodi-rbpi after the tries
https://pastebin.com/c8UmgNU9

thank you

Thats weird!

Could you please post output of ls -la /usr/local/lib/kodi again. Make sure that latest Kodi Leia 18.5 is installed

Terminal

root@kmxbilr2 /opt/vc # ls -la /usr/local/lib/kodi
insgesamt 57256
drwxr-xr-x 1 root root 74 Nov 22 15:13 .
drwxr-xr-x 1 root root 176 Okt 13 21:13 ..
drwxr-xr-x 1 root root 2028 Nov 22 15:13 addons
lrwxrwxrwx 1 root root 9 Nov 19 03:14 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 16:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 16:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Dez 17 2018 system
root@kmxbilr2 /opt/vc # dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

^^ This is my output ^^

For me it looks like on your system kodi-rbpi is the binary for Pi4 and not for Pi3

here it is
ls -la /usr/local/lib/kodi
total 57256
drwxr-xr-x 1 root root 74 Nov 21 17:58 .
drwxrwsr-x 1 root staff 294 Nov 20 21:34 ..
drwxr-xr-x 1 root root 1940 Nov 21 16:22 addons
lrwxrwxrwx 1 root root 9 Nov 21 17:08 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 15:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 15:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Nov 20 21:34 system


dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

Seems to be identical to mine. For now, I have no more ideas Confused
There is something absolutely strange on your system
I've moved /opt/vc/lib folder away, ldd told me libraries not found. That is what I expected.

Im going to start the upgrade again
from the beginning
let you know how that goes
If you have any suggestion please tell me
thank you

(23rd Nov, 2019 06:27 AM)Nachteule Wrote:  
(23rd Nov, 2019 04:57 AM)rafhtl Wrote:  
(23rd Nov, 2019 12:40 AM)Nachteule Wrote:  
(22nd Nov, 2019 06:00 PM)rafhtl Wrote:  Unfortunately none of the two worked...
surely that is the problem
new sudo ldd /usr/local/lib/kodi/kodi-rbpi after the tries
https://pastebin.com/c8UmgNU9

thank you

Thats weird!

Could you please post output of ls -la /usr/local/lib/kodi again. Make sure that latest Kodi Leia 18.5 is installed

Terminal

root@kmxbilr2 /opt/vc # ls -la /usr/local/lib/kodi
insgesamt 57256
drwxr-xr-x 1 root root 74 Nov 22 15:13 .
drwxr-xr-x 1 root root 176 Okt 13 21:13 ..
drwxr-xr-x 1 root root 2028 Nov 22 15:13 addons
lrwxrwxrwx 1 root root 9 Nov 19 03:14 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 16:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 16:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Dez 17 2018 system
root@kmxbilr2 /opt/vc # dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

^^ This is my output ^^

For me it looks like on your system kodi-rbpi is the binary for Pi4 and not for Pi3

here it is
ls -la /usr/local/lib/kodi
total 57256
drwxr-xr-x 1 root root 74 Nov 21 17:58 .
drwxrwsr-x 1 root staff 294 Nov 20 21:34 ..
drwxr-xr-x 1 root root 1940 Nov 21 16:22 addons
lrwxrwxrwx 1 root root 9 Nov 21 17:08 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 15:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 15:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Nov 20 21:34 system


dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

Seems to be identical to mine. For now, I have no more ideas Confused
There is something absolutely strange on your system
I've moved /opt/vc/lib folder away, ldd told me libraries not found. That is what I expected.

Im going to start the upgrade again
from the beginning
let you know how that goes
If you have any suggestion please tell me
thank you

(23rd Nov, 2019 06:27 AM)Nachteule Wrote:  
(23rd Nov, 2019 04:57 AM)rafhtl Wrote:  
(23rd Nov, 2019 12:40 AM)Nachteule Wrote:  
(22nd Nov, 2019 06:00 PM)rafhtl Wrote:  Unfortunately none of the two worked...
surely that is the problem
new sudo ldd /usr/local/lib/kodi/kodi-rbpi after the tries
https://pastebin.com/c8UmgNU9

thank you

Thats weird!

Could you please post output of ls -la /usr/local/lib/kodi again. Make sure that latest Kodi Leia 18.5 is installed

Terminal

root@kmxbilr2 /opt/vc # ls -la /usr/local/lib/kodi
insgesamt 57256
drwxr-xr-x 1 root root 74 Nov 22 15:13 .
drwxr-xr-x 1 root root 176 Okt 13 21:13 ..
drwxr-xr-x 1 root root 2028 Nov 22 15:13 addons
lrwxrwxrwx 1 root root 9 Nov 19 03:14 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 16:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 16:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Dez 17 2018 system
root@kmxbilr2 /opt/vc # dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

^^ This is my output ^^

For me it looks like on your system kodi-rbpi is the binary for Pi4 and not for Pi3

here it is
ls -la /usr/local/lib/kodi
total 57256
drwxr-xr-x 1 root root 74 Nov 21 17:58 .
drwxrwsr-x 1 root staff 294 Nov 20 21:34 ..
drwxr-xr-x 1 root root 1940 Nov 21 16:22 addons
lrwxrwxrwx 1 root root 9 Nov 21 17:08 kodi.bin -> kodi-rbpi
-rwxr-xr-x 1 root root 32097720 Nov 21 15:33 kodi-gbm
-rwxr-xr-x 1 root root 26523180 Nov 21 15:33 kodi-rbpi
drwxr-xr-x 1 root root 14 Nov 20 21:34 system


dpkg -l | grep 'xbian-package-xbmc '
ii xbian-package-xbmc 18.5-1574350343 armhf XBMC (rpi4/leia)

Seems to be identical to mine. For now, I have no more ideas Confused
There is something absolutely strange on your system
I've moved /opt/vc/lib folder away, ldd told me libraries not found. That is what I expected.

Im going to start the upgrade again
from the beginning
let you know how that goes
If you have any suggestion please tell me
thank you


RE: Distribution upgrade to Buster fails - Nachteule - 23rd Nov, 2019 06:53 AM

(23rd Nov, 2019 06:51 AM)rafhtl Wrote:  Im going to start the upgrade again
from the beginning
let you know how that goes
If you have any suggestion please tell me
thank you

Please don't enable devel repository. stable and staging is enough for RPi3 and RPi4


RE: Distribution upgrade to Buster fails - rafhtl - 23rd Nov, 2019 07:01 AM

(23rd Nov, 2019 06:53 AM)Nachteule Wrote:  
(23rd Nov, 2019 06:51 AM)rafhtl Wrote:  Im going to start the upgrade again
from the beginning
let you know how that goes
If you have any suggestion please tell me
thank you

Please don't enable devel repository. stable and staging is enough for RPi3 and RPi4

Yes doing that

ps

The following packages have been kept back:
libsdl1.2-dev libsdl1.2debian libsdl2-2.0-0 libsdl2-dev stella
The following packages will be upgraded:
linux-image-bcm2836 linux-libc-dev xbian-package-tvheadend
xbian-package-xbmc
4 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Need to get 98.6 MB of archives.
After this operation, 21.5 kB of additional disk space will be used.
Do you want to continue? [Y/n]

the system is now on PI3
and working with kodi 18.4
stretch

not starting on pi4

ill proceed with upgrade and then

will follow original instructions with buster
Ok?


RE: Distribution upgrade to Buster fails - Nachteule - 23rd Nov, 2019 07:04 AM

Yes, looks ok.Good luck Shy


RE: Distribution upgrade to Buster fails - rafhtl - 23rd Nov, 2019 07:12 AM

(23rd Nov, 2019 07:04 AM)Nachteule Wrote:  Yes, looks ok.Good luck Shy

situation
RIP3 booting and new KODI 18.5 started anf kernel 4.19.84
looks good

now the tricky part that didnt work for me before

going to

1) change all stretch to buster in file /etc/apt/sources.list and /etc/apt/sources.list.d/xbian.list
2) run sudo apt-get update
3) DEBIAN_FRONTEND=noninteractive sudo apt-get dist-upgrade -y --allow-downgrades -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold 2>&1 | tee /tmp/aptstatus
4) sudo apt-get install --reinstall xbian-update


RE: Distribution upgrade to Buster fails - Nachteule - 23rd Nov, 2019 07:27 AM

Crossing fingers ....


RE: Distribution upgrade to Buster fails - rafhtl - 23rd Nov, 2019 07:29 AM

(23rd Nov, 2019 07:27 AM)Nachteule Wrote:  Crossing fingers ....

I havent pressed Y yet on buster
look at the held back packages

The following packages have been kept back:
apache2 apache2-bin apache2-data apache2-utils cmake cmake-data consolekit
initramfs-tools initramfs-tools-core libboost-date-time-dev libboost-dev
libboost-filesystem-dev libboost-locale-dev libboost-system-dev
libboost-thread-dev libmikmod-dev libmikmod3 libpam-systemd libsdl1.2-dev
libsdl1.2debian libsdl2-2.0-0 libsdl2-dev libsystemd0 libudev-dev libudev1
nfs-common rpcbind stella systemd udev xbian-package-xbmc

now I need your help!


RE: Distribution upgrade to Buster fails - Nachteule - 23rd Nov, 2019 07:38 AM

Aaaaarg, seems that on of non standard packages has systemd or whatever in the dependency list

What is stella?

Do you need the cmake, libboost stuff, I don't have this installed


RE: Distribution upgrade to Buster fails - rafhtl - 23rd Nov, 2019 07:40 AM

(23rd Nov, 2019 07:38 AM)Nachteule Wrote:  Aaaaarg, seems that on of non standard packages has systemd or whatever in the dependency list

What is stella?

Do you need the cmake, libboost stuff, I don't have this installed

I think its stuff related to Retropie

I can do without it
tell me what to do


RE: Distribution upgrade to Buster fails - Nachteule - 23rd Nov, 2019 07:50 AM

I would like to know what the problem is, but being honestly:

In your case it would be much easier to save home volume and all other things you want to preserve, install fresh image from today, install kernel from staging repo and restore everything you have backed up