kodi-rbp: failed to upgrade from xbmc-rbp

This forum is for topics dealing with problems with software specifically in the ARMv6h repo.

kodi-rbp: failed to upgrade from xbmc-rbp

Postby Gromba » Mon Dec 29, 2014 9:59 pm

Hi,

I'm having trouble upgrading from xbmc to kodi on the raspberry pi:

$this->bbcode_second_pass_code('', '[peter@media ~]$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: Starting full system upgrade...
:: Replace xbmc-rbp with alarm/kodi-rbp? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...

Packages (2): kodi-rbp-14.0-1 xbmc-rbp-13.2-4 [removal]

Total Installed Size: 74.52 MiB
Net Upgrade Size: 3.70 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
kodi-rbp: /usr/include/xbmc exists in filesystem
kodi-rbp: /usr/lib/xbmc exists in filesystem
kodi-rbp: /usr/share/xbmc exists in filesystem
Errors occurred, no packages were upgraded.')

$this->bbcode_second_pass_code('', '[peter@media ~]$ pacman -Qo /usr/include/xbmc
/usr/include/xbmc is owned by xbmc-rbp 13.2-4')

See also issue on github: https://github.com/archlinuxarm/PKGBUILDs/issues/1045
Gromba
 
Posts: 2
Joined: Mon Dec 29, 2014 9:55 pm

Re: kodi-rbp: failed to upgrade from xbmc-rbp

Postby moonman » Tue Dec 30, 2014 1:17 am

Your database should be in /var/lib/xbmc/.xbmc and is not tracked by pacman, but is created by xbmc.

So this should work

$this->bbcode_second_pass_code('', 'systemctl disable xbmc # in case you had it enabled
pacman -R xbmc-rbp
pacman -Suy
pacman -S kodi-rbp
mkdir -p /var/lib/kodi/.kodi/userdata/
cp -ru /var/lib/xbmc/.xbmc/userdata/* /var/lib/kodi/.kodi/userdata/
chown -R kodi:kodi /var/lib/kodi
# rm /var/lib/kodi/.kodi/userdata/guisettings.xml #only do this if you get wallpaper but no menus.
# rm -r /var/lib/xbmc # only run this after you know everything worked as expected')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: kodi-rbp: failed to upgrade from xbmc-rbp

Postby Gromba » Tue Dec 30, 2014 12:23 pm

The userdata folder didn't exist after installing kodi, so I've created /var/lib/kodi/.kodi/userdata/ manually.

I didn't get a menu after upgrading, but I needed to delete guisettings.xml (found here http://forum.kodi.tv/showthread.php?tid=212147&pid=1868918). Now everything works! :D

Thanks for your time, I'm now going to enjoy kodi :)
Gromba
 
Posts: 2
Joined: Mon Dec 29, 2014 9:55 pm

Re: kodi-rbp: failed to upgrade from xbmc-rbp

Postby moonman » Thu Jan 01, 2015 8:53 am

Cheers Gromba. I updated second post to reflect your findings.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am


Return to ARMv6h

Who is online

Users browsing this forum: No registered users and 4 guests