You are not logged in.
Pages: 1
Hey,
When I try to upgrade my xbmc to kodi I get this message:
error: failed to commit transaction (conflicting files)
kodi: /usr/share/xbmc exists in filesystem
Errors occurred, no packages were upgraded.The only reference to this error in google suggests it is a problem with pacman versions prior to 4.2, but my pacman (and the rest of my system) is all up-to-date.
Any help would be appreciated.
Thanks.
Last edited by tiprya (2015-01-10 01:51:58)
Offline
Either your package database is broken - post the output of
stat --format "%n %s" /var/lib/pacman/local/kodi-*/files
stat --format "%n %s" /var/lib/pacman/local/xbmc-*/filesto find out - or maybe it's https://bbs.archlinux.org/viewtopic.php … 5#p1491515
Offline
So force it.
Knute
Offline
stat: cannot stat ‘/var/lib/pacman/local/kodi-*/files’: No such file or directory
/var/lib/pacman/local/xbmc-13.2-6/files 202360I guess I'll just force it...
unable to --force directory-file conflicts
kodi: /usr/share/xbmc exists in filesystem
Errors occurred, no packages were upgraded.Really not sure what to do now...
Last edited by tiprya (2015-01-11 00:26:24)
Offline
My next step, and I'm not sure if this would be good to do or not, would be to simply remove the directory /usr/share/xbmc. Your upgrade should recreate it, and all your personal settings should be stored in your home directory.
Knute
Offline
Why don't you remove xbmc first? Contrary to what the Kodi wiki says, you don't need the XBMC package to migrate to Kodi. Uninstall XBMC, install Kodi.
EDIT: Really, really never suggest using force in such a situation. Only use --force, if you can anticipate the exact result of the action. In this case you didn't.
EDIT2: The problem is how the transition is being handled in the kodi PKGBUILD:
Provides: xbmc
Replaces: xbmc
Conflicts: xbmc
This is prone to fail in this scenario. It is, however, the safe solution, because people might try to install XBMC from a different source or repository over their kodi package.
Last edited by Awebb (2015-01-11 11:47:54)
Offline
Don't force it. Did you update pacman and your database? Version 4.2 should not throw those errors. If so, just remove XBMC and then install kodi.
Offline
Thanks for the help everyone.
Even after removing XBMC, it gave the same error, so I backed up and removed /usr/share/xbmc and then kodi installed perfectly and migrated all my user settings.
Last edited by tiprya (2015-01-13 07:42:26)
Offline
Out of curiosity: Did you run the command that moves your package database to the pacman 4.2 format?
Offline
Thanks for the help everyone.
Even after removing XBMC, it gave the same error, so I backed up and removed /usr/share/xbmc and then kodi installed perfectly and migrated all my user settings.
Just a guess...
Maybe you added something in /usr/share/xbmc directory, xbmc uninstall did not remove /usr/share/xbmc because it was not empty (had your own files inside) and then kodi installation failed, finding that /usr/share/xbmc directory still exists...
Offline
Pages: 1