You are not logged in.
Pages: 1
I performed a system update, but it failed with the following message:
error: failed to commit transaction (conflicting files)
firewalld: /usr/lib/firewalld/services/kodi-eventserver.xml exists in filesystem (owned by kodi)So, I removed kodi-eventserver.xml, kodi-http.xml, and kodi-jsonrpc.xml (from April 2022), and firewalld was able to be updated. firewalld installed its own July 2022 version of kodi-eventserver.xml.
Then I reinstalled kodi, and kodi-eventserver.xml was overwritten again by the April 2022 version.
So, what should I do now? I could reinstall firewalld and force it to overwrite the kodi-eventserver.xml file, or leave things alone. . . If I leave them alone, firewalld won't be able to be updated normally.
Also, when kodi was reinstalled, it added kodi-http.xml and kodi-jsonrpc.xml (dated April 2022)
Last edited by luser (2022-08-11 23:41:35)
luser: an epithet applied by Windows users to linux users
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
OK, it's a bug and hopefully will be fixed.
What I've done so far is to remove /usr/lib/firewalld/services/kodi-eventserver.xml, then update firewalld, then reinstall kodi, which overwrites /usr/lib/firewalld/services/kodi-eventserver.xml with an older version.
What should I do now?
luser: an epithet applied by Windows users to linux users
Offline
if you look in the xml file you should be able to see what port was opened by kodi. for example http uses: 80/tcp
you could open these ports manually,
its not too dissimilar to enabling services!
Offline
I was thinking that as long as kodi-eventserver.xml was in the /usr/lib/firewalld/services folder, that it would open the port. Right?
My concern was more about dealing with updating firewalld. . . but I already know that I can simply delete kodi-eventserver.xml, then update firewalld. . . then perhaps reinstall kodi. I'm just trying to figure out what the best approach to resolving the issue actually is. I'm not entirely sure what the best approach is, because kodi installs two more files besides kodi-eventserver.xml which I don't believe are included when updating firewalld.
luser: an epithet applied by Windows users to linux users
Offline
I am also new to arch and thought about how to solve it the right way.
The merge request in the firewalld repository linked at the arch bug report removes the firewalld xml file, so removing it instead of the kodi one seems right.
I'll try moving the installed conflicting file aside by renaming it, install firewalld and afterwards replace the firewalld file with the previous one.
Uninstalling and reinstalling just for solving a file conflict seems too much for me I think.
Edit: Keeping both original files just in case something goes wrong might be a good idea. (I keep them on disk and delete them after creating a snapshot)
Last edited by topasiss (2022-08-08 15:26:33)
Offline
Pages: 1